Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.Continuous.Examples.LimPID.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.001284/0.001284, allocations: 96.2 kB / 19.7 MB, free: 2.129 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.001461/0.001461, allocations: 208.9 kB / 23 MB, free: 4.934 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.496/1.496, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.367/3.367, allocations: 0.49 GB / 0.7959 GB, free: 35.4 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|limPIDRev.y",fileNamePrefix="Buildings_12_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|limPIDRev.y",fileNamePrefix="Buildings_12_Buildings.Controls.Continuous.Examples.LimPID") [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.003037/0.003037, allocations: 63.19 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4124/0.4154, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.0053/0.4207, allocations: 3.365 MB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002948/0.4236, allocations: 1.34 MB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004297/0.4241, allocations: 31.75 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003881/0.4245, allocations: 130.6 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005592/0.425, allocations: 178.6 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.4263, allocations: 0.5731 MB / 1.333 GB, free: 11.37 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001137/0.4275, allocations: 0.9604 MB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000471/0.4279, allocations: 254.1 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004803/0.4284, allocations: 382.4 kB / 1.334 GB, free: 9.766 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004038/0.4288, allocations: 362.1 kB / 1.334 GB, free: 9.41 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001182/0.4289, allocations: 80 kB / 1.335 GB, free: 9.332 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.429, allocations: 80 kB / 1.335 GB, free: 9.254 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001684/0.4292, allocations: 179.3 kB / 1.335 GB, free: 9.078 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002762/0.4295, allocations: 302.2 kB / 1.335 GB, free: 8.781 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009899/0.4305, allocations: 0.91 MB / 1.336 GB, free: 7.867 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.4305, allocations: 0 / 1.336 GB, free: 7.867 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4305, allocations: 4 kB / 1.336 GB, free: 7.863 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.27e-05/0.4305, allocations: 0 / 1.336 GB, free: 7.863 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002248/0.4327, allocations: 1.131 MB / 1.337 GB, free: 6.691 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.4328, allocations: 8.031 kB / 1.337 GB, free: 6.684 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001826/0.433, allocations: 100.3 kB / 1.337 GB, free: 6.586 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.434, allocations: 0.5661 MB / 1.338 GB, free: 5.996 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001588/0.4342, allocations: 144.4 kB / 1.338 GB, free: 5.832 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.711e-05/0.4343, allocations: 52.38 kB / 1.338 GB, free: 5.781 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/0.4356, allocations: 0.7712 MB / 1.339 GB, free: 4.93 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.4356, allocations: 3.938 kB / 1.339 GB, free: 4.926 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.84e-05/0.4356, allocations: 20 kB / 1.339 GB, free: 4.906 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/0.4357, allocations: 12 kB / 1.339 GB, free: 4.895 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.4367, allocations: 431.6 kB / 1.339 GB, free: 4.473 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002851/0.4395, allocations: 1.819 MB / 1.341 GB, free: 2.59 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001258/0.4408, allocations: 472.9 kB / 1.341 GB, free: 2.117 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004884/0.4413, allocations: 213.3 kB / 1.342 GB, free: 1.906 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.359e-05/0.4413, allocations: 7.938 kB / 1.342 GB, free: 1.898 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007296/0.4421, allocations: 337.3 kB / 1.342 GB, free: 1.543 MB / 1.029 GB Notification: Performance of pre-optimization done (n=45): time 3.026e-06/0.4421, allocations: 0 / 1.342 GB, free: 1.543 MB / 1.029 GB Notification: Performance of matching and sorting (n=45): time 0.001578/0.4436, allocations: 0.6194 MB / 1.342 GB, free: 0.918 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.005e-05/0.4437, allocations: 114.5 kB / 1.343 GB, free: 0.7812 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007373/0.4445, allocations: 0.5786 MB / 1.343 GB, free: 196 kB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.353e-05/0.4445, allocations: 33.7 kB / 1.343 GB, free: 156 kB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003254/0.4448, allocations: 369.1 kB / 1.343 GB, free: 15.78 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001533/0.445, allocations: 166.5 kB / 1.344 GB, free: 15.62 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001755/0.4452, allocations: 94.33 kB / 1.344 GB, free: 15.52 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002016/0.4454, allocations: 374.8 kB / 1.344 GB, free: 15.15 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005002/0.4459, allocations: 217.1 kB / 1.344 GB, free: 14.93 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005897/0.4465, allocations: 371.1 kB / 1.345 GB, free: 14.5 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009578/0.4474, allocations: 481.9 kB / 1.345 GB, free: 13.99 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.4474, allocations: 0 / 1.345 GB, free: 13.99 MB / 1.045 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001295/0.4487, allocations: 0.6315 MB / 1.346 GB, free: 13.34 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.777e-05/0.4488, allocations: 39.25 kB / 1.346 GB, free: 13.3 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.4488, allocations: 4 kB / 1.346 GB, free: 13.29 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.4488, allocations: 4 kB / 1.346 GB, free: 13.29 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005176/0.4493, allocations: 107.8 kB / 1.346 GB, free: 13.18 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.4493, allocations: 4 kB / 1.346 GB, free: 13.18 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004358/0.4498, allocations: 71.89 kB / 1.346 GB, free: 13.11 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.377e-05/0.4498, allocations: 20 kB / 1.346 GB, free: 13.09 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006135/0.4504, allocations: 339.1 kB / 1.346 GB, free: 12.75 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005386/0.451, allocations: 351.2 kB / 1.347 GB, free: 12.35 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008792/0.4518, allocations: 457.9 kB / 1.347 GB, free: 11.86 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.284e-06/0.4518, allocations: 4 kB / 1.347 GB, free: 11.86 MB / 1.045 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001184/0.453, allocations: 0.6003 MB / 1.348 GB, free: 11.23 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.316e-05/0.4531, allocations: 41.94 kB / 1.348 GB, free: 11.19 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.4531, allocations: 8 kB / 1.348 GB, free: 11.18 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.4531, allocations: 7.938 kB / 1.348 GB, free: 11.17 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004695/0.4535, allocations: 99.89 kB / 1.348 GB, free: 11.07 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.4536, allocations: 15.86 kB / 1.348 GB, free: 11.06 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004054/0.454, allocations: 47.77 kB / 1.348 GB, free: 11.01 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.766e-05/0.454, allocations: 19.98 kB / 1.348 GB, free: 10.99 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * 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.0002114/0.4542, allocations: 208.2 kB / 1.348 GB, free: 10.78 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.4543, allocations: 79.47 kB / 1.348 GB, free: 10.7 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001623/0.4545, allocations: 74.77 kB / 1.348 GB, free: 10.63 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.4545, allocations: 7.984 kB / 1.348 GB, free: 10.62 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4545, allocations: 0 / 1.348 GB, free: 10.62 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002428/0.4547, allocations: 123.2 kB / 1.348 GB, free: 10.5 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.471e-05/0.4548, allocations: 15.98 kB / 1.348 GB, free: 10.48 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004567/0.4553, allocations: 31.97 kB / 1.348 GB, free: 10.45 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.628e-05/0.4554, allocations: 35.94 kB / 1.348 GB, free: 10.42 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001467/0.4568, allocations: 0.5588 MB / 1.349 GB, free: 9.852 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0017/0.4585, allocations: 0.8861 MB / 1.35 GB, free: 8.949 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004699/0.459, allocations: 208 kB / 1.35 GB, free: 8.746 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0005031/0.4595, allocations: 395.1 kB / 1.35 GB, free: 8.363 MB / 1.045 GB Notification: Performance of Backend: time 4.21e-07/0.4595, allocations: 0 / 1.35 GB, free: 8.363 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00172/0.4612, allocations: 0.7365 MB / 1.351 GB, free: 7.586 MB / 1.045 GB Notification: Performance of SimCode: time 0.002557/0.4638, allocations: 1.678 MB / 1.353 GB, free: 5.863 MB / 1.045 GB Notification: Performance of Templates: time 0.0217/0.4855, allocations: 12.44 MB / 1.365 GB, free: 9.629 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.Continuous.Examples.LimPID.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_12_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Examples.LimPID_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Examples_LimPID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.Continuous.Examples.LimPID.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: 9.948869428000762]