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.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.001416/0.001416, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001734/0.001734, allocations: 165 kB / 23.01 MB, free: 1.555 MB / 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 0.9722/0.9722, allocations: 177.1 MB / 203.4 MB, free: 5.168 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.146/2.146, allocations: 429.5 MB / 0.6732 GB, free: 4.035 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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=5007,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=5007,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 0.8781 GB, free: 6.355 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.664e-05/2.795e-05, allocations: 5.125 kB / 0.8781 GB, free: 6.352 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.004309/0.004337, allocations: 4.038 MB / 0.8821 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002173/0.00651, allocations: 1.346 MB / 0.8834 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004308/0.006941, allocations: 36.84 kB / 0.8834 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0003245/0.007265, allocations: 130.7 kB / 0.8835 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003337/0.007599, allocations: 190.3 kB / 0.8837 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007167/0.008316, allocations: 420.5 kB / 0.8841 GB, free: 216 kB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0007787/0.009095, allocations: 0.9746 MB / 0.8851 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003907/0.009485, allocations: 290.6 kB / 0.8854 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004468/0.009932, allocations: 0.4966 MB / 0.8858 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002555/0.01019, allocations: 247.2 kB / 0.8861 GB, free: 14.19 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 8.499e-05/0.01027, allocations: 92 kB / 0.8862 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.659e-05/0.01035, allocations: 92 kB / 0.8862 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.01045, allocations: 180.9 kB / 0.8864 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001801/0.01063, allocations: 247.4 kB / 0.8867 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0005736/0.0112, allocations: 0.5837 MB / 0.8872 GB, free: 13.01 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.01121, allocations: 0 / 0.8872 GB, free: 13.01 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.512e-06/0.01121, allocations: 1.094 kB / 0.8872 GB, free: 13.01 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.617e-06/0.01122, allocations: 0 / 0.8872 GB, free: 13.01 MB / 0.8542 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.001347/0.01256, allocations: 1.161 MB / 0.8884 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.01261, allocations: 8.031 kB / 0.8884 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001522/0.01276, allocations: 132.4 kB / 0.8885 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006272/0.01338, allocations: 0.5416 MB / 0.889 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.006e-05/0.01341, allocations: 45.69 kB / 0.8891 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.006e-05/0.01348, allocations: 60.38 kB / 0.8891 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006185/0.0141, allocations: 0.5225 MB / 0.8896 GB, free: 10.42 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.01412, allocations: 8.125 kB / 0.8896 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.461e-05/0.01416, allocations: 20.38 kB / 0.8897 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.584e-05/0.01417, allocations: 19.94 kB / 0.8897 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003703/0.01454, allocations: 223.6 kB / 0.8899 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001752/0.01629, allocations: 1.803 MB / 0.8917 GB, free: 8.297 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004105/0.01671, allocations: 283.4 kB / 0.8919 GB, free: 8.004 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/0.01688, allocations: 121.1 kB / 0.892 GB, free: 7.883 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.135e-05/0.01691, allocations: 12.5 kB / 0.8921 GB, free: 7.871 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002473/0.01715, allocations: 175.9 kB / 0.8922 GB, free: 7.688 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=49): time 2.815e-06/0.01716, allocations: 0 / 0.8922 GB, free: 7.688 MB / 0.8542 GB Notification: Performance of matching and sorting (n=49): time 0.0005585/0.01772, allocations: 388.7 kB / 0.8926 GB, free: 7.301 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.01775, allocations: 67.78 kB / 0.8927 GB, free: 7.223 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003155/0.01807, allocations: 451.2 kB / 0.8931 GB, free: 6.766 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.01809, allocations: 33.7 kB / 0.8931 GB, free: 6.727 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/0.01827, allocations: 375.6 kB / 0.8935 GB, free: 6.355 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.914e-05/0.01836, allocations: 182.5 kB / 0.8937 GB, free: 6.176 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.01846, allocations: 96 kB / 0.8937 GB, free: 6.074 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.0186, allocations: 0.5313 MB / 0.8943 GB, free: 5.531 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.01874, allocations: 98.95 kB / 0.8944 GB, free: 5.43 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002618/0.019, allocations: 213.8 kB / 0.8946 GB, free: 5.176 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003206/0.01932, allocations: 304.7 kB / 0.8949 GB, free: 4.836 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.01932, allocations: 4 kB / 0.8949 GB, free: 4.832 MB / 0.8542 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004662/0.01979, allocations: 448.4 kB / 0.8953 GB, free: 4.375 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.502e-05/0.01983, allocations: 29.7 kB / 0.8953 GB, free: 4.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.01983, allocations: 4.25 kB / 0.8953 GB, free: 4.336 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.01985, allocations: 8 kB / 0.8953 GB, free: 4.328 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002915/0.02014, allocations: 115.8 kB / 0.8954 GB, free: 4.215 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.02015, allocations: 7.938 kB / 0.8954 GB, free: 4.207 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/0.02029, allocations: 59.66 kB / 0.8955 GB, free: 4.148 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.265e-05/0.02032, allocations: 16 kB / 0.8955 GB, free: 4.133 MB / 0.8542 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.0001317/0.02045, allocations: 188.5 kB / 0.8957 GB, free: 3.938 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.672e-05/0.02051, allocations: 67.62 kB / 0.8958 GB, free: 3.871 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.429e-05/0.02058, allocations: 73.44 kB / 0.8958 GB, free: 3.801 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.299e-06/0.02058, allocations: 4 kB / 0.8958 GB, free: 3.797 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.02059, allocations: 3.938 kB / 0.8958 GB, free: 3.793 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.0206, allocations: 3.984 kB / 0.8958 GB, free: 3.789 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008753/0.02148, allocations: 0.8626 MB / 0.8967 GB, free: 2.887 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.02148, allocations: 0 / 0.8967 GB, free: 2.887 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002526/0.02173, allocations: 91.89 kB / 0.8968 GB, free: 2.797 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.02173, allocations: 0 / 0.8968 GB, free: 2.797 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.801e-05/0.02176, allocations: 19.92 kB / 0.8968 GB, free: 2.777 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.02176, allocations: 8 kB / 0.8968 GB, free: 2.77 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.02177, allocations: 0 / 0.8968 GB, free: 2.77 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005797/0.02235, allocations: 0.5565 MB / 0.8973 GB, free: 2.191 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.02246, allocations: 99.45 kB / 0.8974 GB, free: 2.094 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.722e-05/0.0225, allocations: 7.938 kB / 0.8974 GB, free: 2.086 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.02263, allocations: 27.92 kB / 0.8975 GB, free: 2.059 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.205e-05/0.0227, allocations: 32.42 kB / 0.8975 GB, free: 2.027 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.02272, allocations: 16 kB / 0.8975 GB, free: 2.012 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001945/0.02291, allocations: 287 kB / 0.8978 GB, free: 1.73 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.02291, allocations: 4 kB / 0.8978 GB, free: 1.727 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003109/0.02322, allocations: 143.7 kB / 0.8979 GB, free: 1.586 MB / 0.8542 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.0001075/0.02333, allocations: 114.5 kB / 0.898 GB, free: 1.465 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000429/0.02376, allocations: 348.3 kB / 0.8984 GB, free: 1.102 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.02376, allocations: 0.5 kB / 0.8984 GB, free: 1.102 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001744/0.02393, allocations: 147.5 kB / 0.8985 GB, free: 0.9531 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004808/0.02442, allocations: 146.3 kB / 0.8986 GB, free: 0.8164 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001759/0.02617, allocations: 1.169 MB / 0.8998 GB, free: 15.61 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.034e-05/0.02627, allocations: 133.9 kB / 0.8999 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001776/0.02644, allocations: 60.53 kB / 0.9 GB, free: 15.39 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.148e-05/0.02653, allocations: 44.5 kB / 0.9 GB, free: 15.35 MB / 0.8698 GB Notification: Performance of SimCode: time 1.443e-06/0.02654, allocations: 0 / 0.9 GB, free: 15.35 MB / 0.8698 GB Notification: Performance of Templates: time 0.008521/0.03506, allocations: 5.832 MB / 0.9057 GB, free: 9.648 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.6442173309624195]