Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002207/0.002207, allocations: 108.2 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002571/0.002571, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.606/2.606, allocations: 443.5 MB / 0.7287 GB, free: 13.22 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002072/0.002072, allocations: 67.91 kB / 1.056 GB, free: 5.805 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8556/0.8577, allocations: 160.7 MB / 1.213 GB, free: 3.855 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.00212/0.8598, allocations: 0.6329 MB / 1.214 GB, free: 3.387 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002466/0.8623, allocations: 1.46 MB / 1.215 GB, free: 2.207 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.616e-05/0.8623, allocations: 0 / 1.215 GB, free: 2.207 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.025e-05/0.8624, allocations: 5.031 kB / 1.215 GB, free: 2.203 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.154e-05/0.8625, allocations: 11.86 kB / 1.215 GB, free: 2.191 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000625/0.8631, allocations: 133.1 kB / 1.215 GB, free: 2.102 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.886e-05/0.8632, allocations: 19.48 kB / 1.215 GB, free: 2.094 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.541e-05/0.8632, allocations: 6.172 kB / 1.215 GB, free: 2.09 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.555e-05/0.8633, allocations: 10.47 kB / 1.215 GB, free: 2.086 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.139e-05/0.8633, allocations: 25.31 kB / 1.215 GB, free: 2.066 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.8634, allocations: 2.188 kB / 1.215 GB, free: 2.066 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006555/0.864, allocations: 312.4 kB / 1.216 GB, free: 1.887 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.868e-05/0.864, allocations: 8.734 kB / 1.216 GB, free: 1.879 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.232e-05/0.8641, allocations: 14.81 kB / 1.216 GB, free: 1.867 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004122/0.8645, allocations: 189 kB / 1.216 GB, free: 1.77 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.8645, allocations: 4 kB / 1.216 GB, free: 1.766 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.186e-06/0.8645, allocations: 1.031 kB / 1.216 GB, free: 1.766 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.8645, allocations: 0 / 1.216 GB, free: 1.766 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006659/0.8652, allocations: 383.1 kB / 1.216 GB, free: 1.363 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.8652, allocations: 9.5 kB / 1.216 GB, free: 1.363 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.928e-05/0.8653, allocations: 35.88 kB / 1.216 GB, free: 1.32 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004063/0.8657, allocations: 66.94 kB / 1.216 GB, free: 1.289 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.8659, allocations: 176.9 kB / 1.216 GB, free: 1.082 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.8659, allocations: 2.125 kB / 1.216 GB, free: 1.082 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.8659, allocations: 6.531 kB / 1.216 GB, free: 1.078 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002821/0.8662, allocations: 80.58 kB / 1.216 GB, free: 1.016 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.8662, allocations: 0 / 1.216 GB, free: 1.016 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.8662, allocations: 1.344 kB / 1.216 GB, free: 1.016 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.8662, allocations: 0 / 1.216 GB, free: 1.016 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003696/0.8666, allocations: 69.36 kB / 1.217 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002221/0.8668, allocations: 171 kB / 1.217 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005504/0.8674, allocations: 129.5 kB / 1.217 GB, free: 0.707 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002423/0.8676, allocations: 38.77 kB / 1.217 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.8676, allocations: 1.125 kB / 1.217 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.8677, allocations: 42.5 kB / 1.217 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 1.413e-06/0.8677, allocations: 1.062 kB / 1.217 GB, free: 0.6367 MB / 0.92 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=9): time 0.00422/0.8719, allocations: 0.7878 MB / 1.218 GB, free: 288 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.8719, allocations: 52.66 kB / 1.218 GB, free: 224 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.872, allocations: 109.9 kB / 1.218 GB, free: 116 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.8721, allocations: 34.83 kB / 1.218 GB, free: 76 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.643e-05/0.8721, allocations: 81.48 kB / 1.218 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.235e-05/0.8722, allocations: 30.86 kB / 1.218 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.409e-05/0.8723, allocations: 30.33 kB / 1.218 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.8724, allocations: 311.8 kB / 1.218 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004332/0.8728, allocations: 96.39 kB / 1.218 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004181/0.8733, allocations: 101.7 kB / 1.218 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008255/0.8741, allocations: 190.5 kB / 1.219 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.8741, allocations: 5.375 kB / 1.219 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009419/0.875, allocations: 245.4 kB / 1.219 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.8751, allocations: 5.188 kB / 1.219 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.8751, allocations: 1.031 kB / 1.219 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.8751, allocations: 0 / 1.219 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003312/0.8754, allocations: 55.5 kB / 1.219 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.8754, allocations: 4 kB / 1.219 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002297/0.8757, allocations: 33.52 kB / 1.219 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.8757, allocations: 3.156 kB / 1.219 GB, free: 15.3 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001126/0.8758, allocations: 124.8 kB / 1.219 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/0.8758, allocations: 11.06 kB / 1.219 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.947e-05/0.8759, allocations: 14.16 kB / 1.219 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.8759, allocations: 1.125 kB / 1.219 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.8759, allocations: 0 / 1.219 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.8759, allocations: 4.984 kB / 1.219 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/0.8776, allocations: 0.5981 MB / 1.22 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.8776, allocations: 1.062 kB / 1.22 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002737/0.8779, allocations: 59.97 kB / 1.22 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.8779, allocations: 1.312 kB / 1.22 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.8779, allocations: 6.109 kB / 1.22 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.8779, allocations: 1.219 kB / 1.22 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.8779, allocations: 4.969 kB / 1.22 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.879, allocations: 347.2 kB / 1.22 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.825e-05/0.879, allocations: 83 kB / 1.22 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.8791, allocations: 2.281 kB / 1.22 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002593/0.8793, allocations: 37.05 kB / 1.22 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.497e-05/0.8794, allocations: 16.2 kB / 1.22 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.8794, allocations: 4.062 kB / 1.22 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.709e-05/0.8795, allocations: 92.09 kB / 1.22 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.8795, allocations: 0 / 1.22 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003294/0.8798, allocations: 39.34 kB / 1.22 GB, free: 14.17 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00143/0.8812, allocations: 0.8973 MB / 1.221 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0009292/0.8821, allocations: 211.2 kB / 1.221 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.8821, allocations: 0 / 1.221 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0004367/0.8826, allocations: 111.2 kB / 1.222 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.8828, allocations: 14.03 kB / 1.222 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004849/0.8877, allocations: 2.145 MB / 1.224 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.888, allocations: 0.684 MB / 1.224 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001145/0.8881, allocations: 20.62 kB / 1.224 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.23e-05/0.8882, allocations: 30.39 kB / 1.224 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of SimCode: time 8.21e-07/0.8882, allocations: 1.281 kB / 1.224 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02923/0.9175, allocations: 2.746 MB / 1.227 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.972/8.889, allocations: 4.641 kB / 1.227 GB, free: 9.414 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.854439211077988]