Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) 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.LimPIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|plaWitRes.temSen.T|plaNoRes.temSen.T|conWitRes.conPID.trigger|conWitRes.conPID.controlError|conNoRes.conPID.controlError",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|plaWitRes.temSen.T|plaNoRes.temSen.T|conWitRes.conPID.trigger|conWitRes.conPID.controlError|conNoRes.conPID.controlError",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 108.7 kB / 16.41 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 189.4 kB / 17.35 MB, free: 5.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 222.9 MB / 241.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.666/2.666, allocations: 472.7 MB / 0.746 GB, free: 424 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 59.89 kB / 1.07 GB, free: 9.598 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7977/0.7991, allocations: 159.9 MB / 1.226 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.005554/0.8047, allocations: 4.124 MB / 1.23 GB, free: 9.387 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002647/0.8074, allocations: 1.317 MB / 1.232 GB, free: 8.062 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007007/0.8081, allocations: 19.94 kB / 1.232 GB, free: 8.043 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0005096/0.8086, allocations: 126.7 kB / 1.232 GB, free: 7.918 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0006155/0.8093, allocations: 190.4 kB / 1.232 GB, free: 7.73 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.8103, allocations: 414.8 kB / 1.232 GB, free: 7.328 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001161/0.8115, allocations: 0.967 MB / 1.233 GB, free: 6.355 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006848/0.8122, allocations: 462.1 kB / 1.234 GB, free: 5.883 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004457/0.8126, allocations: 330.7 kB / 1.234 GB, free: 5.559 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004449/0.8131, allocations: 338.4 kB / 1.234 GB, free: 5.227 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001543/0.8132, allocations: 95.94 kB / 1.234 GB, free: 5.133 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001536/0.8134, allocations: 88 kB / 1.235 GB, free: 5.047 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001468/0.8135, allocations: 175.5 kB / 1.235 GB, free: 4.875 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003911/0.8139, allocations: 394 kB / 1.235 GB, free: 4.488 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001025/0.815, allocations: 1.063 MB / 1.236 GB, free: 3.426 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.815, allocations: 0 / 1.236 GB, free: 3.426 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.615e-06/0.815, allocations: 4 kB / 1.236 GB, free: 3.422 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.499e-05/0.815, allocations: 7.938 kB / 1.236 GB, free: 3.414 MB / 0.9512 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.002012/0.8171, allocations: 1.096 MB / 1.237 GB, free: 2.258 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.8171, allocations: 8.031 kB / 1.237 GB, free: 2.25 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001644/0.8173, allocations: 88.42 kB / 1.237 GB, free: 2.164 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008775/0.8182, allocations: 0.5693 MB / 1.238 GB, free: 1.555 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.813e-05/0.8182, allocations: 41.69 kB / 1.238 GB, free: 1.516 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.06e-05/0.8183, allocations: 64.33 kB / 1.238 GB, free: 1.453 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.8193, allocations: 0.6079 MB / 1.239 GB, free: 0.8203 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/0.8194, allocations: 4 kB / 1.239 GB, free: 0.8164 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.097e-05/0.8194, allocations: 31.94 kB / 1.239 GB, free: 0.7852 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.8194, allocations: 16 kB / 1.239 GB, free: 0.7695 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009553/0.8204, allocations: 457 kB / 1.239 GB, free: 332 kB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002649/0.8231, allocations: 1.989 MB / 1.241 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008617/0.8239, allocations: 453.5 kB / 1.241 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004356/0.8244, allocations: 242.6 kB / 1.242 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.226e-05/0.8244, allocations: 12.44 kB / 1.242 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005049/0.8249, allocations: 261.2 kB / 1.242 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=49): time 2.335e-06/0.825, allocations: 0 / 1.242 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of matching and sorting (n=49): time 0.001227/0.8262, allocations: 0.5885 MB / 1.242 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.8262, allocations: 55.84 kB / 1.243 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004477/0.8267, allocations: 446.1 kB / 1.243 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.617e-05/0.8267, allocations: 37.7 kB / 1.243 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002128/0.827, allocations: 332.9 kB / 1.243 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.8271, allocations: 170.5 kB / 1.243 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/0.8272, allocations: 98.19 kB / 1.244 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.8274, allocations: 370.7 kB / 1.244 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003799/0.8278, allocations: 165 kB / 1.244 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004191/0.8282, allocations: 249.8 kB / 1.244 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007742/0.829, allocations: 456 kB / 1.245 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.829, allocations: 0 / 1.245 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009987/0.83, allocations: 0.5666 MB / 1.245 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.072e-05/0.83, allocations: 41.58 kB / 1.245 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.83, allocations: 0 / 1.245 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.8301, allocations: 4 kB / 1.245 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004885/0.8306, allocations: 115.8 kB / 1.245 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/0.8306, allocations: 4 kB / 1.245 GB, free: 9.516 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003056/0.8309, allocations: 59.64 kB / 1.246 GB, free: 9.457 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.703e-05/0.8309, allocations: 24.17 kB / 1.246 GB, free: 9.434 MB / 0.9669 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 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$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.0002298/0.8312, allocations: 205.7 kB / 1.246 GB, free: 9.223 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.8e-05/0.8313, allocations: 63.56 kB / 1.246 GB, free: 9.16 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001261/0.8314, allocations: 65.58 kB / 1.246 GB, free: 9.098 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.8314, allocations: 3.984 kB / 1.246 GB, free: 9.094 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.8314, allocations: 0 / 1.246 GB, free: 9.094 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001641/0.8316, allocations: 168.6 kB / 1.246 GB, free: 8.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.172e-05/0.8316, allocations: 12 kB / 1.246 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002548/0.8319, allocations: 31.97 kB / 1.246 GB, free: 8.867 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.26e-05/0.832, allocations: 32.39 kB / 1.246 GB, free: 8.836 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001247/0.8333, allocations: 0.5543 MB / 1.247 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001322/0.8346, allocations: 0.8495 MB / 1.247 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003856/0.835, allocations: 211.4 kB / 1.248 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003093/0.8353, allocations: 306.9 kB / 1.248 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of Backend: time 6.51e-07/0.8353, allocations: 0 / 1.248 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0009079/0.8362, allocations: 416 kB / 1.248 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of SimCode: time 0.002121/0.8384, allocations: 1.726 MB / 1.25 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of Templates: time 0.01305/0.8514, allocations: 7.069 MB / 1.257 GB, free: 13.72 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Examples_LimPIDWithReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches