Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.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.001347/0.001347, allocations: 79.81 kB / 19.76 MB, free: 2.031 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.001763/0.001763, allocations: 157.6 kB / 23.01 MB, free: 4.945 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.458/1.458, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.858/2.858, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Templates.Plants.Controls.Utilities.Validation.HoldReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y|booPul.y|hol.y|holTim.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y|booPul.y|hol.y|holTim.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002463/0.002463, allocations: 67.89 kB / 0.9819 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.035/1.038, allocations: 176.1 MB / 1.154 GB, free: 33.31 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal): time 0.002237/1.04, allocations: 0.9428 MB / 1.155 GB, free: 32.72 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002046/1.042, allocations: 1.597 MB / 1.156 GB, free: 31.57 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/1.042, allocations: 6.781 kB / 1.156 GB, free: 31.57 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 4.529e-05/1.042, allocations: 14.77 kB / 1.156 GB, free: 31.56 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001322/1.042, allocations: 25.52 kB / 1.156 GB, free: 31.54 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000628/1.043, allocations: 226.6 kB / 1.157 GB, free: 31.41 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002935/1.043, allocations: 306.5 kB / 1.157 GB, free: 31.27 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/1.043, allocations: 48.12 kB / 1.157 GB, free: 31.25 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002933/1.044, allocations: 159.4 kB / 1.157 GB, free: 31.16 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001597/1.044, allocations: 100.7 kB / 1.157 GB, free: 31.12 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.594e-05/1.044, allocations: 34.58 kB / 1.157 GB, free: 31.12 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/1.044, allocations: 46.61 kB / 1.157 GB, free: 31.12 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 5.9e-05/1.044, allocations: 57.34 kB / 1.157 GB, free: 31.08 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001167/1.044, allocations: 102 kB / 1.157 GB, free: 31.02 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003189/1.044, allocations: 325.8 kB / 1.158 GB, free: 30.9 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/1.044, allocations: 0 / 1.158 GB, free: 30.9 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.623e-06/1.044, allocations: 0 / 1.158 GB, free: 30.9 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.534e-06/1.044, allocations: 2.531 kB / 1.158 GB, free: 30.9 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0008721/1.045, allocations: 466.9 kB / 1.158 GB, free: 30.53 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/1.045, allocations: 11.22 kB / 1.158 GB, free: 30.53 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002247/1.046, allocations: 35.03 kB / 1.158 GB, free: 30.52 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003794/1.046, allocations: 205.6 kB / 1.158 GB, free: 30.34 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.607e-05/1.046, allocations: 25.55 kB / 1.158 GB, free: 30.33 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.334e-05/1.046, allocations: 24.62 kB / 1.158 GB, free: 30.32 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004315/1.046, allocations: 221.9 kB / 1.159 GB, free: 30.23 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/1.046, allocations: 2.812 kB / 1.159 GB, free: 30.23 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.926e-05/1.047, allocations: 13.36 kB / 1.159 GB, free: 30.23 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/1.047, allocations: 9.047 kB / 1.159 GB, free: 30.23 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003673/1.047, allocations: 169.1 kB / 1.159 GB, free: 30.18 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007718/1.048, allocations: 0.4914 MB / 1.159 GB, free: 29.84 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003672/1.048, allocations: 149.1 kB / 1.16 GB, free: 29.78 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002028/1.048, allocations: 83.05 kB / 1.16 GB, free: 29.75 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/1.048, allocations: 2.875 kB / 1.16 GB, free: 29.75 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000447/1.049, allocations: 273.4 kB / 1.16 GB, free: 29.62 MB / 1.076 GB Notification: Performance of pre-optimization done (n=27): time 1.674e-06/1.049, allocations: 0 / 1.16 GB, free: 29.62 MB / 1.076 GB Notification: Performance of matching and sorting (n=27): time 0.0008814/1.05, allocations: 426.4 kB / 1.16 GB, free: 29.48 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/1.05, allocations: 57.3 kB / 1.16 GB, free: 29.42 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/1.05, allocations: 156.2 kB / 1.16 GB, free: 29.29 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.798e-05/1.05, allocations: 46.36 kB / 1.161 GB, free: 29.25 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.325e-05/1.05, allocations: 124.3 kB / 1.161 GB, free: 29.14 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.299e-05/1.05, allocations: 66.55 kB / 1.161 GB, free: 29.09 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/1.05, allocations: 79.11 kB / 1.161 GB, free: 29.05 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.393e-05/1.05, allocations: 331.2 kB / 1.161 GB, free: 28.73 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002064/1.05, allocations: 133 kB / 1.161 GB, free: 28.66 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002151/1.05, allocations: 180.3 kB / 1.161 GB, free: 28.55 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002992/1.051, allocations: 223.5 kB / 1.162 GB, free: 28.42 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/1.051, allocations: 3.938 kB / 1.162 GB, free: 28.41 MB / 1.076 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005272/1.051, allocations: 392 kB / 1.162 GB, free: 28.21 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.135e-05/1.051, allocations: 38.61 kB / 1.162 GB, free: 28.17 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/1.051, allocations: 0 / 1.162 GB, free: 28.17 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/1.051, allocations: 2.875 kB / 1.162 GB, free: 28.17 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/1.052, allocations: 34.16 kB / 1.162 GB, free: 28.16 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/1.052, allocations: 6.438 kB / 1.162 GB, free: 28.16 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000226/1.052, allocations: 51.28 kB / 1.162 GB, free: 28.14 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.113e-05/1.052, allocations: 15.66 kB / 1.162 GB, free: 28.14 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 39 ($whenCondition5,$whenCondition6,holTim.truHol.entryTimeFalse,$PRE.holTim.truHol.entryTimeFalse,holTim.truHol.entryTimeTrue,$PRE.holTim.truHol.entryTimeTrue,holTim.truHol.not_y,$PRE.holTim.truHol.not_y,holTim.truHol.not_u,$PRE.holTim.truHol.not_u,holTim.truHol.y,$PRE.holTim.truHol.y,holTim.truHol.u,$PRE.holTim.truHol.u,holTim.triSam.y,$PRE.holTim.triSam.y,booPul.y,$PRE.booPul.y,hol.truHol.entryTimeFalse,$PRE.hol.truHol.entryTimeFalse,hol.truHol.entryTimeTrue,$PRE.hol.truHol.entryTimeTrue,hol.truHol.not_y,$PRE.hol.truHol.not_y,hol.truHol.not_u,$PRE.hol.truHol.not_u,hol.truHol.y,$PRE.hol.truHol.y,hol.truHol.u,$PRE.hol.truHol.u,hol.triSam.y,$PRE.hol.triSam.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition7,$whenCondition8,$whenCondition9) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * 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.0001219/1.052, allocations: 157.7 kB / 1.162 GB, free: 28 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.25e-05/1.052, allocations: 20.69 kB / 1.162 GB, free: 27.99 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.643e-05/1.052, allocations: 20.91 kB / 1.162 GB, free: 27.97 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/1.052, allocations: 6.328 kB / 1.162 GB, free: 27.97 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/1.052, allocations: 4 kB / 1.162 GB, free: 27.96 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/1.052, allocations: 0 / 1.162 GB, free: 27.96 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007583/1.053, allocations: 0.6037 MB / 1.163 GB, free: 27.6 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/1.053, allocations: 0 / 1.163 GB, free: 27.6 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.414e-05/1.053, allocations: 19.53 kB / 1.163 GB, free: 27.59 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/1.053, allocations: 0 / 1.163 GB, free: 27.59 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/1.053, allocations: 9.266 kB / 1.163 GB, free: 27.59 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/1.053, allocations: 4 kB / 1.163 GB, free: 27.59 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/1.053, allocations: 3.609 kB / 1.163 GB, free: 27.59 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006135/1.053, allocations: 446.7 kB / 1.163 GB, free: 27.35 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.034e-05/1.054, allocations: 17.22 kB / 1.163 GB, free: 27.34 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.682e-05/1.054, allocations: 20.5 kB / 1.163 GB, free: 27.33 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/1.054, allocations: 17.42 kB / 1.163 GB, free: 27.33 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.26e-05/1.054, allocations: 25.22 kB / 1.163 GB, free: 27.32 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.844e-05/1.054, allocations: 22.08 kB / 1.163 GB, free: 27.32 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.519e-05/1.054, allocations: 114.4 kB / 1.164 GB, free: 27.23 MB / 1.076 GB Notification: Performance of sort global known variables: time 6e-08/1.054, allocations: 3.938 kB / 1.164 GB, free: 27.23 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000318/1.054, allocations: 56.34 kB / 1.164 GB, free: 27.22 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,hol.triSam.y,hol.truHol.u,hol.truHol.y,hol.truHol.not_u,hol.truHol.not_y,hol.truHol.entryTimeTrue,hol.truHol.entryTimeFalse,booPul.y,holTim.triSam.y,holTim.truHol.u,holTim.truHol.y,holTim.truHol.not_u,holTim.truHol.not_y,holTim.truHol.entryTimeTrue,holTim.truHol.entryTimeFalse) * Number of discrete states: 12 (holTim.truHol.entryTimeFalse,holTim.truHol.entryTimeTrue,hol.truHol.entryTimeFalse,hol.truHol.entryTimeTrue,holTim.truHol.not_u,hol.truHol.u,hol.truHol.not_u,holTim.truHol.u,holTim.truHol.y,holTim.truHol.not_y,hol.truHol.y,hol.truHol.not_y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0001566/1.054, allocations: 143.7 kB / 1.164 GB, free: 27.11 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005512/1.055, allocations: 343.1 kB / 1.164 GB, free: 26.93 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.055, allocations: 2.906 kB / 1.164 GB, free: 26.93 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002414/1.055, allocations: 115.1 kB / 1.164 GB, free: 26.9 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/1.055, allocations: 27.86 kB / 1.164 GB, free: 26.89 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006393/1.056, allocations: 371.7 kB / 1.165 GB, free: 26.65 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.04e-05/1.056, allocations: 116.2 kB / 1.165 GB, free: 26.57 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.978e-05/1.056, allocations: 21.33 kB / 1.165 GB, free: 26.57 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.399e-05/1.056, allocations: 25.47 kB / 1.165 GB, free: 26.55 MB / 1.076 GB Notification: Performance of SimCode: time 3.2e-07/1.056, allocations: 0 / 1.165 GB, free: 26.55 MB / 1.076 GB Notification: Performance of Templates: time 0.00617/1.062, allocations: 2.882 MB / 1.168 GB, free: 26.2 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_HoldReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.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: 9.102751202997752]