Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_10_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_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 104.1 kB / 15.88 MB, free: 4 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001494/0.001495, allocations: 196.6 kB / 16.79 MB, free: 6.832 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.638/2.638, allocations: 437 MB / 0.7106 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002426/0.002426, allocations: 63.91 kB / 0.8692 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7307/0.7331, allocations: 151.6 MB / 1.017 GB, free: 2.82 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.003251/0.7364, allocations: 1.546 MB / 1.019 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007564/0.7372, allocations: 454.9 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.727e-05/0.7373, allocations: 0 / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.852e-05/0.7373, allocations: 0 / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.792e-05/0.7374, allocations: 3.938 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001591/0.7376, allocations: 15.98 kB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.139e-05/0.7377, allocations: 51.78 kB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.7378, allocations: 15.98 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.093e-05/0.7379, allocations: 15.98 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.615e-05/0.7379, allocations: 23.86 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.738, allocations: 8 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.237e-05/0.738, allocations: 0 / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.117e-05/0.738, allocations: 11.98 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.474e-05/0.7381, allocations: 23.86 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.788e-05/0.7381, allocations: 35.94 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.7382, allocations: 0 / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.072e-06/0.7382, allocations: 0 / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.7382, allocations: 0 / 1.019 GB, free: 0.6133 MB / 0.7637 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.0005589/0.7387, allocations: 361.4 kB / 1.02 GB, free: 220 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.7388, allocations: 15.97 kB / 1.02 GB, free: 204 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.62e-05/0.7388, allocations: 0.9375 kB / 1.02 GB, free: 204 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.739, allocations: 172.2 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.739, allocations: 4.375 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.739, allocations: 8.375 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.7392, allocations: 61.97 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.7392, allocations: 0 / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.7392, allocations: 0 / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.7392, allocations: 7.938 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.58e-05/0.7393, allocations: 27.98 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005592/0.7399, allocations: 296.7 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.74, allocations: 58.59 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.599e-05/0.74, allocations: 20.95 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.7401, allocations: 4 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003273/0.7404, allocations: 75.28 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.7404, allocations: 0 / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0002431/0.7407, allocations: 101.6 kB / 1.021 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.7407, allocations: 55.41 kB / 1.021 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/0.7409, allocations: 105.8 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.7409, allocations: 33.7 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.652e-05/0.741, allocations: 92.03 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.741, allocations: 15.81 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.136e-05/0.7411, allocations: 29.7 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.7413, allocations: 322.8 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.685e-05/0.7413, allocations: 20.3 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.567e-05/0.7414, allocations: 43.42 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.15e-05/0.7415, allocations: 67.38 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.7415, allocations: 3.984 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001417/0.7416, allocations: 97.47 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.7417, allocations: 5.094 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.7417, allocations: 64 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.7417, allocations: 8 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.008e-05/0.7418, allocations: 15.92 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.7418, allocations: 0 / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.755e-05/0.7419, allocations: 15.97 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.7419, allocations: 4 kB / 1.021 GB, free: 14.26 MB / 0.7794 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,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.915e-05/0.742, allocations: 126.6 kB / 1.022 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.628e-05/0.742, allocations: 7.906 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.128e-05/0.742, allocations: 7.969 kB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.742, allocations: 0 / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.7421, allocations: 4 kB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.7421, allocations: 0 / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004116/0.7425, allocations: 362.3 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.7425, allocations: 0 / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.696e-05/0.7425, allocations: 7.984 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.7425, allocations: 0 / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.7425, allocations: 0 / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.646e-06/0.7426, allocations: 7.938 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.7426, allocations: 0 / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001685/0.7427, allocations: 183.5 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.849e-05/0.7428, allocations: 81.02 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.7428, allocations: 4 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.512e-05/0.7429, allocations: 11.92 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.15e-05/0.7429, allocations: 4 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.743, allocations: 11.92 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.056e-05/0.743, allocations: 83.28 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.743, allocations: 192 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002246/0.7432, allocations: 12 kB / 1.022 GB, free: 13.26 MB / 0.7794 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 (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.0001065/0.7433, allocations: 107.2 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000133/0.7435, allocations: 59.84 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.7435, allocations: 0 / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.474e-05/0.7436, allocations: 27.98 kB / 1.023 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.7438, allocations: 11.98 kB / 1.023 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000355/0.7442, allocations: 181 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/0.7445, allocations: 0.6863 MB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.894e-05/0.7446, allocations: 11.44 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of SimCode: time 3.6e-07/0.7446, allocations: 0 / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of Templates: time 0.002383/0.747, allocations: 0.8522 MB / 1.024 GB, free: 11.27 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (rm -f Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,offTim1.u,offTim1.y,offTim2.u,offTim2.y Variables in the result:offTim1.u,offTim1.y,offTim2.u,offTim2.y,time