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.001059/0.001059, allocations: 92.55 kB / 16.02 MB, free: 80 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.001568/0.001567, allocations: 176.2 kB / 16.92 MB, free: 6.652 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.497/1.497, allocations: 223.3 MB / 241 MB, free: 5.25 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.615/2.615, allocations: 437.8 MB / 0.7128 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003702/0.0003706, allocations: 8 kB / 0.8735 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7188/0.7192, allocations: 153.8 MB / 1.024 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.00176/0.721, allocations: 1.2 MB / 1.025 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008015/0.7218, allocations: 435.1 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.974e-05/0.7219, allocations: 3.938 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.098e-05/0.722, allocations: 7.922 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.475e-05/0.7221, allocations: 3.938 kB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000142/0.7222, allocations: 19.97 kB / 1.025 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.788e-05/0.7223, allocations: 47.91 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.593e-05/0.7224, allocations: 8 kB / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.284e-05/0.7225, allocations: 23.86 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.9e-05/0.7226, allocations: 19.92 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.7226, allocations: 0 / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.054e-05/0.7226, allocations: 4 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.35e-05/0.7226, allocations: 19.91 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.005e-05/0.7227, allocations: 41.62 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001083/0.7228, allocations: 31.94 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.7228, allocations: 3.938 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7228, allocations: 0 / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.426e-06/0.7228, allocations: 0 / 1.025 GB, free: 13.88 MB / 0.7794 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.0005769/0.7234, allocations: 357.4 kB / 1.026 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.7235, allocations: 8.031 kB / 1.026 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.423e-05/0.7235, allocations: 8.844 kB / 1.026 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.7236, allocations: 172.3 kB / 1.026 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.7236, allocations: 384 / 1.026 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.7237, allocations: 8.375 kB / 1.026 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.7238, allocations: 61.98 kB / 1.026 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.012e-06/0.7238, allocations: 0 / 1.026 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.7238, allocations: 4 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.7238, allocations: 0 / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.091e-05/0.7239, allocations: 27.98 kB / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004801/0.7244, allocations: 308.6 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.7245, allocations: 58.56 kB / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.951e-05/0.7246, allocations: 28.94 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.7246, allocations: 4.031 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001668/0.7248, allocations: 67.39 kB / 1.027 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.7248, allocations: 3.938 kB / 1.027 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0002299/0.725, allocations: 101.5 kB / 1.027 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.7251, allocations: 59.41 kB / 1.027 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.257e-05/0.7251, allocations: 101.8 kB / 1.027 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.7252, allocations: 33.7 kB / 1.027 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.048e-05/0.7252, allocations: 88.03 kB / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.7252, allocations: 15.81 kB / 1.027 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/0.7253, allocations: 17.72 kB / 1.027 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.7254, allocations: 326.8 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.336e-05/0.7254, allocations: 12 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.422e-05/0.7255, allocations: 55.3 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.627e-05/0.7256, allocations: 63.42 kB / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.7256, allocations: 3.938 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001414/0.7258, allocations: 101.7 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.7258, allocations: 4 kB / 1.028 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.7258, allocations: 4.031 kB / 1.028 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.7258, allocations: 4 kB / 1.028 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.625e-05/0.7259, allocations: 8 kB / 1.028 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.7259, allocations: 0 / 1.028 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/0.726, allocations: 23.98 kB / 1.028 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.7261, allocations: 3.938 kB / 1.028 GB, free: 11.53 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 8.761e-05/0.7262, allocations: 123.9 kB / 1.028 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.212e-05/0.7262, allocations: 3.906 kB / 1.028 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.102e-05/0.7262, allocations: 11.97 kB / 1.028 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.7262, allocations: 7.984 kB / 1.028 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.7262, allocations: 0 / 1.028 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.7262, allocations: 0 / 1.028 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000397/0.7266, allocations: 358.8 kB / 1.028 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.7266, allocations: 0 / 1.028 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.855e-05/0.7267, allocations: 8 kB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.7267, allocations: 4 kB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.7267, allocations: 4.094 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.7267, allocations: 11.81 kB / 1.028 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.7267, allocations: 0 / 1.028 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001652/0.7269, allocations: 183.4 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.431e-05/0.7269, allocations: 77.11 kB / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.727, allocations: 7.984 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.863e-05/0.727, allocations: 11.94 kB / 1.028 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.7271, allocations: 7.984 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-06/0.7271, allocations: 8 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.236e-05/0.7272, allocations: 79.28 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7272, allocations: 0 / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002321/0.7274, allocations: 19.98 kB / 1.028 GB, free: 10.52 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 9.413e-05/0.7275, allocations: 95.25 kB / 1.029 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001237/0.7276, allocations: 55.92 kB / 1.029 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.7276, allocations: 0 / 1.029 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.614e-05/0.7277, allocations: 31.86 kB / 1.029 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.728, allocations: 13.38 kB / 1.029 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00031/0.7283, allocations: 188.1 kB / 1.029 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.7286, allocations: 0.6849 MB / 1.029 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.732e-05/0.7286, allocations: 11.44 kB / 1.029 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.7286, allocations: 4 kB / 1.029 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of Templates: time 0.002373/0.731, allocations: 0.8479 MB / 1.03 GB, free: 8.535 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