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.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.001827/0.001827, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.002214/0.002214, allocations: 197.8 kB / 22.17 MB, free: 5.211 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.524/1.524, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.9/2.9, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_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: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 67.89 kB / 1.109 GB, free: 6.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.101/1.103, allocations: 168.7 MB / 1.274 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.006168/1.109, allocations: 3.759 MB / 1.278 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003476/1.113, allocations: 1.332 MB / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000605/1.113, allocations: 23.88 kB / 1.279 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004263/1.114, allocations: 130.6 kB / 1.279 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006452/1.114, allocations: 187.8 kB / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001412/1.116, allocations: 0.5834 MB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001327/1.117, allocations: 0.9642 MB / 1.281 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005057/1.118, allocations: 244.3 kB / 1.281 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005529/1.118, allocations: 378.4 kB / 1.281 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000438/1.119, allocations: 354.1 kB / 1.282 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001185/1.119, allocations: 76 kB / 1.282 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/1.119, allocations: 80 kB / 1.282 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001682/1.119, allocations: 183.2 kB / 1.282 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003504/1.119, allocations: 373.7 kB / 1.282 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001102/1.121, allocations: 0.8983 MB / 1.283 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.513e-06/1.121, allocations: 4 kB / 1.283 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.533e-06/1.121, allocations: 0 / 1.283 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.031e-05/1.121, allocations: 0 / 1.283 GB, free: 11.01 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.002308/1.123, allocations: 1.21 MB / 1.284 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/1.123, allocations: 8.031 kB / 1.285 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001832/1.123, allocations: 100.3 kB / 1.285 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/1.124, allocations: 0.6305 MB / 1.285 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001347/1.124, allocations: 96.97 kB / 1.285 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.268e-05/1.125, allocations: 56.36 kB / 1.285 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/1.126, allocations: 0.608 MB / 1.286 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/1.126, allocations: 0 / 1.286 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.01e-05/1.126, allocations: 24 kB / 1.286 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/1.126, allocations: 12 kB / 1.286 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009808/1.127, allocations: 427.6 kB / 1.286 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003022/1.13, allocations: 2.095 MB / 1.288 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001258/1.131, allocations: 0.495 MB / 1.289 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004727/1.132, allocations: 222.4 kB / 1.289 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.863e-05/1.132, allocations: 8 kB / 1.289 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007048/1.132, allocations: 270.2 kB / 1.289 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=45): time 2.545e-06/1.132, allocations: 0 / 1.289 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of matching and sorting (n=45): time 0.001661/1.134, allocations: 0.6219 MB / 1.29 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.986e-05/1.134, allocations: 84.86 kB / 1.29 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008443/1.135, allocations: 0.6138 MB / 1.291 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.968e-05/1.135, allocations: 37.7 kB / 1.291 GB, free: 3.117 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003453/1.135, allocations: 361.3 kB / 1.291 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001665/1.135, allocations: 162.6 kB / 1.291 GB, free: 2.598 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001648/1.136, allocations: 94.25 kB / 1.291 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001693/1.136, allocations: 326 kB / 1.292 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004539/1.136, allocations: 179 kB / 1.292 GB, free: 2 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005193/1.137, allocations: 280.2 kB / 1.292 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009524/1.138, allocations: 477.9 kB / 1.293 GB, free: 1.188 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/1.138, allocations: 7.938 kB / 1.293 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001245/1.139, allocations: 0.5986 MB / 1.293 GB, free: 0.5664 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.375e-05/1.139, allocations: 37.69 kB / 1.293 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/1.139, allocations: 4 kB / 1.293 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.485e-05/1.139, allocations: 4.312 kB / 1.293 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004902/1.14, allocations: 111.8 kB / 1.293 GB, free: 416 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/1.14, allocations: 4 kB / 1.293 GB, free: 412 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004183/1.14, allocations: 68.69 kB / 1.293 GB, free: 344 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.686e-05/1.14, allocations: 16 kB / 1.293 GB, free: 328 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005981/1.141, allocations: 309.2 kB / 1.294 GB, free: 16 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004982/1.141, allocations: 268.2 kB / 1.294 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008828/1.142, allocations: 457.9 kB / 1.294 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.904e-06/1.142, allocations: 0 / 1.294 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001159/1.143, allocations: 0.5791 MB / 1.295 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.688e-05/1.143, allocations: 41.58 kB / 1.295 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/1.143, allocations: 4 kB / 1.295 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.474e-06/1.143, allocations: 4 kB / 1.295 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004618/1.144, allocations: 103.9 kB / 1.295 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/1.144, allocations: 8.219 kB / 1.295 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003715/1.144, allocations: 51.7 kB / 1.295 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.989e-05/1.144, allocations: 23.98 kB / 1.295 GB, free: 14.39 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.000262/1.144, allocations: 208.7 kB / 1.295 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/1.144, allocations: 79.48 kB / 1.295 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001966/1.145, allocations: 75.22 kB / 1.295 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/1.145, allocations: 15.92 kB / 1.295 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/1.145, allocations: 3.938 kB / 1.295 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/1.145, allocations: 7.984 kB / 1.296 GB, free: 14 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008677/1.146, allocations: 0.6258 MB / 1.296 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/1.146, allocations: 0 / 1.296 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004806/1.146, allocations: 87.88 kB / 1.296 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/1.146, allocations: 4 kB / 1.296 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.674e-05/1.146, allocations: 8 kB / 1.296 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/1.146, allocations: 0 / 1.296 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.146, allocations: 0 / 1.296 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001588/1.148, allocations: 0.7368 MB / 1.297 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002778/1.148, allocations: 188.6 kB / 1.297 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.386e-05/1.148, allocations: 16 kB / 1.297 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004041/1.148, allocations: 31.95 kB / 1.297 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/1.149, allocations: 31.95 kB / 1.297 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.73e-05/1.149, allocations: 15.98 kB / 1.297 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005749/1.149, allocations: 435 kB / 1.298 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/1.149, allocations: 0 / 1.298 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007182/1.15, allocations: 219.5 kB / 1.298 GB, free: 11.54 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.0001934/1.15, allocations: 111.2 kB / 1.298 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001786/1.152, allocations: 0.7457 MB / 1.299 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.152, allocations: 0 / 1.299 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000483/1.152, allocations: 203.8 kB / 1.299 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009501/1.153, allocations: 204.5 kB / 1.299 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002548/1.156, allocations: 1.21 MB / 1.3 GB, free: 9.027 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006671/1.156, allocations: 0.9219 MB / 1.301 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004119/1.157, allocations: 93.11 kB / 1.301 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001523/1.157, allocations: 47.42 kB / 1.301 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of SimCode: time 1.253e-06/1.157, allocations: 4 kB / 1.301 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of Templates: time 0.01859/1.176, allocations: 7.814 MB / 1.309 GB, free: 212 kB / 0.9981 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 -s cvode -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_2/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: 9.685514528304338]