Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.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.0008983/0.0008983, allocations: 71.75 kB / 20.97 MB, free: 3.582 MB / 18.57 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.001012/0.001012, allocations: 169 kB / 24.28 MB, free: 280 kB / 18.57 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.003/1.003, allocations: 177.1 MB / 204.6 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.825/1.825, allocations: 359 MB / 0.6055 GB, free: 11.03 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.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_11_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_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.103e-06/2.103e-06, allocations: 0 / 0.787 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.439e-05/3.649e-05, allocations: 2.938 kB / 0.787 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.006198/0.006234, allocations: 4.014 MB / 0.791 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003349/0.009583, allocations: 1.345 MB / 0.7923 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008113/0.01039, allocations: 37.31 kB / 0.7923 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004209/0.01082, allocations: 122.8 kB / 0.7924 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0005901/0.01141, allocations: 201.5 kB / 0.7926 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.01249, allocations: 405.8 kB / 0.793 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001324/0.01381, allocations: 0.9785 MB / 0.794 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006236/0.01443, allocations: 294.6 kB / 0.7942 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008227/0.01526, allocations: 0.4911 MB / 0.7947 GB, free: 4.973 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004192/0.01567, allocations: 247.2 kB / 0.795 GB, free: 4.73 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001642/0.01584, allocations: 92.62 kB / 0.7951 GB, free: 4.641 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.01596, allocations: 92 kB / 0.7951 GB, free: 4.551 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001459/0.01611, allocations: 177 kB / 0.7953 GB, free: 4.379 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0003367/0.01644, allocations: 251.4 kB / 0.7955 GB, free: 4.133 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0008925/0.01733, allocations: 0.5837 MB / 0.7961 GB, free: 3.547 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.01734, allocations: 0 / 0.7961 GB, free: 3.547 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.723e-06/0.01734, allocations: 1.75 kB / 0.7961 GB, free: 3.547 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.193e-05/0.01736, allocations: 0 / 0.7961 GB, free: 3.547 MB / 0.7448 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.001963/0.01933, allocations: 1.151 MB / 0.7972 GB, free: 2.352 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.57e-05/0.01938, allocations: 8.75 kB / 0.7973 GB, free: 2.344 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002436/0.01963, allocations: 136.4 kB / 0.7974 GB, free: 2.211 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009572/0.02058, allocations: 0.5443 MB / 0.7979 GB, free: 1.637 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.343e-05/0.02064, allocations: 47 kB / 0.798 GB, free: 1.59 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.02074, allocations: 60.38 kB / 0.798 GB, free: 1.531 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009593/0.0217, allocations: 0.5197 MB / 0.7985 GB, free: 0.9688 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.773e-05/0.02173, allocations: 192 / 0.7985 GB, free: 0.9688 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.929e-05/0.02179, allocations: 32.36 kB / 0.7986 GB, free: 0.9375 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.193e-05/0.02181, allocations: 17.31 kB / 0.7986 GB, free: 0.9219 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006029/0.02242, allocations: 223.6 kB / 0.7988 GB, free: 0.7031 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002799/0.02521, allocations: 1.803 MB / 0.8005 GB, free: 14.85 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006175/0.02583, allocations: 278.8 kB / 0.8008 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000245/0.02608, allocations: 125.1 kB / 0.8009 GB, free: 14.44 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 4.141e-05/0.02612, allocations: 8.5 kB / 0.8009 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003686/0.02649, allocations: 180.8 kB / 0.8011 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=49): time 4.999e-06/0.02649, allocations: 0 / 0.8011 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of matching and sorting (n=49): time 0.0008374/0.02733, allocations: 388.1 kB / 0.8015 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.118e-05/0.02739, allocations: 67.84 kB / 0.8015 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007374/0.02813, allocations: 443.3 kB / 0.802 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001086/0.02824, allocations: 33.7 kB / 0.802 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002294/0.02847, allocations: 387.6 kB / 0.8024 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/0.0286, allocations: 174.5 kB / 0.8025 GB, free: 12.74 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.02872, allocations: 96 kB / 0.8026 GB, free: 12.64 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.0289, allocations: 0.5274 MB / 0.8031 GB, free: 12.1 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/0.02906, allocations: 103.5 kB / 0.8032 GB, free: 11.99 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/0.02925, allocations: 215.8 kB / 0.8034 GB, free: 11.74 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003378/0.02959, allocations: 308.9 kB / 0.8037 GB, free: 11.4 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.02959, allocations: 0 / 0.8037 GB, free: 11.4 MB / 0.7605 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005333/0.03013, allocations: 448.4 kB / 0.8042 GB, free: 10.94 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.53e-05/0.03016, allocations: 36.17 kB / 0.8042 GB, free: 10.9 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.03017, allocations: 0 / 0.8042 GB, free: 10.9 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.03018, allocations: 4 kB / 0.8042 GB, free: 10.9 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002912/0.03048, allocations: 111.8 kB / 0.8043 GB, free: 10.79 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.537e-05/0.03049, allocations: 11.92 kB / 0.8043 GB, free: 10.78 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/0.03066, allocations: 48.61 kB / 0.8044 GB, free: 10.73 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.03069, allocations: 23.98 kB / 0.8044 GB, free: 10.71 MB / 0.7605 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.0001613/0.03085, allocations: 187.6 kB / 0.8046 GB, free: 10.52 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.009e-05/0.03092, allocations: 79.56 kB / 0.8046 GB, free: 10.44 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.741e-05/0.031, allocations: 66.56 kB / 0.8047 GB, free: 10.38 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.031, allocations: 4 kB / 0.8047 GB, free: 10.37 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.03101, allocations: 3.938 kB / 0.8047 GB, free: 10.37 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.03102, allocations: 1.062 kB / 0.8047 GB, free: 10.37 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009403/0.03196, allocations: 0.8665 MB / 0.8056 GB, free: 9.461 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.03196, allocations: 0.5625 kB / 0.8056 GB, free: 9.461 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002343/0.03219, allocations: 96.39 kB / 0.8057 GB, free: 9.367 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.0322, allocations: 5.5 kB / 0.8057 GB, free: 9.363 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.403e-05/0.03222, allocations: 11.94 kB / 0.8057 GB, free: 9.352 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.03223, allocations: 7.984 kB / 0.8057 GB, free: 9.344 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.03223, allocations: 0 / 0.8057 GB, free: 9.344 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005698/0.0328, allocations: 0.5585 MB / 0.8062 GB, free: 8.766 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/0.03291, allocations: 95.45 kB / 0.8063 GB, free: 8.672 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.986e-05/0.03295, allocations: 15.94 kB / 0.8063 GB, free: 8.656 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.03306, allocations: 16.23 kB / 0.8064 GB, free: 8.641 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.595e-05/0.03314, allocations: 40.44 kB / 0.8064 GB, free: 8.602 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/0.03316, allocations: 19.97 kB / 0.8064 GB, free: 8.582 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001939/0.03335, allocations: 287 kB / 0.8067 GB, free: 8.305 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7.1e-08/0.03335, allocations: 0 / 0.8067 GB, free: 8.305 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003256/0.03368, allocations: 147.6 kB / 0.8068 GB, free: 8.16 MB / 0.7605 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.0001147/0.03379, allocations: 111.2 kB / 0.8069 GB, free: 8.043 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0004014/0.03419, allocations: 348.5 kB / 0.8073 GB, free: 7.68 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.0342, allocations: 0 / 0.8073 GB, free: 7.68 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001677/0.03436, allocations: 143.5 kB / 0.8074 GB, free: 7.539 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004689/0.03483, allocations: 151.9 kB / 0.8075 GB, free: 7.395 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001832/0.03667, allocations: 1.172 MB / 0.8087 GB, free: 6.18 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.831e-05/0.03675, allocations: 133.9 kB / 0.8088 GB, free: 6.031 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.000176/0.03693, allocations: 64.47 kB / 0.8089 GB, free: 5.965 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.642e-05/0.03702, allocations: 40.5 kB / 0.8089 GB, free: 5.926 MB / 0.7605 GB Notification: Performance of SimCode: time 1.272e-06/0.03702, allocations: 0 / 0.8089 GB, free: 5.926 MB / 0.7605 GB Notification: Performance of Templates: time 0.008236/0.04525, allocations: 5.81 MB / 0.8146 GB, free: 264 kB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Examples_LimPIDWithReset.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.458979150978848]