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.001363/0.001363, allocations: 80.92 kB / 20.75 MB, free: 3.738 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.001626/0.001626, allocations: 165 kB / 24.17 MB, free: 328 kB / 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 1.039/1.039, allocations: 177.1 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.936/1.936, allocations: 377.9 MB / 0.624 GB, free: 8.34 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 2.514e-06/2.514e-06, allocations: 0 / 0.76 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.758e-05/3.01e-05, allocations: 9.203 kB / 0.76 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal): time 0.002127/0.002157, allocations: 1.023 MB / 0.761 GB, free: 5.57 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002202/0.004359, allocations: 1.647 MB / 0.7627 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.942e-05/0.004458, allocations: 7.938 kB / 0.7627 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.33e-05/0.004501, allocations: 12.94 kB / 0.7627 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.004626, allocations: 33.31 kB / 0.7627 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000536/0.005162, allocations: 213.6 kB / 0.7629 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003036/0.005465, allocations: 307.3 kB / 0.7632 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001471/0.005612, allocations: 64.53 kB / 0.7633 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003484/0.005961, allocations: 187.7 kB / 0.7634 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.006099, allocations: 96.27 kB / 0.7635 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0003471/0.006446, allocations: 29.53 kB / 0.7636 GB, free: 2.996 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.00656, allocations: 51.97 kB / 0.7636 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.155e-05/0.006611, allocations: 59.77 kB / 0.7637 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 9.718e-05/0.006708, allocations: 87.8 kB / 0.7638 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002794/0.006988, allocations: 228.5 kB / 0.764 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.006991, allocations: 0 / 0.764 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.102e-06/0.006992, allocations: 0 / 0.764 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.006996, allocations: 4 kB / 0.764 GB, free: 2.574 MB / 0.7136 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.000632/0.007628, allocations: 436.2 kB / 0.7644 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.007665, allocations: 12.03 kB / 0.7644 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001791/0.007844, allocations: 41.39 kB / 0.7644 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.008098, allocations: 175.8 kB / 0.7646 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.326e-05/0.008132, allocations: 21.41 kB / 0.7646 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.48e-05/0.008167, allocations: 24.36 kB / 0.7647 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002778/0.008444, allocations: 179.2 kB / 0.7648 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.008453, allocations: 192 / 0.7648 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.008475, allocations: 16.36 kB / 0.7648 GB, free: 1.633 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-06/0.008483, allocations: 7.938 kB / 0.7648 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001637/0.008647, allocations: 95.27 kB / 0.7649 GB, free: 1.535 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005793/0.009226, allocations: 341 kB / 0.7653 GB, free: 1.188 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/0.009396, allocations: 86.52 kB / 0.7653 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.686e-05/0.009463, allocations: 41.86 kB / 0.7654 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.009483, allocations: 7.938 kB / 0.7654 GB, free: 1.043 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002658/0.009749, allocations: 206 kB / 0.7656 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=27): time 1.924e-06/0.009751, allocations: 0 / 0.7656 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of matching and sorting (n=27): time 0.0003237/0.01007, allocations: 193.8 kB / 0.7658 GB, free: 0.6406 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.01011, allocations: 59.34 kB / 0.7658 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.01021, allocations: 160.7 kB / 0.766 GB, free: 412 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.483e-05/0.01025, allocations: 41.7 kB / 0.766 GB, free: 364 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.615e-05/0.0103, allocations: 117 kB / 0.7661 GB, free: 244 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.265e-05/0.01036, allocations: 63.55 kB / 0.7662 GB, free: 180 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.941e-05/0.01046, allocations: 80.67 kB / 0.7663 GB, free: 96 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.01057, allocations: 330.8 kB / 0.7666 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.01067, allocations: 73.67 kB / 0.7667 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.01078, allocations: 117.2 kB / 0.7668 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001642/0.01095, allocations: 148.9 kB / 0.7669 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01095, allocations: 0 / 0.7669 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0002917/0.01124, allocations: 263 kB / 0.7672 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.746e-05/0.01128, allocations: 30.64 kB / 0.7672 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.01128, allocations: 0 / 0.7672 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.0113, allocations: 4.656 kB / 0.7672 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.01143, allocations: 43.91 kB / 0.7672 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.01144, allocations: 5.688 kB / 0.7672 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.01157, allocations: 39.83 kB / 0.7673 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.561e-05/0.01159, allocations: 15.98 kB / 0.7673 GB, free: 14.98 MB / 0.7292 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.0001186/0.01171, allocations: 148.2 kB / 0.7674 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.615e-05/0.01175, allocations: 23.97 kB / 0.7675 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.922e-05/0.01179, allocations: 21.97 kB / 0.7675 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.01179, allocations: 2.5 kB / 0.7675 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.01179, allocations: 3.984 kB / 0.7675 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.0118, allocations: 3.938 kB / 0.7675 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000394/0.01219, allocations: 370.8 kB / 0.7678 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.0122, allocations: 0 / 0.7678 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.876e-05/0.01226, allocations: 17.98 kB / 0.7679 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.01226, allocations: 0 / 0.7679 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.889e-05/0.01228, allocations: 11.98 kB / 0.7679 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.01228, allocations: 0 / 0.7679 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.01228, allocations: 3.938 kB / 0.7679 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002325/0.01251, allocations: 251.4 kB / 0.7681 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.61e-05/0.01253, allocations: 18.28 kB / 0.7681 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.449e-05/0.01258, allocations: 19.98 kB / 0.7682 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.01268, allocations: 19.98 kB / 0.7682 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.105e-05/0.01274, allocations: 31.88 kB / 0.7682 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.843e-05/0.01277, allocations: 11.98 kB / 0.7682 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.208e-05/0.0128, allocations: 30.55 kB / 0.7682 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.0128, allocations: 3.938 kB / 0.7682 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002736/0.01307, allocations: 59.95 kB / 0.7683 GB, free: 13.9 MB / 0.7292 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.0001643/0.01324, allocations: 116 kB / 0.7684 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003008/0.01354, allocations: 256.1 kB / 0.7687 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.01354, allocations: 4 kB / 0.7687 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.01365, allocations: 77.2 kB / 0.7687 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.01388, allocations: 42.97 kB / 0.7688 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006831/0.01456, allocations: 333.1 kB / 0.7691 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.712e-05/0.01462, allocations: 80.33 kB / 0.7692 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.845e-05/0.01469, allocations: 24.64 kB / 0.7692 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001338/0.01482, allocations: 91.34 kB / 0.7693 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of SimCode: time 1.133e-06/0.01482, allocations: 0 / 0.7693 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of Templates: time 0.006012/0.02083, allocations: 3.016 MB / 0.7722 GB, free: 9.953 MB / 0.7292 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.101576225832105]