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.001462/0.001462, allocations: 92.2 kB / 20.19 MB, free: 4.352 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.001743/0.001743, allocations: 173 kB / 23.49 MB, free: 1.051 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.9998/0.9998, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.078/2.078, allocations: 429.5 MB / 0.6736 GB, free: 4.027 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.923e-06/1.923e-06, allocations: 0 / 0.8781 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.529e-05/2.721e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.004407/0.004435, allocations: 4.012 MB / 0.8821 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002319/0.006754, allocations: 1.345 MB / 0.8834 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004304/0.007184, allocations: 27.81 kB / 0.8834 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0003285/0.007513, allocations: 135.6 kB / 0.8835 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000322/0.007835, allocations: 187 kB / 0.8837 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006928/0.008528, allocations: 423.2 kB / 0.8841 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0007577/0.009285, allocations: 0.9748 MB / 0.8851 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000407/0.009692, allocations: 280.8 kB / 0.8853 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004655/0.01016, allocations: 0.5028 MB / 0.8858 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000234/0.01039, allocations: 239.2 kB / 0.8861 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 8.757e-05/0.01048, allocations: 92 kB / 0.8861 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 6.702e-05/0.01055, allocations: 91.94 kB / 0.8862 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.01065, allocations: 183.3 kB / 0.8864 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001794/0.01083, allocations: 252.1 kB / 0.8866 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0006466/0.01148, allocations: 0.5892 MB / 0.8872 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.01148, allocations: 0 / 0.8872 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.743e-06/0.01149, allocations: 0 / 0.8872 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.146e-06/0.01149, allocations: 0 / 0.8872 GB, free: 13.34 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.001253/0.01275, allocations: 1.152 MB / 0.8883 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.01279, allocations: 12.03 kB / 0.8884 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000147/0.01294, allocations: 136.4 kB / 0.8885 GB, free: 12 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006588/0.0136, allocations: 0.5416 MB / 0.889 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.365e-05/0.01363, allocations: 49.67 kB / 0.8891 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.963e-05/0.0137, allocations: 60.38 kB / 0.8891 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006286/0.01433, allocations: 0.5148 MB / 0.8896 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.01435, allocations: 12.08 kB / 0.8896 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.172e-05/0.01439, allocations: 24.36 kB / 0.8897 GB, free: 10.72 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.511e-05/0.01441, allocations: 19.94 kB / 0.8897 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000384/0.01479, allocations: 223.6 kB / 0.8899 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001778/0.01657, allocations: 1.795 MB / 0.8916 GB, free: 8.633 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004086/0.01698, allocations: 279.4 kB / 0.8919 GB, free: 8.344 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.01715, allocations: 129.1 kB / 0.892 GB, free: 8.215 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.263e-05/0.01718, allocations: 8.5 kB / 0.892 GB, free: 8.207 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002713/0.01746, allocations: 183.9 kB / 0.8922 GB, free: 8.016 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=49): time 2.204e-06/0.01746, allocations: 0 / 0.8922 GB, free: 8.016 MB / 0.8542 GB Notification: Performance of matching and sorting (n=49): time 0.0005701/0.01803, allocations: 388.7 kB / 0.8926 GB, free: 7.629 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.01807, allocations: 59.84 kB / 0.8926 GB, free: 7.559 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003262/0.0184, allocations: 451.2 kB / 0.8931 GB, free: 7.102 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.879e-05/0.01843, allocations: 33.7 kB / 0.8931 GB, free: 7.062 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001799/0.0186, allocations: 375.6 kB / 0.8935 GB, free: 6.691 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.244e-05/0.0187, allocations: 178.5 kB / 0.8936 GB, free: 6.516 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.0188, allocations: 99.98 kB / 0.8937 GB, free: 6.41 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000199/0.019, allocations: 0.5313 MB / 0.8942 GB, free: 5.867 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.01914, allocations: 103 kB / 0.8943 GB, free: 5.762 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001833/0.01933, allocations: 213.8 kB / 0.8946 GB, free: 5.508 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003164/0.01964, allocations: 304.7 kB / 0.8948 GB, free: 5.168 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.01965, allocations: 0 / 0.8948 GB, free: 5.168 MB / 0.8542 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004716/0.02012, allocations: 448.4 kB / 0.8953 GB, free: 4.707 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.662e-05/0.02015, allocations: 37.94 kB / 0.8953 GB, free: 4.664 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.02016, allocations: 8 kB / 0.8953 GB, free: 4.656 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.02018, allocations: 4 kB / 0.8953 GB, free: 4.652 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002946/0.02047, allocations: 107.8 kB / 0.8954 GB, free: 4.547 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.02048, allocations: 11.94 kB / 0.8954 GB, free: 4.535 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/0.02063, allocations: 51.66 kB / 0.8955 GB, free: 4.484 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.02065, allocations: 19.98 kB / 0.8955 GB, free: 4.465 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.0001421/0.0208, allocations: 184.5 kB / 0.8957 GB, free: 4.273 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.747e-05/0.02086, allocations: 75.62 kB / 0.8957 GB, free: 4.199 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.988e-05/0.02094, allocations: 69.44 kB / 0.8958 GB, free: 4.133 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.02095, allocations: 4 kB / 0.8958 GB, free: 4.129 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.02096, allocations: 7.938 kB / 0.8958 GB, free: 4.121 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.02096, allocations: 0 / 0.8958 GB, free: 4.121 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009056/0.02187, allocations: 0.8626 MB / 0.8967 GB, free: 3.223 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.02187, allocations: 0 / 0.8967 GB, free: 3.223 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002523/0.02212, allocations: 95.83 kB / 0.8968 GB, free: 3.129 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.02213, allocations: 0 / 0.8968 GB, free: 3.129 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.519e-05/0.02215, allocations: 15.94 kB / 0.8968 GB, free: 3.113 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.02216, allocations: 4 kB / 0.8968 GB, free: 3.109 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.02216, allocations: 4 kB / 0.8968 GB, free: 3.105 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005729/0.02273, allocations: 0.5527 MB / 0.8973 GB, free: 2.531 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.02285, allocations: 95.45 kB / 0.8974 GB, free: 2.438 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.219e-05/0.02289, allocations: 15.94 kB / 0.8974 GB, free: 2.422 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.02301, allocations: 19.98 kB / 0.8974 GB, free: 2.402 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.431e-05/0.02309, allocations: 32.44 kB / 0.8975 GB, free: 2.371 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/0.02311, allocations: 15.98 kB / 0.8975 GB, free: 2.355 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001988/0.0233, allocations: 299 kB / 0.8978 GB, free: 2.062 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.1e-08/0.0233, allocations: 0 / 0.8978 GB, free: 2.062 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000303/0.02361, allocations: 139.7 kB / 0.8979 GB, free: 1.926 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.0001089/0.02372, allocations: 115.1 kB / 0.898 GB, free: 1.805 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004178/0.02413, allocations: 348.3 kB / 0.8984 GB, free: 1.441 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.02414, allocations: 4.438 kB / 0.8984 GB, free: 1.438 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00017/0.02431, allocations: 139.5 kB / 0.8985 GB, free: 1.297 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000496/0.0248, allocations: 155 kB / 0.8986 GB, free: 1.152 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001732/0.02653, allocations: 1.173 MB / 0.8998 GB, free: 15.94 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.612e-05/0.02662, allocations: 133.9 kB / 0.8999 GB, free: 15.79 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001618/0.02678, allocations: 64.55 kB / 0.9 GB, free: 15.73 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.593e-05/0.02687, allocations: 40.5 kB / 0.9 GB, free: 15.69 MB / 0.8698 GB Notification: Performance of SimCode: time 1.153e-06/0.02687, allocations: 8 kB / 0.9 GB, free: 15.68 MB / 0.8698 GB Notification: Performance of Templates: time 0.008544/0.03541, allocations: 5.827 MB / 0.9057 GB, free: 9.992 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.67369006597437]