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.001382/0.001382, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001601/0.001601, allocations: 208.7 kB / 22.24 MB, free: 5.262 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.489/1.489, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.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 3.252/3.252, allocations: 0.4892 GB / 0.7943 GB, free: 35.57 MB / 0.6231 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.002161/0.002161, allocations: 70.05 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3813/0.3834, allocations: 176.1 MB / 1.326 GB, free: 1.883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal): time 0.002658/0.3861, allocations: 0.9361 MB / 1.326 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002698/0.3888, allocations: 1.595 MB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001357/0.3889, allocations: 3.938 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.229e-05/0.389, allocations: 19.8 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001273/0.3891, allocations: 19.73 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007454/0.3899, allocations: 227.3 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000443/0.3903, allocations: 299.5 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001932/0.3905, allocations: 70.72 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003918/0.3909, allocations: 135.6 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002126/0.3911, allocations: 107.6 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.72e-05/0.3912, allocations: 28 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001313/0.3913, allocations: 47.98 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.279e-05/0.3914, allocations: 63.77 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.3915, allocations: 103.7 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004381/0.392, allocations: 318.9 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.392, allocations: 3.984 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.543e-06/0.392, allocations: 4 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.212e-05/0.392, allocations: 0 / 1.329 GB, free: 13.92 MB / 1.029 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.001022/0.393, allocations: 475.4 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.393, allocations: 8.031 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002212/0.3933, allocations: 36.78 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004451/0.3937, allocations: 204.1 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.582e-05/0.3937, allocations: 28.58 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.624e-05/0.3938, allocations: 24.38 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004934/0.3943, allocations: 220 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.3943, allocations: 3.984 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.195e-05/0.3943, allocations: 15.98 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.3944, allocations: 4 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004186/0.3948, allocations: 168.7 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.3958, allocations: 0.4884 MB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004263/0.3962, allocations: 152.2 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002627/0.3965, allocations: 92.8 kB / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.3965, allocations: 4 kB / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000516/0.397, allocations: 253.7 kB / 1.331 GB, free: 11.66 MB / 1.029 GB Notification: Performance of pre-optimization done (n=27): time 2.024e-06/0.397, allocations: 0 / 1.331 GB, free: 11.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=27): time 0.001014/0.3981, allocations: 431.4 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.575e-05/0.3981, allocations: 63.39 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.3983, allocations: 143.3 kB / 1.332 GB, free: 11.01 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.933e-05/0.3983, allocations: 45.69 kB / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.3984, allocations: 124.9 kB / 1.332 GB, free: 10.83 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.437e-05/0.3985, allocations: 67.52 kB / 1.332 GB, free: 10.76 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.3986, allocations: 77.67 kB / 1.332 GB, free: 10.68 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.3988, allocations: 330.8 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002865/0.3991, allocations: 145.6 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002961/0.3994, allocations: 177 kB / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003989/0.3998, allocations: 217.3 kB / 1.333 GB, free: 9.777 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.3998, allocations: 0 / 1.333 GB, free: 9.777 MB / 1.029 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0007359/0.4005, allocations: 390 kB / 1.334 GB, free: 9.379 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.773e-05/0.4006, allocations: 45.62 kB / 1.334 GB, free: 9.328 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.4006, allocations: 64 / 1.334 GB, free: 9.328 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/0.4006, allocations: 8 kB / 1.334 GB, free: 9.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.4008, allocations: 27.92 kB / 1.334 GB, free: 9.293 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.4008, allocations: 4 kB / 1.334 GB, free: 9.289 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002561/0.401, allocations: 55.73 kB / 1.334 GB, free: 9.234 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.003e-05/0.4011, allocations: 16 kB / 1.334 GB, free: 9.219 MB / 1.029 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.0001923/0.4013, allocations: 162.3 kB / 1.334 GB, free: 9.055 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.566e-05/0.4013, allocations: 19.84 kB / 1.334 GB, free: 9.035 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.213e-05/0.4014, allocations: 25.95 kB / 1.334 GB, free: 9.008 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.4014, allocations: 4 kB / 1.334 GB, free: 9.004 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.4014, allocations: 3.938 kB / 1.334 GB, free: 9 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.4014, allocations: 0 / 1.334 GB, free: 9 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009964/0.4024, allocations: 0.6034 MB / 1.335 GB, free: 8.359 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.4024, allocations: 7.938 kB / 1.335 GB, free: 8.352 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.927e-05/0.4025, allocations: 8 kB / 1.335 GB, free: 8.344 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.4025, allocations: 3.984 kB / 1.335 GB, free: 8.34 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.055e-05/0.4025, allocations: 11.98 kB / 1.335 GB, free: 8.328 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.4025, allocations: 0 / 1.335 GB, free: 8.328 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4025, allocations: 4 kB / 1.335 GB, free: 8.324 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007603/0.4033, allocations: 444.3 kB / 1.335 GB, free: 7.875 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.566e-05/0.4033, allocations: 15.91 kB / 1.335 GB, free: 7.859 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.505e-05/0.4033, allocations: 23.98 kB / 1.335 GB, free: 7.836 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.4035, allocations: 15.98 kB / 1.335 GB, free: 7.82 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.892e-05/0.4036, allocations: 27.94 kB / 1.335 GB, free: 7.793 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.034e-05/0.4036, allocations: 19.98 kB / 1.335 GB, free: 7.773 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.238e-05/0.4037, allocations: 105 kB / 1.335 GB, free: 7.672 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4037, allocations: 0 / 1.335 GB, free: 7.672 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00038/0.4041, allocations: 63.92 kB / 1.335 GB, free: 7.609 MB / 1.029 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.0002234/0.4043, allocations: 136.9 kB / 1.335 GB, free: 7.465 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007028/0.405, allocations: 345.7 kB / 1.336 GB, free: 7.109 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.405, allocations: 0 / 1.336 GB, free: 7.109 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002928/0.4053, allocations: 123.8 kB / 1.336 GB, free: 6.988 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.4056, allocations: 23.92 kB / 1.336 GB, free: 6.965 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008343/0.4065, allocations: 381.4 kB / 1.336 GB, free: 6.566 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/0.4066, allocations: 108.5 kB / 1.336 GB, free: 6.438 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.765e-05/0.4067, allocations: 25.94 kB / 1.336 GB, free: 6.41 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.028e-05/0.4068, allocations: 27.44 kB / 1.336 GB, free: 6.383 MB / 1.029 GB Notification: Performance of SimCode: time 4.31e-07/0.4068, allocations: 0 / 1.336 GB, free: 6.383 MB / 1.029 GB Notification: Performance of Templates: time 0.007529/0.4143, allocations: 2.997 MB / 1.339 GB, free: 3.418 MB / 1.029 GB " [Timeout remaining time 300] 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 -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/jenkins/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.2621830124408]