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.001703/0.001703, allocations: 84.73 kB / 19.44 MB, free: 348 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.001613/0.001613, allocations: 161.7 kB / 22.75 MB, free: 1.676 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 1.463/1.463, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 3.182/3.182, allocations: 429.6 MB / 0.673 GB, free: 3.883 MB / 0.6355 GB " [Timeout remaining time 176] 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 2.935e-06/2.935e-06, allocations: 0 / 0.8775 GB, free: 5.395 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 5.116e-05/5.409e-05, allocations: 5.969 kB / 0.8776 GB, free: 5.391 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.008744/0.008798, allocations: 3.759 MB / 0.8812 GB, free: 1.645 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.004616/0.01341, allocations: 1.332 MB / 0.8825 GB, free: 316 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001234/0.01465, allocations: 32.78 kB / 0.8826 GB, free: 284 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0007562/0.0154, allocations: 122.8 kB / 0.8827 GB, free: 160 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.00109/0.0165, allocations: 197.9 kB / 0.8829 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001592/0.01809, allocations: 420.4 kB / 0.8833 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.001903/0.01999, allocations: 0.9785 MB / 0.8842 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008164/0.02081, allocations: 292.2 kB / 0.8845 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001094/0.0219, allocations: 499 kB / 0.885 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000538/0.02244, allocations: 251.1 kB / 0.8852 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0002076/0.02265, allocations: 92 kB / 0.8853 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001849/0.02283, allocations: 88.88 kB / 0.8854 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0002118/0.02304, allocations: 175.4 kB / 0.8856 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0004867/0.02353, allocations: 264.2 kB / 0.8858 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.001612/0.02514, allocations: 1.083 MB / 0.8869 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.02515, allocations: 4 kB / 0.8869 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.814e-06/0.02515, allocations: 3.625 kB / 0.8869 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.392e-05/0.02519, allocations: 0 / 0.8869 GB, free: 11.84 MB / 0.8073 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.003016/0.02821, allocations: 1.069 MB / 0.8879 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.02826, allocations: 8.031 kB / 0.8879 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003118/0.02857, allocations: 136.4 kB / 0.8881 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001424/0.02999, allocations: 0.5306 MB / 0.8886 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.475e-05/0.03005, allocations: 41.69 kB / 0.8886 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/0.03019, allocations: 64.36 kB / 0.8887 GB, free: 9.926 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/0.03165, allocations: 0.6544 MB / 0.8893 GB, free: 9.234 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.03168, allocations: 192 / 0.8893 GB, free: 9.234 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.206e-05/0.03175, allocations: 36.12 kB / 0.8893 GB, free: 9.199 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.384e-05/0.03177, allocations: 19.92 kB / 0.8894 GB, free: 9.18 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001229/0.033, allocations: 457 kB / 0.8898 GB, free: 8.73 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003715/0.03672, allocations: 1.71 MB / 0.8915 GB, free: 6.969 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.03785, allocations: 426.4 kB / 0.8919 GB, free: 6.539 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005568/0.0384, allocations: 218.3 kB / 0.8921 GB, free: 6.324 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.477e-05/0.03845, allocations: 12.5 kB / 0.8921 GB, free: 6.312 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006971/0.03915, allocations: 262.2 kB / 0.8923 GB, free: 6.047 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=49): time 2.565e-06/0.03915, allocations: 0 / 0.8923 GB, free: 6.047 MB / 0.8073 GB Notification: Performance of matching and sorting (n=49): time 0.001674/0.04082, allocations: 0.606 MB / 0.8929 GB, free: 5.434 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.585e-05/0.04089, allocations: 59.84 kB / 0.893 GB, free: 5.363 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007059/0.04159, allocations: 434.5 kB / 0.8934 GB, free: 4.93 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.712e-05/0.04165, allocations: 37.69 kB / 0.8934 GB, free: 4.887 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003714/0.04202, allocations: 336.8 kB / 0.8938 GB, free: 4.555 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002023/0.04223, allocations: 170.5 kB / 0.8939 GB, free: 4.387 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000195/0.04242, allocations: 94.3 kB / 0.894 GB, free: 4.289 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002483/0.04267, allocations: 366.8 kB / 0.8944 GB, free: 3.922 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004966/0.04316, allocations: 194.9 kB / 0.8946 GB, free: 3.727 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005595/0.04372, allocations: 276.3 kB / 0.8948 GB, free: 3.426 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.04483, allocations: 451.3 kB / 0.8952 GB, free: 2.953 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.04483, allocations: 3.938 kB / 0.8953 GB, free: 2.949 MB / 0.8073 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001421/0.04625, allocations: 0.6137 MB / 0.8959 GB, free: 2.32 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 6.214e-05/0.04632, allocations: 29.7 kB / 0.8959 GB, free: 2.285 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.04633, allocations: 4 kB / 0.8959 GB, free: 2.281 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.476e-05/0.04636, allocations: 4 kB / 0.8959 GB, free: 2.277 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005702/0.04693, allocations: 115.8 kB / 0.896 GB, free: 2.164 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-05/0.04695, allocations: 8 kB / 0.896 GB, free: 2.156 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004101/0.04736, allocations: 59.89 kB / 0.8961 GB, free: 2.098 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.512e-05/0.04741, allocations: 20 kB / 0.8961 GB, free: 2.078 MB / 0.8073 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.0003795/0.04779, allocations: 212 kB / 0.8963 GB, free: 1.863 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001714/0.04797, allocations: 75.62 kB / 0.8964 GB, free: 1.789 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001606/0.04813, allocations: 57.45 kB / 0.8964 GB, free: 1.734 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.04813, allocations: 4 kB / 0.8964 GB, free: 1.73 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.04814, allocations: 7.875 kB / 0.8964 GB, free: 1.723 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-06/0.04815, allocations: 3.984 kB / 0.8964 GB, free: 1.719 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002185/0.05034, allocations: 1.004 MB / 0.8974 GB, free: 0.6758 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.05034, allocations: 3.938 kB / 0.8974 GB, free: 0.6719 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005283/0.05087, allocations: 87.89 kB / 0.8975 GB, free: 0.5859 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/0.05088, allocations: 0 / 0.8975 GB, free: 0.5859 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.163e-05/0.05093, allocations: 19.92 kB / 0.8975 GB, free: 0.5664 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-06/0.05094, allocations: 4 kB / 0.8975 GB, free: 0.5625 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.05094, allocations: 0 / 0.8975 GB, free: 0.5625 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001707/0.05265, allocations: 0.7749 MB / 0.8983 GB, free: 15.77 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002501/0.0529, allocations: 95.52 kB / 0.8984 GB, free: 15.68 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.504e-05/0.05297, allocations: 11.94 kB / 0.8984 GB, free: 15.66 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003089/0.05328, allocations: 27.97 kB / 0.8984 GB, free: 15.64 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.05341, allocations: 36.44 kB / 0.8984 GB, free: 15.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.244e-05/0.05344, allocations: 19.92 kB / 0.8985 GB, free: 15.58 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0004634/0.0539, allocations: 299.1 kB / 0.8987 GB, free: 15.29 MB / 0.823 GB Notification: Performance of sort global known variables: time 8e-08/0.0539, allocations: 0 / 0.8987 GB, free: 15.29 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0005655/0.05447, allocations: 143.6 kB / 0.8989 GB, free: 15.15 MB / 0.823 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.0002032/0.05467, allocations: 109.3 kB / 0.899 GB, free: 15.04 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001208/0.05588, allocations: 495.6 kB / 0.8995 GB, free: 14.53 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.05588, allocations: 0 / 0.8995 GB, free: 14.53 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005028/0.05639, allocations: 202.8 kB / 0.8996 GB, free: 14.34 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008792/0.05727, allocations: 161.6 kB / 0.8998 GB, free: 14.18 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003303/0.06057, allocations: 1.276 MB / 0.901 GB, free: 12.86 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004173/0.06099, allocations: 296.7 kB / 0.9013 GB, free: 12.55 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.00031/0.0613, allocations: 60.55 kB / 0.9014 GB, free: 12.49 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/0.06144, allocations: 40.5 kB / 0.9014 GB, free: 12.45 MB / 0.823 GB Notification: Performance of SimCode: time 6.82e-07/0.06144, allocations: 0 / 0.9014 GB, free: 12.45 MB / 0.823 GB Notification: Performance of Templates: time 0.01474/0.07618, allocations: 5.807 MB / 0.9071 GB, free: 6.777 MB / 0.823 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Examples_LimPIDWithReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.48146507400088]