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.519/1.519, allocations: 249.3 MB / 261.9 MB, free: 5.836 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009877/0.0009878, allocations: 180.8 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.394/1.394, allocations: 205.2 MB / 0.572 GB, free: 10.65 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.0007935/0.0007935, allocations: 100.5 kB / 0.6764 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.109e-05/3.111e-05, allocations: 4 kB / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.181, allocations: 106.3 MB / 0.8918 GB, free: 6.699 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6336/0.8146, allocations: 132.4 MB / 1.021 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001944/0.8149, allocations: 80.25 kB / 1.021 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003685/0.8186, allocations: 1.373 MB / 1.023 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.443e-06/0.8186, allocations: 0 / 1.023 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.092e-05/0.8186, allocations: 4 kB / 1.023 GB, free: 1.105 MB / 0.6355 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.0003782/0.819, allocations: 345.9 kB / 1.023 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.819, allocations: 8.031 kB / 1.023 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.246e-05/0.8191, allocations: 7.906 kB / 1.023 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.8192, allocations: 171 kB / 1.023 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.8193, allocations: 3.75 kB / 1.023 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.8193, allocations: 4 kB / 1.023 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.8194, allocations: 52.81 kB / 1.023 GB, free: 460 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.8194, allocations: 7.938 kB / 1.023 GB, free: 452 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.8194, allocations: 3.5 kB / 1.023 GB, free: 452 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.8194, allocations: 4 kB / 1.023 GB, free: 448 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.934e-05/0.8195, allocations: 22.66 kB / 1.023 GB, free: 432 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004656/0.82, allocations: 306.3 kB / 1.023 GB, free: 92 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.742e-05/0.8201, allocations: 61.34 kB / 1.023 GB, free: 32 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.947e-05/0.8201, allocations: 23.7 kB / 1.023 GB, free: 12 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.857e-06/0.8202, allocations: 0 / 1.023 GB, free: 12 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000157/0.8203, allocations: 70.95 kB / 1.024 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 3.387e-06/0.8203, allocations: 0 / 1.024 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0001891/0.8205, allocations: 85.33 kB / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.8206, allocations: 63.38 kB / 1.024 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.514e-05/0.8207, allocations: 96.28 kB / 1.024 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.8207, allocations: 32.64 kB / 1.024 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.084e-05/0.8208, allocations: 87.39 kB / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.805e-05/0.8208, allocations: 27.33 kB / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-06/0.8208, allocations: 0 / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.8209, allocations: 318.2 kB / 1.024 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.266e-05/0.821, allocations: 18.31 kB / 1.024 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.571e-05/0.821, allocations: 46.11 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.005e-05/0.8211, allocations: 15.23 kB / 1.024 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.254e-05/0.8211, allocations: 4 kB / 1.024 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001337/0.8212, allocations: 92.55 kB / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.8213, allocations: 6.031 kB / 1.024 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.8213, allocations: 8.062 kB / 1.024 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.8213, allocations: 7.969 kB / 1.024 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.165e-05/0.8214, allocations: 15.11 kB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.657e-06/0.8214, allocations: 3.953 kB / 1.024 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.422e-05/0.8215, allocations: 11.91 kB / 1.024 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.8215, allocations: 4 kB / 1.024 GB, free: 15.02 MB / 0.6511 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 () * 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.393e-05/0.8216, allocations: 114.8 kB / 1.025 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.317e-06/0.8216, allocations: 3.938 kB / 1.025 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.092e-05/0.8216, allocations: 14.59 kB / 1.025 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.8216, allocations: 0 / 1.025 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.8216, allocations: 0 / 1.025 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.8217, allocations: 3.953 kB / 1.025 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003831/0.822, allocations: 366.9 kB / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.8221, allocations: 0 / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.494e-05/0.8221, allocations: 4 kB / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.8221, allocations: 7.984 kB / 1.025 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.8221, allocations: 0 / 1.025 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.8221, allocations: 3.953 kB / 1.025 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.8221, allocations: 0 / 1.025 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001519/0.8223, allocations: 173.8 kB / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.114e-05/0.8223, allocations: 89 kB / 1.025 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.8224, allocations: 0 / 1.025 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.044e-05/0.8224, allocations: 8 kB / 1.025 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.8225, allocations: 15.62 kB / 1.025 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.8225, allocations: 7.984 kB / 1.025 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.478e-05/0.8225, allocations: 79.28 kB / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8226, allocations: 0 / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002171/0.8228, allocations: 15.81 kB / 1.025 GB, free: 14.07 MB / 0.6511 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 () * 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.42e-05/0.8229, allocations: 99.42 kB / 1.025 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001128/0.823, allocations: 57.77 kB / 1.025 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.823, allocations: 4.062 kB / 1.025 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.841e-05/0.8231, allocations: 23.8 kB / 1.025 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001734/0.8232, allocations: 11.12 kB / 1.026 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002268/0.8235, allocations: 101.1 kB / 1.026 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.8238, allocations: 0.6926 MB / 1.026 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.988e-05/0.8238, allocations: 11.94 kB / 1.026 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.788e-05/0.8238, allocations: 11.44 kB / 1.026 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of SimCode: time 3.9e-07/0.8238, allocations: 4 kB / 1.026 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of Templates: time 0.002467/0.8263, allocations: 0.6685 MB / 1.027 GB, free: 12.39 MB / 0.6511 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