Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.573/1.573, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.013/3.013, allocations: 496.2 MB / 0.7819 GB, free: 12.26 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.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_latest_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_latest_Buildings.Controls.Continuous.Examples.LimPID") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 63.89 kB / 1.136 GB, free: 12.5 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.261/1.263, allocations: 173.6 MB / 1.305 GB, free: 33.48 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.004383/1.267, allocations: 3.758 MB / 1.309 GB, free: 30.8 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002713/1.27, allocations: 1.337 MB / 1.31 GB, free: 29.84 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007189/1.27, allocations: 25.34 kB / 1.31 GB, free: 29.83 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0003971/1.271, allocations: 128.9 kB / 1.311 GB, free: 29.73 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000637/1.272, allocations: 181 kB / 1.311 GB, free: 29.61 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001247/1.273, allocations: 0.5832 MB / 1.311 GB, free: 29.27 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0009537/1.274, allocations: 0.9728 MB / 1.312 GB, free: 28.79 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004148/1.274, allocations: 251.5 kB / 1.312 GB, free: 28.62 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004257/1.275, allocations: 370 kB / 1.313 GB, free: 28.44 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003139/1.275, allocations: 358.1 kB / 1.313 GB, free: 28.23 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.853e-05/1.275, allocations: 75.81 kB / 1.313 GB, free: 28.23 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.435e-05/1.275, allocations: 79.44 kB / 1.313 GB, free: 28.23 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001214/1.275, allocations: 184.5 kB / 1.313 GB, free: 28.11 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002219/1.275, allocations: 375.9 kB / 1.314 GB, free: 27.84 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007942/1.276, allocations: 0.8903 MB / 1.315 GB, free: 27.41 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/1.276, allocations: 4 kB / 1.315 GB, free: 27.41 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.214e-06/1.276, allocations: 0 / 1.315 GB, free: 27.41 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.105e-05/1.276, allocations: 3.438 kB / 1.315 GB, free: 27.41 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001847/1.278, allocations: 1.207 MB / 1.316 GB, free: 26.56 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/1.278, allocations: 11.5 kB / 1.316 GB, free: 26.56 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001684/1.278, allocations: 105.6 kB / 1.316 GB, free: 26.5 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009649/1.279, allocations: 0.6239 MB / 1.317 GB, free: 26.07 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/1.279, allocations: 95.12 kB / 1.317 GB, free: 26 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.912e-05/1.279, allocations: 60.17 kB / 1.317 GB, free: 25.97 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/1.28, allocations: 0.6006 MB / 1.317 GB, free: 25.66 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/1.28, allocations: 0 / 1.317 GB, free: 25.66 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.235e-05/1.281, allocations: 25.78 kB / 1.317 GB, free: 25.64 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/1.281, allocations: 14.72 kB / 1.317 GB, free: 25.64 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008372/1.281, allocations: 425.1 kB / 1.318 GB, free: 25.5 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00235/1.284, allocations: 2.098 MB / 1.32 GB, free: 24.07 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/1.285, allocations: 492.1 kB / 1.32 GB, free: 23.87 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004052/1.285, allocations: 204.6 kB / 1.32 GB, free: 23.79 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.756e-05/1.285, allocations: 13.78 kB / 1.321 GB, free: 23.79 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005834/1.286, allocations: 284 kB / 1.321 GB, free: 23.66 MB / 1.061 GB Notification: Performance of pre-optimization done (n=45): time 2.214e-06/1.286, allocations: 3.938 kB / 1.321 GB, free: 23.65 MB / 1.061 GB Notification: Performance of matching and sorting (n=45): time 0.001344/1.287, allocations: 0.6109 MB / 1.321 GB, free: 23.41 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/1.287, allocations: 90.2 kB / 1.321 GB, free: 23.31 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006138/1.288, allocations: 0.615 MB / 1.322 GB, free: 23.04 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.067e-05/1.288, allocations: 36.67 kB / 1.322 GB, free: 23 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001969/1.288, allocations: 367.4 kB / 1.322 GB, free: 22.7 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.59e-05/1.288, allocations: 163.3 kB / 1.323 GB, free: 22.57 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/1.288, allocations: 93.11 kB / 1.323 GB, free: 22.52 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.135e-05/1.288, allocations: 325.8 kB / 1.323 GB, free: 22.21 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003889/1.289, allocations: 186 kB / 1.323 GB, free: 22.14 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004063/1.289, allocations: 275.5 kB / 1.323 GB, free: 21.97 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007626/1.29, allocations: 472.9 kB / 1.324 GB, free: 21.69 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/1.29, allocations: 10.88 kB / 1.324 GB, free: 21.68 MB / 1.061 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00107/1.291, allocations: 0.5947 MB / 1.324 GB, free: 21.41 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.955e-05/1.291, allocations: 40.75 kB / 1.325 GB, free: 21.37 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/1.291, allocations: 2.75 kB / 1.325 GB, free: 21.37 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.678e-05/1.291, allocations: 5.469 kB / 1.325 GB, free: 21.37 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004734/1.292, allocations: 106.9 kB / 1.325 GB, free: 21.36 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/1.292, allocations: 5.344 kB / 1.325 GB, free: 21.36 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004005/1.292, allocations: 63.69 kB / 1.325 GB, free: 21.32 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.802e-05/1.292, allocations: 21.19 kB / 1.325 GB, free: 21.32 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004993/1.293, allocations: 314.8 kB / 1.325 GB, free: 21.14 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003627/1.293, allocations: 265.9 kB / 1.325 GB, free: 20.97 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006854/1.294, allocations: 451.2 kB / 1.326 GB, free: 20.69 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.637e-06/1.294, allocations: 1.031 kB / 1.326 GB, free: 20.69 MB / 1.061 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001189/1.295, allocations: 0.5845 MB / 1.326 GB, free: 20.41 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.944e-05/1.295, allocations: 32.83 kB / 1.326 GB, free: 20.38 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/1.295, allocations: 3.125 kB / 1.326 GB, free: 20.38 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.566e-06/1.295, allocations: 4 kB / 1.326 GB, free: 20.38 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004657/1.295, allocations: 109.9 kB / 1.326 GB, free: 20.37 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/1.295, allocations: 5.031 kB / 1.326 GB, free: 20.37 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003571/1.296, allocations: 51.41 kB / 1.326 GB, free: 20.34 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.9e-05/1.296, allocations: 22.11 kB / 1.326 GB, free: 20.33 MB / 1.061 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.0001734/1.296, allocations: 215 kB / 1.327 GB, free: 20.12 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/1.296, allocations: 85.42 kB / 1.327 GB, free: 20.08 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001792/1.296, allocations: 83.95 kB / 1.327 GB, free: 20.02 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/1.296, allocations: 4.344 kB / 1.327 GB, free: 20.02 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-05/1.296, allocations: 0.7188 kB / 1.327 GB, free: 20.02 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/1.296, allocations: 0.5938 kB / 1.327 GB, free: 20.02 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008261/1.297, allocations: 0.6279 MB / 1.327 GB, free: 19.65 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/1.297, allocations: 0.7812 kB / 1.327 GB, free: 19.65 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004906/1.298, allocations: 78.19 kB / 1.328 GB, free: 19.64 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/1.298, allocations: 6 kB / 1.328 GB, free: 19.64 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.92e-05/1.298, allocations: 18.94 kB / 1.328 GB, free: 19.63 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/1.298, allocations: 5.406 kB / 1.328 GB, free: 19.62 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/1.298, allocations: 0.6562 kB / 1.328 GB, free: 19.62 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001471/1.299, allocations: 0.7404 MB / 1.328 GB, free: 19.27 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001901/1.299, allocations: 189.8 kB / 1.328 GB, free: 19.11 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.217e-05/1.299, allocations: 6.688 kB / 1.328 GB, free: 19.11 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003798/1.3, allocations: 35.81 kB / 1.329 GB, free: 19.1 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.542e-05/1.3, allocations: 32.53 kB / 1.329 GB, free: 19.09 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.803e-05/1.3, allocations: 17.5 kB / 1.329 GB, free: 19.09 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0005194/1.3, allocations: 430.5 kB / 1.329 GB, free: 18.9 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.3, allocations: 4 kB / 1.329 GB, free: 18.89 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007176/1.301, allocations: 215 kB / 1.329 GB, free: 18.84 MB / 1.061 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.0001473/1.301, allocations: 117.8 kB / 1.329 GB, free: 18.74 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0016/1.303, allocations: 0.744 MB / 1.33 GB, free: 18.41 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/1.303, allocations: 1.281 kB / 1.33 GB, free: 18.41 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0004724/1.303, allocations: 200.6 kB / 1.33 GB, free: 18.35 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009444/1.304, allocations: 195.3 kB / 1.33 GB, free: 18.28 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002686/1.307, allocations: 1.206 MB / 1.332 GB, free: 17.6 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000412/1.307, allocations: 0.9249 MB / 1.332 GB, free: 16.89 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0004364/1.308, allocations: 91.92 kB / 1.333 GB, free: 16.86 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/1.308, allocations: 53.5 kB / 1.333 GB, free: 16.85 MB / 1.061 GB Notification: Performance of SimCode: time 1.563e-06/1.308, allocations: 0 / 1.333 GB, free: 16.85 MB / 1.061 GB Notification: Performance of Templates: time 0.02272/1.331, allocations: 7.803 MB / 1.34 GB, free: 16.3 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Examples_LimPID.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.239172456786036]