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.001519/0.001519, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001725/0.001725, allocations: 214.2 kB / 23.01 MB, free: 4.566 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.503/1.503, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.292/3.292, allocations: 0.49 GB / 0.7958 GB, free: 33.37 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.002031/0.002031, allocations: 72.92 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4081/0.4102, allocations: 176.1 MB / 1.327 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.005421/0.4156, allocations: 3.747 MB / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00274/0.4183, allocations: 1.379 MB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003763/0.4187, allocations: 31.75 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003652/0.4191, allocations: 130.6 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005131/0.4196, allocations: 181.7 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001214/0.4208, allocations: 0.5946 MB / 1.333 GB, free: 11.39 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001085/0.4219, allocations: 0.9565 MB / 1.334 GB, free: 10.43 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004514/0.4223, allocations: 250.1 kB / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004637/0.4228, allocations: 382.4 kB / 1.335 GB, free: 9.793 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004349/0.4232, allocations: 358.1 kB / 1.335 GB, free: 9.441 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001162/0.4234, allocations: 80 kB / 1.335 GB, free: 9.363 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.4235, allocations: 80 kB / 1.335 GB, free: 9.285 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001782/0.4236, allocations: 183.3 kB / 1.335 GB, free: 9.105 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003413/0.424, allocations: 381.7 kB / 1.336 GB, free: 8.73 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001006/0.425, allocations: 0.91 MB / 1.336 GB, free: 7.816 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.425, allocations: 4 kB / 1.336 GB, free: 7.812 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.663e-06/0.425, allocations: 0 / 1.336 GB, free: 7.812 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.189e-05/0.425, allocations: 0 / 1.336 GB, free: 7.812 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.002234/0.4272, allocations: 1.127 MB / 1.338 GB, free: 6.645 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.4273, allocations: 16.03 kB / 1.338 GB, free: 6.629 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001665/0.4274, allocations: 96.33 kB / 1.338 GB, free: 6.535 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.4286, allocations: 0.5584 MB / 1.338 GB, free: 5.953 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001538/0.4287, allocations: 148.4 kB / 1.338 GB, free: 5.785 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.19e-05/0.4288, allocations: 60.36 kB / 1.338 GB, free: 5.727 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/0.43, allocations: 0.6089 MB / 1.339 GB, free: 5.074 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.43, allocations: 4 kB / 1.339 GB, free: 5.07 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.878e-05/0.43, allocations: 24 kB / 1.339 GB, free: 5.047 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/0.4301, allocations: 12 kB / 1.339 GB, free: 5.035 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/0.4311, allocations: 427.6 kB / 1.339 GB, free: 4.617 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00295/0.434, allocations: 2.056 MB / 1.341 GB, free: 2.484 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/0.4353, allocations: 495.9 kB / 1.342 GB, free: 1.988 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004577/0.4357, allocations: 204.8 kB / 1.342 GB, free: 1.785 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.275e-05/0.4358, allocations: 4 kB / 1.342 GB, free: 1.781 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006453/0.4364, allocations: 285.9 kB / 1.342 GB, free: 1.488 MB / 1.029 GB Notification: Performance of pre-optimization done (n=45): time 1.913e-06/0.4364, allocations: 3.938 kB / 1.342 GB, free: 1.484 MB / 1.029 GB Notification: Performance of matching and sorting (n=45): time 0.001477/0.4379, allocations: 0.6117 MB / 1.343 GB, free: 0.8672 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.668e-05/0.438, allocations: 114.6 kB / 1.343 GB, free: 0.7305 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007763/0.4387, allocations: 0.6227 MB / 1.344 GB, free: 100 kB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.289e-05/0.4388, allocations: 37.7 kB / 1.344 GB, free: 56 kB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003238/0.4391, allocations: 365.3 kB / 1.344 GB, free: 15.69 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/0.4393, allocations: 158.6 kB / 1.344 GB, free: 15.54 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001586/0.4394, allocations: 102.3 kB / 1.344 GB, free: 15.43 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.4396, allocations: 322 kB / 1.345 GB, free: 15.11 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004589/0.44, allocations: 187.4 kB / 1.345 GB, free: 14.92 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005768/0.4406, allocations: 294 kB / 1.345 GB, free: 14.59 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009911/0.4416, allocations: 470 kB / 1.346 GB, free: 14.09 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.714e-06/0.4416, allocations: 3.938 kB / 1.346 GB, free: 14.09 MB / 1.045 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00138/0.443, allocations: 0.6105 MB / 1.346 GB, free: 13.46 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.448e-05/0.443, allocations: 37.73 kB / 1.346 GB, free: 13.42 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/0.4431, allocations: 4 kB / 1.346 GB, free: 13.42 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.571e-05/0.4431, allocations: 4 kB / 1.346 GB, free: 13.41 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005114/0.4436, allocations: 107.8 kB / 1.346 GB, free: 13.31 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.4436, allocations: 4 kB / 1.346 GB, free: 13.3 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004426/0.444, allocations: 63.64 kB / 1.346 GB, free: 13.24 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-05/0.4441, allocations: 27.97 kB / 1.346 GB, free: 13.21 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006428/0.4447, allocations: 318 kB / 1.347 GB, free: 12.9 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004809/0.4452, allocations: 274.1 kB / 1.347 GB, free: 12.59 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008395/0.4461, allocations: 457.9 kB / 1.347 GB, free: 12.11 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.824e-06/0.4461, allocations: 0 / 1.347 GB, free: 12.11 MB / 1.045 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001144/0.4472, allocations: 0.5829 MB / 1.348 GB, free: 11.51 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.761e-05/0.4472, allocations: 39.58 kB / 1.348 GB, free: 11.46 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.4472, allocations: 4 kB / 1.348 GB, free: 11.46 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.706e-06/0.4473, allocations: 8.312 kB / 1.348 GB, free: 11.45 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004446/0.4477, allocations: 99.88 kB / 1.348 GB, free: 11.36 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/0.4477, allocations: 15.94 kB / 1.348 GB, free: 11.34 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003945/0.4481, allocations: 59.64 kB / 1.348 GB, free: 11.28 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.388e-05/0.4481, allocations: 16 kB / 1.348 GB, free: 11.27 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.0002212/0.4484, allocations: 217.6 kB / 1.348 GB, free: 11.05 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.4485, allocations: 75.53 kB / 1.349 GB, free: 10.97 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001819/0.4486, allocations: 79.2 kB / 1.349 GB, free: 10.89 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/0.4487, allocations: 7.938 kB / 1.349 GB, free: 10.89 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.425e-06/0.4487, allocations: 0 / 1.349 GB, free: 10.89 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.4487, allocations: 0 / 1.349 GB, free: 10.89 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007497/0.4494, allocations: 0.6053 MB / 1.349 GB, free: 10.24 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.4494, allocations: 0 / 1.349 GB, free: 10.24 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004598/0.4499, allocations: 83.88 kB / 1.349 GB, free: 10.16 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.4499, allocations: 7.984 kB / 1.349 GB, free: 10.15 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.448e-05/0.4499, allocations: 16 kB / 1.349 GB, free: 10.13 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.4499, allocations: 0 / 1.349 GB, free: 10.13 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4499, allocations: 0 / 1.349 GB, free: 10.13 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001566/0.4515, allocations: 0.7436 MB / 1.35 GB, free: 9.371 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002456/0.4517, allocations: 119.4 kB / 1.35 GB, free: 9.254 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.92e-05/0.4518, allocations: 15.98 kB / 1.35 GB, free: 9.238 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004058/0.4522, allocations: 31.91 kB / 1.35 GB, free: 9.207 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.873e-05/0.4523, allocations: 35.88 kB / 1.35 GB, free: 9.172 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.926e-05/0.4524, allocations: 23.98 kB / 1.35 GB, free: 9.148 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000547/0.4529, allocations: 435 kB / 1.351 GB, free: 8.727 MB / 1.045 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4529, allocations: 0 / 1.351 GB, free: 8.727 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0006189/0.4535, allocations: 215.5 kB / 1.351 GB, free: 8.516 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001631/0.4537, allocations: 119.1 kB / 1.351 GB, free: 8.391 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001608/0.4553, allocations: 0.7542 MB / 1.352 GB, free: 7.613 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4553, allocations: 0 / 1.352 GB, free: 7.613 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0004637/0.4558, allocations: 208.3 kB / 1.352 GB, free: 7.41 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008627/0.4566, allocations: 201.8 kB / 1.352 GB, free: 7.219 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002347/0.459, allocations: 1.22 MB / 1.353 GB, free: 5.961 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005589/0.4595, allocations: 0.9181 MB / 1.354 GB, free: 5.016 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001972/0.4597, allocations: 51.42 kB / 1.354 GB, free: 4.965 MB / 1.045 GB Notification: Performance of SimCode: time 9.52e-07/0.4597, allocations: 0 / 1.354 GB, free: 4.965 MB / 1.045 GB Notification: Performance of Templates: time 0.01353/0.4733, allocations: 8.825 MB / 1.363 GB, free: 12.19 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: 12.616962376021547]