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.0008681/0.0008681, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.001329/0.001329, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.9285/0.9285, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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 1.768/1.768, allocations: 377.8 MB / 0.6228 GB, free: 8.645 MB / 0.5886 GB " [Timeout remaining time 178] 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.863e-06/1.863e-06, allocations: 0 / 0.9821 GB, free: 2.102 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.068e-05/3.254e-05, allocations: 5.234 kB / 0.9822 GB, free: 2.098 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.00607/0.006102, allocations: 3.768 MB / 0.9858 GB, free: 14.31 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.003416/0.009518, allocations: 1.324 MB / 0.9871 GB, free: 12.98 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007007/0.01022, allocations: 31.75 kB / 0.9872 GB, free: 12.95 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004354/0.01065, allocations: 126.8 kB / 0.9873 GB, free: 12.82 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.00054/0.01119, allocations: 186.3 kB / 0.9875 GB, free: 12.64 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.0123, allocations: 434.6 kB / 0.9879 GB, free: 12.21 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001003/0.0133, allocations: 0.9746 MB / 0.9888 GB, free: 11.24 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005642/0.01386, allocations: 286.6 kB / 0.9891 GB, free: 10.94 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005903/0.01446, allocations: 0.495 MB / 0.9896 GB, free: 10.44 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003334/0.01479, allocations: 239.2 kB / 0.9898 GB, free: 10.21 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001175/0.01491, allocations: 92 kB / 0.9899 GB, free: 10.12 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.01501, allocations: 92 kB / 0.99 GB, free: 10.03 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001561/0.01517, allocations: 183.3 kB / 0.9902 GB, free: 9.848 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002705/0.01544, allocations: 251.4 kB / 0.9904 GB, free: 9.602 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001274/0.01672, allocations: 1.086 MB / 0.9915 GB, free: 8.512 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.01672, allocations: 0 / 0.9915 GB, free: 8.512 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.623e-06/0.01672, allocations: 0 / 0.9915 GB, free: 8.512 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.01673, allocations: 0 / 0.9915 GB, free: 8.512 MB / 0.948 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.001702/0.01843, allocations: 1.076 MB / 0.9925 GB, free: 7.395 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.889e-05/0.01849, allocations: 12.03 kB / 0.9925 GB, free: 7.383 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001533/0.01865, allocations: 92.36 kB / 0.9926 GB, free: 7.293 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009184/0.01956, allocations: 0.4953 MB / 0.9931 GB, free: 6.766 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.579e-05/0.01961, allocations: 45.69 kB / 0.9931 GB, free: 6.723 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.712e-05/0.01971, allocations: 68.27 kB / 0.9932 GB, free: 6.656 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.02078, allocations: 0.6583 MB / 0.9938 GB, free: 5.961 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/0.02081, allocations: 192 / 0.9938 GB, free: 5.961 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.774e-05/0.02087, allocations: 28.38 kB / 0.9939 GB, free: 5.934 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/0.02088, allocations: 15.94 kB / 0.9939 GB, free: 5.918 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009495/0.02183, allocations: 457 kB / 0.9943 GB, free: 5.469 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001894/0.02373, allocations: 1.702 MB / 0.996 GB, free: 3.723 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000581/0.02431, allocations: 424.8 kB / 0.9964 GB, free: 3.297 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002673/0.02458, allocations: 222.7 kB / 0.9966 GB, free: 3.078 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.179e-05/0.02461, allocations: 4.5 kB / 0.9966 GB, free: 3.074 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003504/0.02496, allocations: 262.2 kB / 0.9969 GB, free: 2.809 MB / 0.948 GB Notification: Performance of pre-optimization done (n=49): time 2.214e-06/0.02496, allocations: 0 / 0.9969 GB, free: 2.809 MB / 0.948 GB Notification: Performance of matching and sorting (n=49): time 0.0007979/0.02576, allocations: 0.5826 MB / 0.9974 GB, free: 2.223 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.0258, allocations: 59.84 kB / 0.9975 GB, free: 2.152 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003082/0.02611, allocations: 433.9 kB / 0.9979 GB, free: 1.719 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.02613, allocations: 41.7 kB / 0.9979 GB, free: 1.672 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001653/0.0263, allocations: 329.6 kB / 0.9982 GB, free: 1.348 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001919/0.02649, allocations: 182.4 kB / 0.9984 GB, free: 1.168 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.313e-05/0.02658, allocations: 90.34 kB / 0.9985 GB, free: 1.074 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.02669, allocations: 366.8 kB / 0.9989 GB, free: 0.707 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002398/0.02693, allocations: 190.9 kB / 0.999 GB, free: 0.5117 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002641/0.02719, allocations: 280.3 kB / 0.9993 GB, free: 212 kB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004917/0.02768, allocations: 455.2 kB / 0.9997 GB, free: 15.73 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.02769, allocations: 4 kB / 0.9997 GB, free: 15.73 MB / 0.9636 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.000613/0.0283, allocations: 0.5863 MB / 1 GB, free: 15.12 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.07e-05/0.02833, allocations: 33.7 kB / 1 GB, free: 15.08 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.02834, allocations: 7.984 kB / 1 GB, free: 15.07 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.02835, allocations: 4.25 kB / 1 GB, free: 15.07 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002567/0.02861, allocations: 111.9 kB / 1 GB, free: 14.96 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.02862, allocations: 11.88 kB / 1 GB, free: 14.95 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.02877, allocations: 59.7 kB / 1.001 GB, free: 14.89 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.02879, allocations: 16 kB / 1.001 GB, free: 14.88 MB / 0.9636 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.0001688/0.02896, allocations: 221.6 kB / 1.001 GB, free: 14.65 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.288e-05/0.029, allocations: 55.62 kB / 1.001 GB, free: 14.59 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.729e-05/0.02908, allocations: 65.44 kB / 1.001 GB, free: 14.53 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.02908, allocations: 8 kB / 1.001 GB, free: 14.52 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.02909, allocations: 3.938 kB / 1.001 GB, free: 14.52 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.02909, allocations: 3.984 kB / 1.001 GB, free: 14.51 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000973/0.03007, allocations: 0.9845 MB / 1.002 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.03007, allocations: 0 / 1.002 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002357/0.0303, allocations: 99.81 kB / 1.002 GB, free: 13.39 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.03031, allocations: 8 kB / 1.002 GB, free: 13.38 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.03033, allocations: 15.94 kB / 1.002 GB, free: 13.37 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.03033, allocations: 3.984 kB / 1.002 GB, free: 13.36 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.03033, allocations: 0 / 1.002 GB, free: 13.36 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000783/0.03112, allocations: 0.7631 MB / 1.003 GB, free: 12.58 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.03122, allocations: 91.52 kB / 1.003 GB, free: 12.49 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.552e-05/0.03126, allocations: 19.94 kB / 1.003 GB, free: 12.47 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.03139, allocations: 32.05 kB / 1.003 GB, free: 12.44 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.21e-05/0.03146, allocations: 36.42 kB / 1.003 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.03148, allocations: 12 kB / 1.003 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001953/0.03167, allocations: 295.1 kB / 1.003 GB, free: 12.11 MB / 0.9636 GB Notification: Performance of sort global known variables: time 9e-08/0.03167, allocations: 0 / 1.003 GB, free: 12.11 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002528/0.03192, allocations: 143.7 kB / 1.003 GB, free: 11.97 MB / 0.9636 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.000108/0.03203, allocations: 119.1 kB / 1.003 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0005635/0.03259, allocations: 483.3 kB / 1.004 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.0326, allocations: 0 / 1.004 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0002338/0.03283, allocations: 207.2 kB / 1.004 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000442/0.03327, allocations: 142.1 kB / 1.004 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001643/0.03492, allocations: 1.285 MB / 1.005 GB, free: 9.695 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001797/0.0351, allocations: 292.7 kB / 1.006 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.0352, allocations: 48.48 kB / 1.006 GB, free: 9.34 MB / 0.9636 GB Notification: Performance of SimCode: time 6.71e-07/0.0352, allocations: 4 kB / 1.006 GB, free: 9.336 MB / 0.9636 GB Notification: Performance of Templates: time 0.006552/0.04175, allocations: 7.829 MB / 1.013 GB, free: 1.543 MB / 0.9636 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: 7.171131493523717]