Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset.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.001957/0.001957, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.002242/0.002242, allocations: 185.1 kB / 22.22 MB, free: 5.105 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.577/1.577, allocations: 225.6 MB / 251 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.697/2.697, allocations: 443.5 MB / 0.7321 GB, free: 12.3 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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.LimPIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|TSet.y|plaWitRes.temSen.T|plaNoRes.temSen.T|conWitRes.conPID.trigger|conWitRes.conPID.controlError|conNoRes.conPID.controlError",fileNamePrefix="Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|TSet.y|plaWitRes.temSen.T|plaNoRes.temSen.T|conWitRes.conPID.trigger|conWitRes.conPID.controlError|conNoRes.conPID.controlError",fileNamePrefix="Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 63.91 kB / 1.061 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.134/1.136, allocations: 160.8 MB / 1.218 GB, free: 3.738 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.007203/1.144, allocations: 4.176 MB / 1.223 GB, free: 464 kB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003259/1.147, allocations: 1.344 MB / 1.224 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004245/1.147, allocations: 32.75 kB / 1.224 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003773/1.148, allocations: 127.1 kB / 1.224 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004795/1.148, allocations: 181.2 kB / 1.224 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001002/1.149, allocations: 433.3 kB / 1.225 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001291/1.15, allocations: 0.9615 MB / 1.225 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000604/1.151, allocations: 307.5 kB / 1.226 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004815/1.152, allocations: 345.6 kB / 1.226 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005181/1.152, allocations: 337.2 kB / 1.226 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001388/1.152, allocations: 90.56 kB / 1.227 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001445/1.152, allocations: 90.19 kB / 1.227 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000205/1.153, allocations: 187.5 kB / 1.227 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004061/1.153, allocations: 384.3 kB / 1.227 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001227/1.154, allocations: 1.071 MB / 1.228 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/1.154, allocations: 0 / 1.228 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.124e-06/1.154, allocations: 0 / 1.228 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.314e-05/1.154, allocations: 1.469 kB / 1.228 GB, free: 12.07 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002088/1.156, allocations: 1.151 MB / 1.229 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.29e-05/1.156, allocations: 13.81 kB / 1.229 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001648/1.157, allocations: 89.45 kB / 1.229 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/1.158, allocations: 0.5667 MB / 1.23 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.549e-05/1.158, allocations: 50 kB / 1.23 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/1.158, allocations: 59.61 kB / 1.23 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001193/1.159, allocations: 0.6016 MB / 1.231 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.821e-05/1.159, allocations: 8.922 kB / 1.231 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.345e-05/1.159, allocations: 33.7 kB / 1.231 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.627e-05/1.159, allocations: 14.31 kB / 1.231 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/1.16, allocations: 453 kB / 1.231 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003387/1.164, allocations: 1.999 MB / 1.233 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009442/1.164, allocations: 415.8 kB / 1.234 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004552/1.165, allocations: 230.1 kB / 1.234 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.368e-05/1.165, allocations: 8.438 kB / 1.234 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005693/1.166, allocations: 261.2 kB / 1.234 GB, free: 7.145 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=49): time 1.853e-06/1.166, allocations: 0 / 1.234 GB, free: 7.145 MB / 0.9356 GB Notification: Performance of matching and sorting (n=49): time 0.001333/1.167, allocations: 0.5807 MB / 1.235 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.299e-05/1.167, allocations: 59.84 kB / 1.235 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005635/1.167, allocations: 446.1 kB / 1.235 GB, free: 6.043 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.481e-05/1.168, allocations: 37.7 kB / 1.235 GB, free: 6 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003138/1.168, allocations: 324.9 kB / 1.235 GB, free: 5.676 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/1.168, allocations: 178.5 kB / 1.236 GB, free: 5.5 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001718/1.168, allocations: 94.3 kB / 1.236 GB, free: 5.402 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002082/1.168, allocations: 370.7 kB / 1.236 GB, free: 5.031 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004605/1.169, allocations: 165.2 kB / 1.236 GB, free: 4.867 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004492/1.169, allocations: 250.7 kB / 1.236 GB, free: 4.602 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008432/1.17, allocations: 454.9 kB / 1.237 GB, free: 4.121 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/1.17, allocations: 0 / 1.237 GB, free: 4.121 MB / 0.9356 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001103/1.171, allocations: 0.5651 MB / 1.237 GB, free: 3.543 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.938e-05/1.171, allocations: 41.62 kB / 1.237 GB, free: 3.496 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/1.171, allocations: 0 / 1.237 GB, free: 3.496 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/1.171, allocations: 8 kB / 1.237 GB, free: 3.488 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004878/1.172, allocations: 111.8 kB / 1.238 GB, free: 3.379 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/1.172, allocations: 8.25 kB / 1.238 GB, free: 3.371 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003487/1.172, allocations: 55.66 kB / 1.238 GB, free: 3.316 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.312e-05/1.172, allocations: 19.98 kB / 1.238 GB, free: 3.297 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (conWitRes.trigger.y,conNoRes.trigger.y,TSet.T_start,$PRE.TSet.T_start,TSet.count,$PRE.TSet.count,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * 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.0002883/1.173, allocations: 215.8 kB / 1.238 GB, free: 3.082 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.229e-05/1.173, allocations: 63.56 kB / 1.238 GB, free: 3.02 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001503/1.173, allocations: 65.58 kB / 1.238 GB, free: 2.957 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.166e-06/1.173, allocations: 8 kB / 1.238 GB, free: 2.949 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/1.173, allocations: 4 kB / 1.238 GB, free: 2.945 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/1.173, allocations: 3.938 kB / 1.238 GB, free: 2.941 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001906/1.175, allocations: 1.174 MB / 1.239 GB, free: 1.711 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/1.175, allocations: 0 / 1.239 GB, free: 1.711 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004657/1.175, allocations: 95.88 kB / 1.239 GB, free: 1.617 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.215e-06/1.175, allocations: 7.984 kB / 1.239 GB, free: 1.609 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.332e-05/1.175, allocations: 12 kB / 1.239 GB, free: 1.598 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/1.175, allocations: 4 kB / 1.239 GB, free: 1.594 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/1.175, allocations: 3.984 kB / 1.239 GB, free: 1.59 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001442/1.177, allocations: 0.7652 MB / 1.24 GB, free: 0.8086 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000222/1.177, allocations: 168.7 kB / 1.24 GB, free: 0.625 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.05e-05/1.177, allocations: 12 kB / 1.24 GB, free: 0.6133 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002817/1.177, allocations: 23.97 kB / 1.24 GB, free: 0.5898 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/1.177, allocations: 32.38 kB / 1.24 GB, free: 0.5547 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.953e-05/1.177, allocations: 16 kB / 1.24 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003848/1.178, allocations: 310.9 kB / 1.241 GB, free: 244 kB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/1.178, allocations: 0 / 1.241 GB, free: 244 kB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005019/1.178, allocations: 147.6 kB / 1.241 GB, free: 96 kB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (conNoRes.conPID.I.y,plaNoRes.cap1.T,plaNoRes.cap.T,conWitRes.conPID.I.y,plaWitRes.cap1.T,plaWitRes.cap.T) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,TSet.count,TSet.T_start,conNoRes.trigger.y) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * 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.0001787/1.178, allocations: 112.9 kB / 1.241 GB, free: 15.97 MB / 0.9513 GB Notification: Performance of simCode: created initialization part: time 0.001/1.179, allocations: 465.1 kB / 1.241 GB, free: 15.51 MB / 0.9513 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/1.179, allocations: 4 kB / 1.241 GB, free: 15.5 MB / 0.9513 GB Notification: Performance of simCode: created simulation system equations: time 0.0004233/1.18, allocations: 210.3 kB / 1.241 GB, free: 15.3 MB / 0.9513 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007821/1.181, allocations: 150.9 kB / 1.242 GB, free: 15.16 MB / 0.9513 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002921/1.184, allocations: 1.359 MB / 1.243 GB, free: 13.77 MB / 0.9513 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006527/1.184, allocations: 0.89 MB / 1.244 GB, free: 12.85 MB / 0.9513 GB Notification: Performance of simCode: alias equations: time 0.0002644/1.184, allocations: 60.59 kB / 1.244 GB, free: 12.79 MB / 0.9513 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/1.185, allocations: 47.42 kB / 1.244 GB, free: 12.74 MB / 0.9513 GB Notification: Performance of SimCode: time 4.7e-07/1.185, allocations: 0 / 1.244 GB, free: 12.74 MB / 0.9513 GB Notification: Performance of Templates: time 0.01386/1.198, allocations: 6.297 MB / 1.25 GB, free: 6.527 MB / 0.9513 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Continuous_Examples_LimPIDWithReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset.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.635528108105063]