Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001829/0.001829, allocations: 80.22 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001595/0.001595, allocations: 160.8 kB / 22.46 MB, free: 5.371 MB / 14.72 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.451/1.451, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.922/2.922, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 0.9814 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.697e-05/2.897e-05, allocations: 2.281 kB / 0.9814 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.00566/0.005689, allocations: 3.756 MB / 0.9851 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002769/0.008458, allocations: 1.332 MB / 0.9864 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003567/0.008815, allocations: 27.81 kB / 0.9864 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003656/0.009181, allocations: 134.6 kB / 0.9865 GB, free: 6.727 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003984/0.009579, allocations: 194.2 kB / 0.9867 GB, free: 6.535 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009491/0.01053, allocations: 418.9 kB / 0.9871 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001113/0.01164, allocations: 0.9746 MB / 0.9881 GB, free: 5.152 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005496/0.01219, allocations: 298.6 kB / 0.9883 GB, free: 4.84 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006276/0.01282, allocations: 0.495 MB / 0.9888 GB, free: 4.344 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003375/0.01316, allocations: 239.2 kB / 0.989 GB, free: 4.109 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001213/0.01328, allocations: 92 kB / 0.9891 GB, free: 4.02 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001491/0.01343, allocations: 92 kB / 0.9892 GB, free: 3.93 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001762/0.0136, allocations: 179.4 kB / 0.9894 GB, free: 3.754 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003156/0.01392, allocations: 255.3 kB / 0.9896 GB, free: 3.504 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001234/0.01515, allocations: 1.086 MB / 0.9907 GB, free: 2.414 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.01516, allocations: 0 / 0.9907 GB, free: 2.414 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.142e-06/0.01516, allocations: 0 / 0.9907 GB, free: 2.414 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.543e-05/0.01517, allocations: 0 / 0.9907 GB, free: 2.414 MB / 0.9356 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.002047/0.01722, allocations: 1.072 MB / 0.9917 GB, free: 1.301 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.914e-05/0.01728, allocations: 12.03 kB / 0.9918 GB, free: 1.289 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001656/0.01744, allocations: 84.42 kB / 0.9918 GB, free: 1.207 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009845/0.01843, allocations: 0.5108 MB / 0.9923 GB, free: 0.668 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.595e-05/0.01847, allocations: 41.69 kB / 0.9924 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.01858, allocations: 60.33 kB / 0.9924 GB, free: 0.5703 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/0.01979, allocations: 0.6583 MB / 0.9931 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.01981, allocations: 4.188 kB / 0.9931 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.578e-05/0.01986, allocations: 20.38 kB / 0.9931 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.119e-05/0.01988, allocations: 23.94 kB / 0.9931 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.02096, allocations: 457 kB / 0.9936 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002853/0.02381, allocations: 1.694 MB / 0.9952 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009807/0.02479, allocations: 423.8 kB / 0.9956 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004762/0.02527, allocations: 226.8 kB / 0.9958 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.297e-05/0.0253, allocations: 4.5 kB / 0.9958 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005599/0.02586, allocations: 262.2 kB / 0.9961 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=49): time 1.954e-06/0.02586, allocations: 0 / 0.9961 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of matching and sorting (n=49): time 0.001405/0.02727, allocations: 0.5865 MB / 0.9967 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.084e-05/0.02733, allocations: 67.83 kB / 0.9967 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000514/0.02784, allocations: 429.9 kB / 0.9971 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.605e-05/0.02789, allocations: 33.7 kB / 0.9972 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002813/0.02817, allocations: 333.6 kB / 0.9975 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001656/0.02833, allocations: 178.4 kB / 0.9977 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001514/0.02848, allocations: 94.33 kB / 0.9977 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002007/0.02869, allocations: 362.8 kB / 0.9981 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005074/0.02919, allocations: 198.9 kB / 0.9983 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004976/0.02969, allocations: 280.4 kB / 0.9985 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008847/0.03058, allocations: 451.2 kB / 0.999 GB, free: 9.637 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.03058, allocations: 4 kB / 0.999 GB, free: 9.633 MB / 0.9512 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001152/0.03173, allocations: 0.5941 MB / 0.9996 GB, free: 9.02 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.861e-05/0.03178, allocations: 33.7 kB / 0.9996 GB, free: 8.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.03179, allocations: 0 / 0.9996 GB, free: 8.98 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.03181, allocations: 7.984 kB / 0.9996 GB, free: 8.973 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005113/0.03232, allocations: 111.8 kB / 0.9997 GB, free: 8.863 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.683e-05/0.03234, allocations: 11.92 kB / 0.9997 GB, free: 8.852 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003224/0.03266, allocations: 47.72 kB / 0.9998 GB, free: 8.805 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.585e-05/0.0327, allocations: 24.22 kB / 0.9998 GB, free: 8.781 MB / 0.9512 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.0003174/0.03302, allocations: 217.6 kB / 1 GB, free: 8.559 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.127e-05/0.03311, allocations: 59.62 kB / 1 GB, free: 8.5 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001438/0.03326, allocations: 61.45 kB / 1 GB, free: 8.434 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.03327, allocations: 7.984 kB / 1 GB, free: 8.426 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.03328, allocations: 3.938 kB / 1 GB, free: 8.422 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.03328, allocations: 0 / 1 GB, free: 8.422 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001799/0.03508, allocations: 1 MB / 1.001 GB, free: 7.383 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.03508, allocations: 0 / 1.001 GB, free: 7.383 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004847/0.03557, allocations: 95.88 kB / 1.001 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.03557, allocations: 0 / 1.001 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.841e-05/0.03561, allocations: 15.94 kB / 1.001 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.03562, allocations: 4 kB / 1.001 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.03562, allocations: 0 / 1.001 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001487/0.03711, allocations: 0.7592 MB / 1.002 GB, free: 6.496 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001848/0.03729, allocations: 99.52 kB / 1.002 GB, free: 6.398 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.77e-05/0.03736, allocations: 19.88 kB / 1.002 GB, free: 6.379 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002868/0.03765, allocations: 23.97 kB / 1.002 GB, free: 6.355 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.03776, allocations: 36.44 kB / 1.002 GB, free: 6.32 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.229e-05/0.03779, allocations: 11.98 kB / 1.002 GB, free: 6.309 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000374/0.03817, allocations: 299.1 kB / 1.002 GB, free: 6.02 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.03817, allocations: 4 kB / 1.002 GB, free: 6.016 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004447/0.03861, allocations: 135.7 kB / 1.003 GB, free: 5.883 MB / 0.9512 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.0001544/0.03876, allocations: 111.2 kB / 1.003 GB, free: 5.766 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001028/0.03979, allocations: 495.7 kB / 1.003 GB, free: 5.266 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.0398, allocations: 0 / 1.003 GB, free: 5.266 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0004469/0.04024, allocations: 210.7 kB / 1.003 GB, free: 5.059 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000784/0.04103, allocations: 151.9 kB / 1.003 GB, free: 4.918 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002957/0.04398, allocations: 1.258 MB / 1.005 GB, free: 3.625 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003756/0.04436, allocations: 296.6 kB / 1.005 GB, free: 3.312 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002958/0.04465, allocations: 64.48 kB / 1.005 GB, free: 3.246 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.04481, allocations: 44.48 kB / 1.005 GB, free: 3.203 MB / 0.9512 GB Notification: Performance of SimCode: time 5.51e-07/0.04481, allocations: 0 / 1.005 GB, free: 3.203 MB / 0.9512 GB Notification: Performance of Templates: time 0.01351/0.05831, allocations: 5.758 MB / 1.011 GB, free: 13.59 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Examples_LimPIDWithReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.258856981992722]