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.001209/0.001209, allocations: 115.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.001534/0.001534, allocations: 193.5 kB / 22.17 MB, free: 5.652 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.366/1.366, allocations: 225.6 MB / 250.9 MB, free: 13.27 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 3.005/3.005, allocations: 497.2 MB / 0.7845 GB, free: 33.58 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.001856/0.001856, allocations: 71.03 kB / 1.139 GB, free: 33.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3159, allocations: 173.9 MB / 1.309 GB, free: 16 kB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal): time 0.002565/0.3185, allocations: 0.9932 MB / 1.31 GB, free: 15.01 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002612/0.3211, allocations: 1.607 MB / 1.312 GB, free: 13.39 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001553/0.3212, allocations: 4 kB / 1.312 GB, free: 13.38 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.766e-05/0.3213, allocations: 11.81 kB / 1.312 GB, free: 13.37 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001527/0.3215, allocations: 31.72 kB / 1.312 GB, free: 13.34 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007513/0.3222, allocations: 230.6 kB / 1.312 GB, free: 13.12 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004354/0.3226, allocations: 327.4 kB / 1.312 GB, free: 12.8 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001722/0.3228, allocations: 62.39 kB / 1.312 GB, free: 12.73 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003375/0.3232, allocations: 147.6 kB / 1.313 GB, free: 12.59 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000217/0.3234, allocations: 135.6 kB / 1.313 GB, free: 12.46 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.13e-05/0.3234, allocations: 32 kB / 1.313 GB, free: 12.43 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.3235, allocations: 51.98 kB / 1.313 GB, free: 12.38 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.108e-05/0.3236, allocations: 67.81 kB / 1.313 GB, free: 12.31 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001605/0.3238, allocations: 115.6 kB / 1.313 GB, free: 12.2 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0005026/0.3243, allocations: 342.9 kB / 1.313 GB, free: 11.86 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3243, allocations: 0 / 1.313 GB, free: 11.86 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3243, allocations: 0 / 1.313 GB, free: 11.86 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.3243, allocations: 0 / 1.313 GB, free: 11.86 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.0009702/0.3253, allocations: 0.5435 MB / 1.314 GB, free: 11.26 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.3253, allocations: 12.03 kB / 1.314 GB, free: 11.25 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.705e-05/0.3254, allocations: 28.83 kB / 1.314 GB, free: 11.22 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004327/0.3258, allocations: 265.7 kB / 1.314 GB, free: 10.92 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.008e-05/0.3258, allocations: 20.66 kB / 1.314 GB, free: 10.9 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.71e-05/0.3259, allocations: 32.36 kB / 1.314 GB, free: 10.87 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005085/0.3264, allocations: 236 kB / 1.314 GB, free: 10.64 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.3264, allocations: 7.938 kB / 1.314 GB, free: 10.63 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.735e-05/0.3265, allocations: 19.95 kB / 1.314 GB, free: 10.61 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.3265, allocations: 4 kB / 1.314 GB, free: 10.61 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004563/0.3269, allocations: 200.6 kB / 1.315 GB, free: 10.41 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/0.328, allocations: 0.6525 MB / 1.315 GB, free: 9.707 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004806/0.3285, allocations: 158.5 kB / 1.315 GB, free: 9.543 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002542/0.3287, allocations: 92.8 kB / 1.315 GB, free: 9.449 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.3288, allocations: 7.984 kB / 1.315 GB, free: 9.441 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005268/0.3293, allocations: 282.8 kB / 1.316 GB, free: 9.152 MB / 1.014 GB Notification: Performance of pre-optimization done (n=27): time 1.854e-06/0.3293, allocations: 0 / 1.316 GB, free: 9.152 MB / 1.014 GB Notification: Performance of matching and sorting (n=27): time 0.001064/0.3303, allocations: 467.4 kB / 1.316 GB, free: 8.691 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.3304, allocations: 51.41 kB / 1.316 GB, free: 8.629 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.3305, allocations: 151.3 kB / 1.316 GB, free: 8.473 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.648e-05/0.3306, allocations: 45.7 kB / 1.316 GB, free: 8.422 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 9.83e-05/0.3307, allocations: 121 kB / 1.317 GB, free: 8.301 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.695e-05/0.3307, allocations: 67.53 kB / 1.317 GB, free: 8.234 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/0.3309, allocations: 81.67 kB / 1.317 GB, free: 8.148 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.331, allocations: 330.8 kB / 1.317 GB, free: 7.816 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002391/0.3313, allocations: 111.9 kB / 1.317 GB, free: 7.707 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002729/0.3316, allocations: 150.3 kB / 1.317 GB, free: 7.551 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004216/0.332, allocations: 205.3 kB / 1.317 GB, free: 7.336 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.332, allocations: 0 / 1.317 GB, free: 7.336 MB / 1.014 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006323/0.3326, allocations: 368.6 kB / 1.318 GB, free: 6.965 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.997e-05/0.3327, allocations: 37.69 kB / 1.318 GB, free: 6.922 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3327, allocations: 0 / 1.318 GB, free: 6.922 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.3327, allocations: 4 kB / 1.318 GB, free: 6.918 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.3328, allocations: 35.86 kB / 1.318 GB, free: 6.883 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.3328, allocations: 7.984 kB / 1.318 GB, free: 6.875 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002433/0.3331, allocations: 47.84 kB / 1.318 GB, free: 6.828 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.132e-05/0.3331, allocations: 16.06 kB / 1.318 GB, free: 6.812 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.0001718/0.3333, allocations: 165.7 kB / 1.318 GB, free: 6.645 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.745e-05/0.3333, allocations: 27.8 kB / 1.318 GB, free: 6.617 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.69e-05/0.3334, allocations: 21.86 kB / 1.318 GB, free: 6.598 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3334, allocations: 0 / 1.318 GB, free: 6.598 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3334, allocations: 0 / 1.318 GB, free: 6.598 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/0.3334, allocations: 15.92 kB / 1.318 GB, free: 6.582 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.3345, allocations: 0.7286 MB / 1.319 GB, free: 5.797 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3345, allocations: 0 / 1.319 GB, free: 5.797 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.871e-05/0.3346, allocations: 15.98 kB / 1.319 GB, free: 5.781 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.3346, allocations: 4 kB / 1.319 GB, free: 5.777 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.624e-05/0.3346, allocations: 7.984 kB / 1.319 GB, free: 5.77 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.3346, allocations: 0 / 1.319 GB, free: 5.77 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3346, allocations: 7.938 kB / 1.319 GB, free: 5.762 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008052/0.3354, allocations: 456.4 kB / 1.319 GB, free: 5.301 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.668e-05/0.3355, allocations: 92.95 kB / 1.319 GB, free: 5.191 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.642e-05/0.3355, allocations: 23.98 kB / 1.319 GB, free: 5.168 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/0.3357, allocations: 27.97 kB / 1.319 GB, free: 5.141 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.263e-05/0.3357, allocations: 23.97 kB / 1.32 GB, free: 5.117 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.24e-05/0.3358, allocations: 23.97 kB / 1.32 GB, free: 5.094 MB / 1.014 GB Notification: Performance of sorting global known variables: time 9.589e-05/0.3359, allocations: 108.6 kB / 1.32 GB, free: 4.988 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.3359, allocations: 0 / 1.32 GB, free: 4.988 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003228/0.3362, allocations: 67.92 kB / 1.32 GB, free: 4.922 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.0002658/0.3365, allocations: 139 kB / 1.32 GB, free: 4.777 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006498/0.3371, allocations: 324.1 kB / 1.32 GB, free: 4.449 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3371, allocations: 0 / 1.32 GB, free: 4.449 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000312/0.3374, allocations: 135.8 kB / 1.32 GB, free: 4.316 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.3377, allocations: 37.81 kB / 1.32 GB, free: 4.281 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008095/0.3386, allocations: 389.2 kB / 1.321 GB, free: 3.875 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.3389, allocations: 0.7207 MB / 1.321 GB, free: 3.129 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 8.694e-05/0.339, allocations: 29.94 kB / 1.321 GB, free: 3.098 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.542e-05/0.3391, allocations: 27.42 kB / 1.321 GB, free: 3.07 MB / 1.014 GB Notification: Performance of SimCode: time 3.71e-07/0.3391, allocations: 0 / 1.321 GB, free: 3.07 MB / 1.014 GB Notification: Performance of Templates: time 0.006956/0.3461, allocations: 2.97 MB / 1.324 GB, free: 108 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 cvode -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: 8.192207809071988]