Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 193.5 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.865/2.865, allocations: 497.2 MB / 0.7845 GB, free: 33.64 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 65.64 kB / 1.139 GB, free: 33.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.2999, allocations: 173.9 MB / 1.309 GB, free: 15.98 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal): time 0.00247/0.3024, allocations: 0.9892 MB / 1.31 GB, free: 14.98 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00243/0.3048, allocations: 1.614 MB / 1.312 GB, free: 13.35 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001427/0.305, allocations: 4 kB / 1.312 GB, free: 13.35 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 6.322e-05/0.305, allocations: 11.81 kB / 1.312 GB, free: 13.34 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001293/0.3052, allocations: 23.72 kB / 1.312 GB, free: 13.31 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000733/0.3059, allocations: 231.2 kB / 1.312 GB, free: 13.09 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004311/0.3063, allocations: 331.5 kB / 1.312 GB, free: 12.77 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001742/0.3065, allocations: 62.39 kB / 1.312 GB, free: 12.7 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003251/0.3068, allocations: 151.6 kB / 1.313 GB, free: 12.55 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002338/0.3071, allocations: 131.6 kB / 1.313 GB, free: 12.43 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.584e-05/0.3071, allocations: 32 kB / 1.313 GB, free: 12.39 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.3072, allocations: 47.98 kB / 1.313 GB, free: 12.35 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.977e-05/0.3073, allocations: 67.81 kB / 1.313 GB, free: 12.28 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001561/0.3075, allocations: 119.5 kB / 1.313 GB, free: 12.16 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004063/0.3079, allocations: 338.8 kB / 1.313 GB, free: 11.83 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.3079, allocations: 4 kB / 1.313 GB, free: 11.83 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3079, allocations: 0 / 1.313 GB, free: 11.83 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.462e-05/0.3079, allocations: 0 / 1.313 GB, free: 11.83 MB / 1.014 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.001029/0.3089, allocations: 0.5491 MB / 1.314 GB, free: 11.22 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.309, allocations: 12.03 kB / 1.314 GB, free: 11.21 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.317e-05/0.3091, allocations: 20.84 kB / 1.314 GB, free: 11.19 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004206/0.3095, allocations: 276 kB / 1.314 GB, free: 10.88 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.529e-05/0.3095, allocations: 20.66 kB / 1.314 GB, free: 10.86 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.558e-05/0.3096, allocations: 32.36 kB / 1.314 GB, free: 10.83 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005207/0.3101, allocations: 236 kB / 1.314 GB, free: 10.6 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.3101, allocations: 0 / 1.314 GB, free: 10.6 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.294e-05/0.3102, allocations: 27.83 kB / 1.314 GB, free: 10.57 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.3102, allocations: 4 kB / 1.314 GB, free: 10.57 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005182/0.3107, allocations: 200.7 kB / 1.315 GB, free: 10.37 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001217/0.3119, allocations: 0.6486 MB / 1.315 GB, free: 9.672 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004577/0.3124, allocations: 158.5 kB / 1.315 GB, free: 9.508 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002617/0.3126, allocations: 96.8 kB / 1.315 GB, free: 9.41 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.3126, allocations: 4 kB / 1.315 GB, free: 9.406 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005324/0.3132, allocations: 286.8 kB / 1.316 GB, free: 9.113 MB / 1.014 GB Notification: Performance of pre-optimization done (n=27): time 1.974e-06/0.3132, allocations: 0 / 1.316 GB, free: 9.113 MB / 1.014 GB Notification: Performance of matching and sorting (n=27): time 0.001085/0.3143, allocations: 459.5 kB / 1.316 GB, free: 8.66 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.39e-05/0.3143, allocations: 55.34 kB / 1.316 GB, free: 8.594 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.3145, allocations: 151.3 kB / 1.316 GB, free: 8.438 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.56e-05/0.3146, allocations: 45.7 kB / 1.316 GB, free: 8.387 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.3147, allocations: 125 kB / 1.317 GB, free: 8.262 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.716e-05/0.3148, allocations: 67.53 kB / 1.317 GB, free: 8.195 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/0.3149, allocations: 77.67 kB / 1.317 GB, free: 8.113 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.3151, allocations: 326.8 kB / 1.317 GB, free: 7.785 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002445/0.3153, allocations: 107.9 kB / 1.317 GB, free: 7.68 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002538/0.3156, allocations: 146.4 kB / 1.317 GB, free: 7.523 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003634/0.3159, allocations: 217.3 kB / 1.317 GB, free: 7.297 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3159, allocations: 0 / 1.317 GB, free: 7.297 MB / 1.014 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006467/0.3166, allocations: 360.6 kB / 1.318 GB, free: 6.934 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.68e-05/0.3166, allocations: 37.69 kB / 1.318 GB, free: 6.891 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.3166, allocations: 0 / 1.318 GB, free: 6.891 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.3167, allocations: 4.062 kB / 1.318 GB, free: 6.887 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.3168, allocations: 35.92 kB / 1.318 GB, free: 6.852 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.3168, allocations: 4 kB / 1.318 GB, free: 6.848 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002598/0.3171, allocations: 55.78 kB / 1.318 GB, free: 6.793 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.243e-05/0.3171, allocations: 12 kB / 1.318 GB, free: 6.781 MB / 1.014 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,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition8,$whenCondition9,$whenCondition7) * 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.0001973/0.3173, allocations: 173.7 kB / 1.318 GB, free: 6.605 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.619e-05/0.3174, allocations: 23.8 kB / 1.318 GB, free: 6.582 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.333e-05/0.3174, allocations: 25.86 kB / 1.318 GB, free: 6.559 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.3174, allocations: 0 / 1.318 GB, free: 6.559 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.3174, allocations: 0 / 1.318 GB, free: 6.559 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.3174, allocations: 4 kB / 1.318 GB, free: 6.555 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/0.3185, allocations: 0.7363 MB / 1.319 GB, free: 5.762 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3185, allocations: 0 / 1.319 GB, free: 5.762 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.037e-05/0.3186, allocations: 15.92 kB / 1.319 GB, free: 5.746 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.3186, allocations: 4 kB / 1.319 GB, free: 5.742 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.894e-05/0.3186, allocations: 11.98 kB / 1.319 GB, free: 5.73 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.3187, allocations: 3.984 kB / 1.319 GB, free: 5.727 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3187, allocations: 0 / 1.319 GB, free: 5.727 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007992/0.3195, allocations: 456.4 kB / 1.319 GB, free: 5.266 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.402e-05/0.3195, allocations: 96.94 kB / 1.319 GB, free: 5.152 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.866e-05/0.3196, allocations: 24 kB / 1.319 GB, free: 5.129 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.3197, allocations: 19.97 kB / 1.319 GB, free: 5.109 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.574e-05/0.3198, allocations: 27.95 kB / 1.32 GB, free: 5.082 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.871e-05/0.3199, allocations: 19.98 kB / 1.32 GB, free: 5.062 MB / 1.014 GB Notification: Performance of sorting global known variables: time 8.296e-05/0.3199, allocations: 112.6 kB / 1.32 GB, free: 4.953 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.3199, allocations: 4 kB / 1.32 GB, free: 4.949 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000321/0.3203, allocations: 63.94 kB / 1.32 GB, free: 4.887 MB / 1.014 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 ($whenCondition7,$whenCondition9,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition2,$whenCondition4,$whenCondition3,$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.0002091/0.3205, allocations: 136.9 kB / 1.32 GB, free: 4.742 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006534/0.3211, allocations: 324 kB / 1.32 GB, free: 4.414 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.3211, allocations: 4.125 kB / 1.32 GB, free: 4.41 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000305/0.3214, allocations: 127.8 kB / 1.32 GB, free: 4.285 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.3217, allocations: 27.91 kB / 1.32 GB, free: 4.258 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000775/0.3225, allocations: 389 kB / 1.321 GB, free: 3.852 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.3229, allocations: 0.7285 MB / 1.321 GB, free: 3.098 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 7.668e-05/0.323, allocations: 21.95 kB / 1.321 GB, free: 3.074 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.11e-05/0.323, allocations: 27.42 kB / 1.321 GB, free: 3.047 MB / 1.014 GB Notification: Performance of SimCode: time 2.7e-07/0.323, allocations: 0 / 1.321 GB, free: 3.047 MB / 1.014 GB Notification: Performance of Templates: time 0.006946/0.33, allocations: 2.989 MB / 1.324 GB, free: 68 kB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal -abortSlowSimulation -alarm=800 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_HoldReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 7.925611997023225]