Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.443/1.443, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001118/0.001118, allocations: 186.2 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.696/1.696, allocations: 205.4 MB / 0.5775 GB, free: 20.29 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008471/0.0008471, allocations: 94 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003417/0.0003417, allocations: 9.125 kB / 0.7962 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2258, allocations: 106.3 MB / 0.9001 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.172/0.3978, allocations: 132.5 MB / 1.029 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/0.3981, allocations: 71.95 kB / 1.03 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003829/0.4019, allocations: 1.383 MB / 1.031 GB, free: 9.867 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4019, allocations: 4 kB / 1.031 GB, free: 9.863 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.402, allocations: 0 / 1.031 GB, free: 9.863 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000404/0.4024, allocations: 351.2 kB / 1.031 GB, free: 9.473 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.4024, allocations: 12.02 kB / 1.031 GB, free: 9.461 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.485e-05/0.4025, allocations: 7.906 kB / 1.031 GB, free: 9.453 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.4026, allocations: 167 kB / 1.031 GB, free: 9.25 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.4026, allocations: 4 kB / 1.031 GB, free: 9.246 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.4026, allocations: 8 kB / 1.031 GB, free: 9.238 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.4027, allocations: 57.61 kB / 1.031 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.4028, allocations: 0 / 1.031 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.4028, allocations: 4 kB / 1.031 GB, free: 9.172 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.4028, allocations: 4 kB / 1.031 GB, free: 9.168 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.766e-05/0.4029, allocations: 19.98 kB / 1.031 GB, free: 9.148 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004671/0.4033, allocations: 320.6 kB / 1.032 GB, free: 8.785 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.693e-05/0.4034, allocations: 54.56 kB / 1.032 GB, free: 8.723 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.4035, allocations: 0 / 1.032 GB, free: 8.723 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001496/0.4036, allocations: 71.64 kB / 1.032 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.4036, allocations: 8 kB / 1.032 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9): time 0.0001975/0.4038, allocations: 93.61 kB / 1.032 GB, free: 8.535 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.4039, allocations: 59.73 kB / 1.032 GB, free: 8.465 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.143e-05/0.404, allocations: 100.9 kB / 1.032 GB, free: 8.359 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.404, allocations: 33.7 kB / 1.032 GB, free: 8.32 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.049e-05/0.404, allocations: 80.14 kB / 1.032 GB, free: 8.238 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.4041, allocations: 27.59 kB / 1.032 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.541e-06/0.4041, allocations: 4 kB / 1.032 GB, free: 8.207 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.376e-05/0.4042, allocations: 318.8 kB / 1.033 GB, free: 7.887 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.158e-05/0.4042, allocations: 19.98 kB / 1.033 GB, free: 7.867 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.334e-05/0.4043, allocations: 44.05 kB / 1.033 GB, free: 7.812 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.504e-05/0.4043, allocations: 27.92 kB / 1.033 GB, free: 7.785 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.4043, allocations: 0 / 1.033 GB, free: 7.785 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001241/0.4045, allocations: 89.62 kB / 1.033 GB, free: 7.691 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.4045, allocations: 7.984 kB / 1.033 GB, free: 7.684 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.4045, allocations: 8.031 kB / 1.033 GB, free: 7.676 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.4045, allocations: 288 / 1.033 GB, free: 7.676 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.156e-05/0.4046, allocations: 8 kB / 1.033 GB, free: 7.668 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.4046, allocations: 3.938 kB / 1.033 GB, free: 7.664 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.76e-05/0.4047, allocations: 19.84 kB / 1.033 GB, free: 7.645 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.4047, allocations: 4 kB / 1.033 GB, free: 7.641 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.506e-05/0.4048, allocations: 123.9 kB / 1.033 GB, free: 7.512 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.117e-05/0.4048, allocations: 4 kB / 1.033 GB, free: 7.508 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.63e-05/0.4048, allocations: 11.97 kB / 1.033 GB, free: 7.496 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.4048, allocations: 0 / 1.033 GB, free: 7.496 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.4048, allocations: 0 / 1.033 GB, free: 7.496 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.4048, allocations: 0 / 1.033 GB, free: 7.496 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003683/0.4052, allocations: 366.3 kB / 1.033 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4052, allocations: 4 kB / 1.033 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.61e-05/0.4053, allocations: 4 kB / 1.033 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.4053, allocations: 7.938 kB / 1.033 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.4053, allocations: 0 / 1.033 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4053, allocations: 0 / 1.033 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4053, allocations: 3.953 kB / 1.033 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001433/0.4054, allocations: 179.6 kB / 1.034 GB, free: 6.871 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.579e-05/0.4055, allocations: 85.05 kB / 1.034 GB, free: 6.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.4055, allocations: 7.938 kB / 1.034 GB, free: 6.762 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.447e-05/0.4056, allocations: 11.98 kB / 1.034 GB, free: 6.75 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.4056, allocations: 15.94 kB / 1.034 GB, free: 6.734 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-06/0.4057, allocations: 8.062 kB / 1.034 GB, free: 6.727 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.825e-05/0.4057, allocations: 79.28 kB / 1.034 GB, free: 6.648 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4057, allocations: 0 / 1.034 GB, free: 6.648 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002096/0.4059, allocations: 12 kB / 1.034 GB, free: 6.637 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.156e-05/0.406, allocations: 107.2 kB / 1.034 GB, free: 6.52 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001156/0.4061, allocations: 55.92 kB / 1.034 GB, free: 6.465 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.4062, allocations: 0 / 1.034 GB, free: 6.465 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.684e-05/0.4062, allocations: 27.92 kB / 1.034 GB, free: 6.438 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001698/0.4064, allocations: 9.5 kB / 1.034 GB, free: 6.43 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002751/0.4067, allocations: 157.8 kB / 1.034 GB, free: 6.246 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.4069, allocations: 0.6927 MB / 1.035 GB, free: 5.527 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.849e-05/0.407, allocations: 4 kB / 1.035 GB, free: 5.523 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.77e-05/0.407, allocations: 15.44 kB / 1.035 GB, free: 5.508 MB / 0.6823 GB Notification: Performance of SimCode: time 2.91e-07/0.407, allocations: 0 / 1.035 GB, free: 5.508 MB / 0.6823 GB Notification: Performance of Templates: time 0.002345/0.4094, allocations: 0.656 MB / 1.035 GB, free: 4.855 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches