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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007938/0.007938, allocations: 103.7 kB / 15.74 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001838/0.001838, allocations: 201.7 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.613/2.613, allocations: 437 MB / 0.7105 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 59.91 kB / 1.019 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.349, allocations: 151.6 MB / 1.167 GB, free: 6.746 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001657/0.3507, allocations: 0.6365 MB / 1.167 GB, free: 6.109 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001689/0.3524, allocations: 1.454 MB / 1.169 GB, free: 4.637 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.545e-05/0.3524, allocations: 0 / 1.169 GB, free: 4.637 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.457e-05/0.3524, allocations: 4 kB / 1.169 GB, free: 4.633 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.246e-05/0.3525, allocations: 3.938 kB / 1.169 GB, free: 4.629 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004173/0.3529, allocations: 119.5 kB / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.569e-05/0.353, allocations: 31.84 kB / 1.169 GB, free: 4.48 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.158e-05/0.3531, allocations: 4 kB / 1.169 GB, free: 4.477 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.568e-05/0.3531, allocations: 15.94 kB / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.807e-05/0.3532, allocations: 27.83 kB / 1.169 GB, free: 4.434 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.3532, allocations: 4 kB / 1.169 GB, free: 4.43 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004569/0.3537, allocations: 315.4 kB / 1.169 GB, free: 4.121 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.129e-05/0.3537, allocations: 0 / 1.169 GB, free: 4.121 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.739e-05/0.3537, allocations: 27.78 kB / 1.169 GB, free: 4.094 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002843/0.354, allocations: 187.5 kB / 1.169 GB, free: 3.91 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.354, allocations: 0 / 1.169 GB, free: 3.91 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.112e-06/0.354, allocations: 0 / 1.169 GB, free: 3.91 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.354, allocations: 0 / 1.169 GB, free: 3.91 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.0004829/0.3545, allocations: 382.9 kB / 1.17 GB, free: 3.488 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.3546, allocations: 12.03 kB / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003518/0.3549, allocations: 60.81 kB / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.3551, allocations: 168.4 kB / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.3551, allocations: 4.375 kB / 1.17 GB, free: 3.211 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.3551, allocations: 4.375 kB / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002556/0.3554, allocations: 81.95 kB / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.3554, allocations: 0 / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.3554, allocations: 0 / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3554, allocations: 0 / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003576/0.3558, allocations: 75.86 kB / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001763/0.356, allocations: 173.5 kB / 1.17 GB, free: 2.828 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005237/0.3565, allocations: 134.4 kB / 1.17 GB, free: 2.688 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001868/0.3567, allocations: 44.95 kB / 1.17 GB, free: 2.641 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.3567, allocations: 0 / 1.17 GB, free: 2.641 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.3568, allocations: 34.5 kB / 1.171 GB, free: 2.598 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 8.42e-07/0.3568, allocations: 0 / 1.171 GB, free: 2.598 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.003884/0.3607, allocations: 0.7858 MB / 1.171 GB, free: 1.805 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.3607, allocations: 51.41 kB / 1.171 GB, free: 1.742 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.703e-05/0.3608, allocations: 113.8 kB / 1.171 GB, free: 1.621 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.3608, allocations: 25.7 kB / 1.171 GB, free: 1.59 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.777e-05/0.3609, allocations: 88.14 kB / 1.172 GB, free: 1.5 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.491e-05/0.3609, allocations: 35.72 kB / 1.172 GB, free: 1.465 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.782e-05/0.361, allocations: 25.7 kB / 1.172 GB, free: 1.434 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.3611, allocations: 318.8 kB / 1.172 GB, free: 1.113 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004272/0.3615, allocations: 95.89 kB / 1.172 GB, free: 1.02 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004277/0.362, allocations: 103.9 kB / 1.172 GB, free: 0.918 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008096/0.3628, allocations: 192.7 kB / 1.172 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.3628, allocations: 0 / 1.172 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009068/0.3637, allocations: 245.3 kB / 1.173 GB, free: 492 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.3638, allocations: 8 kB / 1.173 GB, free: 484 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3638, allocations: 0 / 1.173 GB, free: 484 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.3638, allocations: 0 / 1.173 GB, free: 484 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003038/0.3641, allocations: 55.94 kB / 1.173 GB, free: 428 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3641, allocations: 0 / 1.173 GB, free: 428 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002061/0.3643, allocations: 36.7 kB / 1.173 GB, free: 392 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.3643, allocations: 4 kB / 1.173 GB, free: 388 kB / 0.92 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 9.988e-05/0.3644, allocations: 125.7 kB / 1.173 GB, free: 252 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.045e-05/0.3645, allocations: 3.953 kB / 1.173 GB, free: 248 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.437e-05/0.3645, allocations: 16.38 kB / 1.173 GB, free: 228 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3645, allocations: 0 / 1.173 GB, free: 228 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3645, allocations: 4 kB / 1.173 GB, free: 224 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.3645, allocations: 0 / 1.173 GB, free: 224 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001666/0.3662, allocations: 0.5936 MB / 1.173 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.3662, allocations: 4.062 kB / 1.173 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002546/0.3665, allocations: 55.81 kB / 1.173 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.249e-06/0.3665, allocations: 4 kB / 1.173 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.3665, allocations: 3.984 kB / 1.173 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.3665, allocations: 8.281 kB / 1.173 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3665, allocations: 0 / 1.173 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009385/0.3675, allocations: 348.8 kB / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.053e-05/0.3675, allocations: 85.06 kB / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/0.3676, allocations: 8 kB / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002435/0.3678, allocations: 31.95 kB / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.183e-05/0.3679, allocations: 15.92 kB / 1.174 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.3679, allocations: 4 kB / 1.174 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.363e-05/0.368, allocations: 91.27 kB / 1.174 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.368, allocations: 0 / 1.174 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002868/0.3683, allocations: 43.86 kB / 1.174 GB, free: 14.83 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.0002345/0.3685, allocations: 127.1 kB / 1.174 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0009324/0.3694, allocations: 211.7 kB / 1.174 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3695, allocations: 0 / 1.174 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000488/0.3699, allocations: 108.6 kB / 1.174 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.3702, allocations: 11.98 kB / 1.174 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001496/0.3717, allocations: 402.2 kB / 1.175 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.372, allocations: 0.6884 MB / 1.176 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001054/0.3721, allocations: 20.81 kB / 1.176 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.874e-05/0.3722, allocations: 19.42 kB / 1.176 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of SimCode: time 3.61e-07/0.3722, allocations: 4.281 kB / 1.176 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of Templates: time 0.004551/0.3767, allocations: 1.654 MB / 1.177 GB, free: 11.54 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (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 & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches