Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001618/0.001618, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001786/0.001786, allocations: 213.8 kB / 22.99 MB, free: 4.945 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.437/1.437, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.755/2.755, allocations: 476 MB / 0.7707 GB, free: 4.746 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002118/0.002118, allocations: 72.59 kB / 1.118 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3195, allocations: 170 MB / 1.284 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.005399/0.3249, allocations: 3.367 MB / 1.287 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003021/0.3279, allocations: 1.332 MB / 1.288 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000482/0.3284, allocations: 31.75 kB / 1.288 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003797/0.3288, allocations: 130.6 kB / 1.288 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005668/0.3293, allocations: 178.6 kB / 1.289 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.3306, allocations: 0.5802 MB / 1.289 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001144/0.3318, allocations: 0.9565 MB / 1.29 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004734/0.3322, allocations: 242.1 kB / 1.29 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005276/0.3328, allocations: 378.4 kB / 1.291 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004228/0.3332, allocations: 322.1 kB / 1.291 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001442/0.3333, allocations: 80 kB / 1.291 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.3335, allocations: 80 kB / 1.291 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001894/0.3336, allocations: 191.2 kB / 1.291 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002932/0.3339, allocations: 298.2 kB / 1.292 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001073/0.335, allocations: 0.9062 MB / 1.293 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.335, allocations: 4 kB / 1.293 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.843e-06/0.335, allocations: 3.938 kB / 1.293 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.335, allocations: 0 / 1.293 GB, free: 2.953 MB / 0.9825 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.002185/0.3372, allocations: 1.127 MB / 1.294 GB, free: 1.785 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.3372, allocations: 8.031 kB / 1.294 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001777/0.3374, allocations: 100.3 kB / 1.294 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001159/0.3386, allocations: 0.5584 MB / 1.294 GB, free: 1.094 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001723/0.3388, allocations: 156.3 kB / 1.294 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.622e-05/0.3388, allocations: 56.31 kB / 1.295 GB, free: 0.8633 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001251/0.3401, allocations: 0.7595 MB / 1.295 GB, free: 20 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.3401, allocations: 0 / 1.295 GB, free: 20 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.141e-05/0.3402, allocations: 20 kB / 1.295 GB, free: 0 / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/0.3402, allocations: 16.05 kB / 1.295 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/0.3412, allocations: 431.6 kB / 1.296 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002934/0.3441, allocations: 1.811 MB / 1.297 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001267/0.3454, allocations: 488.1 kB / 1.298 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004815/0.3459, allocations: 208.8 kB / 1.298 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.917e-05/0.3459, allocations: 7.938 kB / 1.298 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007323/0.3467, allocations: 337.3 kB / 1.298 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=45): time 3.366e-06/0.3467, allocations: 0 / 1.298 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of matching and sorting (n=45): time 0.00158/0.3482, allocations: 0.6156 MB / 1.299 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.697e-05/0.3483, allocations: 110.6 kB / 1.299 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007546/0.3491, allocations: 0.5786 MB / 1.3 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.491e-05/0.3492, allocations: 37.7 kB / 1.3 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003295/0.3495, allocations: 368.9 kB / 1.3 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/0.3496, allocations: 171.7 kB / 1.3 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001593/0.3498, allocations: 94.3 kB / 1.3 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002173/0.35, allocations: 378.8 kB / 1.301 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004965/0.3505, allocations: 213.1 kB / 1.301 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006146/0.3511, allocations: 367.7 kB / 1.301 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009936/0.3521, allocations: 481.9 kB / 1.302 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.3521, allocations: 3.938 kB / 1.302 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001372/0.3535, allocations: 0.6354 MB / 1.302 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.561e-05/0.3535, allocations: 29.7 kB / 1.302 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.3536, allocations: 4 kB / 1.302 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/0.3536, allocations: 7.938 kB / 1.302 GB, free: 8.391 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004996/0.3541, allocations: 107.8 kB / 1.303 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/0.3541, allocations: 8 kB / 1.303 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004467/0.3545, allocations: 63.89 kB / 1.303 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.462e-05/0.3546, allocations: 23.98 kB / 1.303 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006391/0.3552, allocations: 339.1 kB / 1.303 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005643/0.3558, allocations: 363.1 kB / 1.303 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009199/0.3567, allocations: 454 kB / 1.304 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.174e-06/0.3567, allocations: 4 kB / 1.304 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.00126/0.358, allocations: 0.612 MB / 1.304 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.042e-05/0.358, allocations: 40.67 kB / 1.304 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.358, allocations: 0 / 1.304 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.065e-06/0.358, allocations: 4 kB / 1.304 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004677/0.3585, allocations: 107.8 kB / 1.304 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.3585, allocations: 4 kB / 1.304 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004093/0.3589, allocations: 55.7 kB / 1.305 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.603e-05/0.3589, allocations: 20 kB / 1.305 GB, free: 6.086 MB / 0.9981 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.0002334/0.3592, allocations: 213.7 kB / 1.305 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.3593, allocations: 75.47 kB / 1.305 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001897/0.3595, allocations: 78.75 kB / 1.305 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.3595, allocations: 4 kB / 1.305 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.3595, allocations: 0 / 1.305 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.3595, allocations: 0 / 1.305 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006351/0.3601, allocations: 464.8 kB / 1.305 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3601, allocations: 0 / 1.305 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004728/0.3606, allocations: 87.81 kB / 1.305 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.3606, allocations: 8 kB / 1.305 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.062e-05/0.3606, allocations: 4 kB / 1.305 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.3606, allocations: 4 kB / 1.305 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3606, allocations: 0 / 1.305 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001629/0.3623, allocations: 0.7397 MB / 1.306 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002536/0.3625, allocations: 115.3 kB / 1.306 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.509e-05/0.3626, allocations: 12.12 kB / 1.306 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004133/0.363, allocations: 43.95 kB / 1.306 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.51e-05/0.3631, allocations: 31.94 kB / 1.306 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.664e-05/0.3631, allocations: 11.98 kB / 1.306 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00053/0.3637, allocations: 411 kB / 1.307 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3637, allocations: 4 kB / 1.307 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006704/0.3643, allocations: 231.3 kB / 1.307 GB, free: 3.531 MB / 0.9981 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.0001628/0.3645, allocations: 111.2 kB / 1.307 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001719/0.3662, allocations: 0.8076 MB / 1.308 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3662, allocations: 0 / 1.308 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004878/0.3667, allocations: 204.9 kB / 1.308 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008926/0.3676, allocations: 196.2 kB / 1.308 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002362/0.37, allocations: 1.22 MB / 1.309 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.3703, allocations: 322.8 kB / 1.31 GB, free: 0.582 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001893/0.3705, allocations: 51.44 kB / 1.31 GB, free: 0.5312 MB / 0.9981 GB Notification: Performance of SimCode: time 5.01e-07/0.3705, allocations: 0 / 1.31 GB, free: 0.5312 MB / 0.9981 GB Notification: Performance of Templates: time 0.01562/0.3861, allocations: 8.928 MB / 1.319 GB, free: 7.664 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.Continuous.Examples.LimPID.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_11_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Examples.LimPID_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Examples_LimPID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.907015872187912]