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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001401/0.001401, allocations: 105 kB / 15.98 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 198.9 kB / 16.91 MB, free: 6.188 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.337/1.337, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.396/2.396, allocations: 437 MB / 0.7107 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002276/0.002276, allocations: 54.06 kB / 0.8694 GB, free: 2.598 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3354, allocations: 151.6 MB / 1.017 GB, free: 11.04 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002745/0.3381, allocations: 1.554 MB / 1.019 GB, free: 9.473 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0006829/0.3388, allocations: 438.9 kB / 1.019 GB, free: 9.039 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.964e-05/0.3389, allocations: 4 kB / 1.019 GB, free: 9.035 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.597e-05/0.339, allocations: 7.922 kB / 1.019 GB, free: 9.027 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.556e-05/0.3391, allocations: 7.938 kB / 1.019 GB, free: 9.02 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001324/0.3392, allocations: 15.98 kB / 1.019 GB, free: 9.004 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.63e-05/0.3393, allocations: 43.92 kB / 1.019 GB, free: 8.961 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.3394, allocations: 19.97 kB / 1.019 GB, free: 8.941 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.114e-05/0.3394, allocations: 15.88 kB / 1.019 GB, free: 8.926 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.089e-05/0.3395, allocations: 27.91 kB / 1.02 GB, free: 8.898 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.3395, allocations: 4 kB / 1.02 GB, free: 8.895 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.422e-05/0.3395, allocations: 4 kB / 1.02 GB, free: 8.891 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.99e-05/0.3396, allocations: 11.92 kB / 1.02 GB, free: 8.879 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.019e-05/0.3396, allocations: 23.94 kB / 1.02 GB, free: 8.855 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 7.765e-05/0.3397, allocations: 35.88 kB / 1.02 GB, free: 8.82 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3397, allocations: 0 / 1.02 GB, free: 8.82 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.745e-06/0.3397, allocations: 4 kB / 1.02 GB, free: 8.816 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.3397, allocations: 0 / 1.02 GB, free: 8.816 MB / 0.795 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.0004923/0.3402, allocations: 357.9 kB / 1.02 GB, free: 8.422 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.3403, allocations: 8.031 kB / 1.02 GB, free: 8.414 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.357e-05/0.3403, allocations: 4.938 kB / 1.02 GB, free: 8.41 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.3404, allocations: 184.2 kB / 1.02 GB, free: 8.191 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.3405, allocations: 4.375 kB / 1.02 GB, free: 8.188 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/0.3405, allocations: 8.312 kB / 1.02 GB, free: 8.18 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.3406, allocations: 58 kB / 1.02 GB, free: 8.117 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.3406, allocations: 0 / 1.02 GB, free: 8.117 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.3406, allocations: 7.984 kB / 1.02 GB, free: 8.109 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.3406, allocations: 0 / 1.02 GB, free: 8.109 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.958e-05/0.3407, allocations: 23.98 kB / 1.02 GB, free: 8.086 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004979/0.3412, allocations: 300.8 kB / 1.021 GB, free: 7.742 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.3413, allocations: 54.56 kB / 1.021 GB, free: 7.68 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.359e-05/0.3414, allocations: 28.88 kB / 1.021 GB, free: 7.648 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.3414, allocations: 0 / 1.021 GB, free: 7.648 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000176/0.3416, allocations: 79.33 kB / 1.021 GB, free: 7.559 MB / 0.795 GB Notification: Performance of pre-optimization done (n=9): time 1.614e-06/0.3416, allocations: 0 / 1.021 GB, free: 7.559 MB / 0.795 GB Notification: Performance of matching and sorting (n=9): time 0.0002129/0.3418, allocations: 97.61 kB / 1.021 GB, free: 7.457 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.3419, allocations: 59.41 kB / 1.021 GB, free: 7.387 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.561e-05/0.3419, allocations: 101.8 kB / 1.021 GB, free: 7.277 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.342, allocations: 29.7 kB / 1.021 GB, free: 7.242 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.255e-05/0.342, allocations: 88.05 kB / 1.021 GB, free: 7.152 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/0.342, allocations: 31.62 kB / 1.021 GB, free: 7.121 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.401e-05/0.3421, allocations: 29.72 kB / 1.021 GB, free: 7.086 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.3422, allocations: 322.8 kB / 1.021 GB, free: 6.762 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.884e-05/0.3423, allocations: 16 kB / 1.021 GB, free: 6.746 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.855e-05/0.3423, allocations: 43.36 kB / 1.021 GB, free: 6.691 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.079e-05/0.3424, allocations: 67.36 kB / 1.022 GB, free: 6.613 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3424, allocations: 4 kB / 1.022 GB, free: 6.609 MB / 0.795 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001424/0.3426, allocations: 97.55 kB / 1.022 GB, free: 6.508 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.3426, allocations: 10.97 kB / 1.022 GB, free: 6.5 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3426, allocations: 288 / 1.022 GB, free: 6.5 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.3426, allocations: 4 kB / 1.022 GB, free: 6.496 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.264e-05/0.3427, allocations: 8 kB / 1.022 GB, free: 6.488 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.3427, allocations: 0 / 1.022 GB, free: 6.488 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.617e-05/0.3428, allocations: 11.95 kB / 1.022 GB, free: 6.477 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.3428, allocations: 8 kB / 1.022 GB, free: 6.469 MB / 0.795 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.826e-05/0.3429, allocations: 136.4 kB / 1.022 GB, free: 6.328 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.259e-05/0.3429, allocations: 4 kB / 1.022 GB, free: 6.324 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.04e-05/0.3429, allocations: 7.969 kB / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.3429, allocations: 0 / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.343, allocations: 4.359 kB / 1.022 GB, free: 6.309 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.343, allocations: 0 / 1.022 GB, free: 6.309 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004007/0.3434, allocations: 366.3 kB / 1.022 GB, free: 5.895 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.3434, allocations: 4 kB / 1.022 GB, free: 5.891 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.723e-05/0.3434, allocations: 4 kB / 1.022 GB, free: 5.887 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3434, allocations: 0 / 1.022 GB, free: 5.887 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.3434, allocations: 0 / 1.022 GB, free: 5.887 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.3434, allocations: 3.938 kB / 1.022 GB, free: 5.883 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.3434, allocations: 0 / 1.022 GB, free: 5.883 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001644/0.3436, allocations: 183.5 kB / 1.022 GB, free: 5.688 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.913e-05/0.3437, allocations: 84.95 kB / 1.022 GB, free: 5.586 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.3437, allocations: 0 / 1.022 GB, free: 5.586 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.728e-05/0.3438, allocations: 19.92 kB / 1.022 GB, free: 5.566 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.833e-05/0.3438, allocations: 11.92 kB / 1.022 GB, free: 5.555 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.3439, allocations: 4 kB / 1.022 GB, free: 5.551 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.833e-05/0.3439, allocations: 83.28 kB / 1.023 GB, free: 5.469 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.725e-06/0.3439, allocations: 0 / 1.023 GB, free: 5.469 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002355/0.3442, allocations: 15.94 kB / 1.023 GB, free: 5.453 MB / 0.795 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 9.45e-05/0.3443, allocations: 106 kB / 1.023 GB, free: 5.34 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001342/0.3444, allocations: 55.92 kB / 1.023 GB, free: 5.285 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3444, allocations: 0 / 1.023 GB, free: 5.285 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 6.075e-05/0.3445, allocations: 31.92 kB / 1.023 GB, free: 5.254 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.3448, allocations: 8.375 kB / 1.023 GB, free: 5.246 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000372/0.3451, allocations: 179.2 kB / 1.023 GB, free: 5.039 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.3454, allocations: 0.6924 MB / 1.024 GB, free: 4.32 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.546e-05/0.3455, allocations: 15.44 kB / 1.024 GB, free: 4.309 MB / 0.795 GB Notification: Performance of SimCode: time 3.91e-07/0.3455, allocations: 0 / 1.024 GB, free: 4.309 MB / 0.795 GB Notification: Performance of Templates: time 0.002263/0.3477, allocations: 0.8509 MB / 1.024 GB, free: 3.461 MB / 0.795 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