Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001753/0.001753, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002327/0.002327, allocations: 212 kB / 22.24 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.462/1.462, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.349/3.349, allocations: 0.5107 GB / 0.8158 GB, free: 17.88 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 64.97 kB / 1.186 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3546, allocations: 181.9 MB / 1.364 GB, free: 13.63 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001721/0.3563, allocations: 0.633 MB / 1.364 GB, free: 13 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002065/0.3584, allocations: 1.439 MB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.167e-05/0.3584, allocations: 0 / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.058e-05/0.3584, allocations: 3.938 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.259e-05/0.3585, allocations: 7.938 kB / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004116/0.3589, allocations: 123.5 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.333e-05/0.359, allocations: 27.91 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.974e-05/0.359, allocations: 4 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.316e-05/0.359, allocations: 15.88 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.477e-05/0.3591, allocations: 27.89 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.3591, allocations: 0 / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004259/0.3596, allocations: 247.5 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.633e-05/0.3596, allocations: 4 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.668e-05/0.3596, allocations: 15.91 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003022/0.3599, allocations: 175.4 kB / 1.367 GB, free: 10.9 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.3599, allocations: 0 / 1.367 GB, free: 10.9 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3599, allocations: 0 / 1.367 GB, free: 10.9 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.3599, allocations: 4 kB / 1.367 GB, free: 10.9 MB / 1.061 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.0005178/0.3604, allocations: 308.1 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.3605, allocations: 12.02 kB / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003636/0.3608, allocations: 60.83 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.361, allocations: 118.4 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.361, allocations: 384 / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.703e-05/0.361, allocations: 8.375 kB / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002721/0.3613, allocations: 73.95 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.3613, allocations: 3.953 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.198e-06/0.3613, allocations: 0 / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.3613, allocations: 4 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000391/0.3617, allocations: 75.89 kB / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001775/0.3619, allocations: 113.4 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006114/0.3625, allocations: 126.4 kB / 1.367 GB, free: 9.918 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001923/0.3627, allocations: 36.95 kB / 1.367 GB, free: 9.879 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.81e-05/0.3627, allocations: 7.938 kB / 1.367 GB, free: 9.871 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.363e-05/0.3628, allocations: 38.56 kB / 1.367 GB, free: 9.824 MB / 1.061 GB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.3628, allocations: 0 / 1.367 GB, free: 9.824 MB / 1.061 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.004197/0.367, allocations: 0.7822 MB / 1.368 GB, free: 9.035 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.367, allocations: 55.41 kB / 1.368 GB, free: 8.969 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.3671, allocations: 109.8 kB / 1.368 GB, free: 8.852 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.3671, allocations: 25.7 kB / 1.368 GB, free: 8.82 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.559e-05/0.3672, allocations: 84.14 kB / 1.369 GB, free: 8.734 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.765e-05/0.3672, allocations: 39.66 kB / 1.369 GB, free: 8.695 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.025e-05/0.3673, allocations: 29.7 kB / 1.369 GB, free: 8.66 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.3675, allocations: 318.8 kB / 1.369 GB, free: 8.34 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004368/0.3679, allocations: 95.89 kB / 1.369 GB, free: 8.246 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004224/0.3683, allocations: 96.2 kB / 1.369 GB, free: 8.152 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008339/0.3691, allocations: 196.6 kB / 1.369 GB, free: 7.957 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.3692, allocations: 4 kB / 1.369 GB, free: 7.953 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009576/0.3701, allocations: 245.6 kB / 1.369 GB, free: 7.707 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.3701, allocations: 4 kB / 1.369 GB, free: 7.703 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.3701, allocations: 4.094 kB / 1.369 GB, free: 7.699 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.3701, allocations: 3.938 kB / 1.369 GB, free: 7.695 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003279/0.3705, allocations: 55.94 kB / 1.37 GB, free: 7.641 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.3705, allocations: 4.312 kB / 1.37 GB, free: 7.637 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002281/0.3707, allocations: 35.95 kB / 1.37 GB, free: 7.602 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.3707, allocations: 4 kB / 1.37 GB, free: 7.598 MB / 1.061 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.982e-05/0.3708, allocations: 113.8 kB / 1.37 GB, free: 7.477 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.3708, allocations: 11.89 kB / 1.37 GB, free: 7.465 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.564e-05/0.3709, allocations: 12.38 kB / 1.37 GB, free: 7.445 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.3709, allocations: 0 / 1.37 GB, free: 7.445 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3709, allocations: 0 / 1.37 GB, free: 7.445 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.3709, allocations: 4 kB / 1.37 GB, free: 7.441 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001687/0.3726, allocations: 0.5423 MB / 1.37 GB, free: 6.855 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.3726, allocations: 0 / 1.37 GB, free: 6.855 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002663/0.3729, allocations: 56 kB / 1.37 GB, free: 6.801 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.3729, allocations: 0 / 1.37 GB, free: 6.801 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.3729, allocations: 7.984 kB / 1.37 GB, free: 6.793 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.3729, allocations: 0 / 1.37 GB, free: 6.793 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.473e-06/0.3729, allocations: 7.938 kB / 1.37 GB, free: 6.785 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009933/0.3739, allocations: 344.9 kB / 1.371 GB, free: 6.426 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.78e-05/0.3739, allocations: 3.953 kB / 1.371 GB, free: 6.422 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.3739, allocations: 4 kB / 1.371 GB, free: 6.418 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002506/0.3742, allocations: 39.95 kB / 1.371 GB, free: 6.379 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.708e-05/0.3742, allocations: 7.984 kB / 1.371 GB, free: 6.371 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.3742, allocations: 11.92 kB / 1.371 GB, free: 6.359 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.668e-05/0.3743, allocations: 91.22 kB / 1.371 GB, free: 6.27 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3743, allocations: 0 / 1.371 GB, free: 6.27 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003015/0.3746, allocations: 43.86 kB / 1.371 GB, free: 6.227 MB / 1.061 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.0002167/0.3748, allocations: 123.1 kB / 1.371 GB, free: 6.098 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0009544/0.3758, allocations: 211.7 kB / 1.371 GB, free: 5.891 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3758, allocations: 0 / 1.371 GB, free: 5.891 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0004533/0.3762, allocations: 108 kB / 1.371 GB, free: 5.785 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/0.3765, allocations: 8.281 kB / 1.371 GB, free: 5.777 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001618/0.3781, allocations: 403.2 kB / 1.372 GB, free: 5.352 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.153e-05/0.3782, allocations: 72.44 kB / 1.372 GB, free: 5.262 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001036/0.3783, allocations: 20.66 kB / 1.372 GB, free: 5.242 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.241e-05/0.3783, allocations: 19.42 kB / 1.372 GB, free: 5.223 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.3783, allocations: 0 / 1.372 GB, free: 5.223 MB / 1.061 GB Notification: Performance of Templates: time 0.004872/0.3832, allocations: 1.791 MB / 1.374 GB, free: 3.449 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.886700784787536]