Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008517/0.0008517, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008622/0.0008622, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9454/0.9454, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.761/1.761, allocations: 377.8 MB / 0.6221 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_12_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_12_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 0.9809 GB, free: 2.617 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.319e-05/1.438e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.613 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.001756/0.001771, allocations: 1.498 MB / 0.9824 GB, free: 1.105 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0005488/0.002319, allocations: 454.8 kB / 0.9828 GB, free: 0.6562 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.468e-05/0.002354, allocations: 0 / 0.9828 GB, free: 0.6562 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.636e-05/0.00238, allocations: 3.938 kB / 0.9828 GB, free: 0.6523 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.341e-05/0.002454, allocations: 15.92 kB / 0.9828 GB, free: 0.6367 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001487/0.002603, allocations: 27.86 kB / 0.9829 GB, free: 0.6094 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.458e-05/0.002677, allocations: 51.83 kB / 0.9829 GB, free: 0.5586 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.89e-05/0.002776, allocations: 11.98 kB / 0.9829 GB, free: 0.5469 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.054e-05/0.002837, allocations: 27.98 kB / 0.983 GB, free: 0.5195 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.933e-05/0.002896, allocations: 19.89 kB / 0.983 GB, free: 0.5 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.002919, allocations: 4 kB / 0.983 GB, free: 0.4961 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 7.845e-06/0.002926, allocations: 7.938 kB / 0.983 GB, free: 500 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.942e-05/0.002946, allocations: 8 kB / 0.983 GB, free: 492 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 3.375e-05/0.00298, allocations: 15.92 kB / 0.983 GB, free: 476 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.794e-05/0.003078, allocations: 51.8 kB / 0.9831 GB, free: 424 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.003079, allocations: 0 / 0.9831 GB, free: 424 kB / 0.9323 GB Notification: Performance of FrontEnd: time 9.82e-07/0.00308, allocations: 4 kB / 0.9831 GB, free: 420 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.003085, allocations: 0 / 0.9831 GB, free: 420 kB / 0.9323 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.0003854/0.00347, allocations: 282.3 kB / 0.9833 GB, free: 108 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.003505, allocations: 8.031 kB / 0.9833 GB, free: 100 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.845e-05/0.003534, allocations: 38.75 kB / 0.9834 GB, free: 52 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.149e-05/0.003555, allocations: 4.938 kB / 0.9834 GB, free: 48 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.318e-05/0.003648, allocations: 113.7 kB / 0.9835 GB, free: 15.91 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.003658, allocations: 8.375 kB / 0.9835 GB, free: 15.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.003668, allocations: 8.312 kB / 0.9835 GB, free: 15.89 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.618e-05/0.003754, allocations: 62.19 kB / 0.9836 GB, free: 15.83 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.003761, allocations: 4.188 kB / 0.9836 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.003771, allocations: 8.109 kB / 0.9836 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.003775, allocations: 0 / 0.9836 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.018e-05/0.003825, allocations: 27.98 kB / 0.9836 GB, free: 15.79 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003331/0.004158, allocations: 263.8 kB / 0.9839 GB, free: 15.49 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.234e-05/0.004241, allocations: 46.56 kB / 0.9839 GB, free: 15.43 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.23e-05/0.004273, allocations: 24.94 kB / 0.9839 GB, free: 15.41 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.378e-06/0.004282, allocations: 4 kB / 0.9839 GB, free: 15.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001107/0.004393, allocations: 75.42 kB / 0.984 GB, free: 15.32 MB / 0.948 GB Notification: Performance of pre-optimization done (n=9): time 7.81e-07/0.004394, allocations: 0 / 0.984 GB, free: 15.32 MB / 0.948 GB Notification: Performance of matching and sorting (n=9): time 0.0001762/0.00457, allocations: 97.61 kB / 0.9841 GB, free: 15.21 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.004604, allocations: 55.41 kB / 0.9842 GB, free: 15.15 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.053e-05/0.004665, allocations: 117.8 kB / 0.9843 GB, free: 15.02 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.004676, allocations: 25.7 kB / 0.9843 GB, free: 14.99 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.441e-05/0.00471, allocations: 88.12 kB / 0.9844 GB, free: 14.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.892e-05/0.004729, allocations: 19.86 kB / 0.9844 GB, free: 14.88 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.992e-05/0.004759, allocations: 25.7 kB / 0.9844 GB, free: 14.85 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.881e-05/0.004838, allocations: 322.8 kB / 0.9847 GB, free: 14.53 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.537e-05/0.004863, allocations: 19.98 kB / 0.9847 GB, free: 14.51 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.62e-05/0.004899, allocations: 51.36 kB / 0.9848 GB, free: 14.45 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.724e-05/0.004966, allocations: 63.75 kB / 0.9849 GB, free: 14.37 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.004968, allocations: 0 / 0.9849 GB, free: 14.37 MB / 0.948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.517e-05/0.005064, allocations: 97.5 kB / 0.9849 GB, free: 14.27 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.005075, allocations: 8 kB / 0.985 GB, free: 14.26 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.00508, allocations: 3.938 kB / 0.985 GB, free: 14.26 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.00509, allocations: 0 / 0.985 GB, free: 14.26 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.71e-05/0.005147, allocations: 12 kB / 0.985 GB, free: 14.25 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.005153, allocations: 8.031 kB / 0.985 GB, free: 14.24 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.753e-05/0.00519, allocations: 11.92 kB / 0.985 GB, free: 14.23 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.005197, allocations: 4 kB / 0.985 GB, free: 14.22 MB / 0.948 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 5.991e-05/0.005257, allocations: 121.7 kB / 0.9851 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.073e-06/0.005264, allocations: 7.953 kB / 0.9851 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.201e-05/0.005286, allocations: 12.11 kB / 0.9851 GB, free: 14.08 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.005288, allocations: 0 / 0.9851 GB, free: 14.08 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.005294, allocations: 0 / 0.9851 GB, free: 14.08 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.005297, allocations: 0 / 0.9851 GB, free: 14.08 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002575/0.005555, allocations: 333.6 kB / 0.9854 GB, free: 13.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.005556, allocations: 0 / 0.9854 GB, free: 13.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.275e-05/0.005569, allocations: 8 kB / 0.9855 GB, free: 13.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.00557, allocations: 0 / 0.9855 GB, free: 13.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.201e-06/0.005577, allocations: 0 / 0.9855 GB, free: 13.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.005578, allocations: 4 kB / 0.9855 GB, free: 13.69 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.005579, allocations: 0 / 0.9855 GB, free: 13.69 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001027/0.005682, allocations: 183.4 kB / 0.9856 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.774e-06/0.005689, allocations: 8 kB / 0.9856 GB, free: 13.49 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.027e-05/0.0057, allocations: 0 / 0.9856 GB, free: 13.49 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.111e-05/0.005741, allocations: 7.984 kB / 0.9856 GB, free: 13.48 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-05/0.005781, allocations: 15.98 kB / 0.9857 GB, free: 13.46 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.005787, allocations: 4.219 kB / 0.9857 GB, free: 13.46 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.193e-05/0.005819, allocations: 83.27 kB / 0.9857 GB, free: 13.38 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.005819, allocations: 0 / 0.9857 GB, free: 13.38 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000181/0.006, allocations: 31.81 kB / 0.9858 GB, free: 13.35 MB / 0.948 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.0002829/0.006283, allocations: 0.7193 MB / 0.9865 GB, free: 12.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 9.997e-05/0.006383, allocations: 51.92 kB / 0.9865 GB, free: 12.55 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.006384, allocations: 0 / 0.9865 GB, free: 12.55 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.763e-05/0.006422, allocations: 27.92 kB / 0.9866 GB, free: 12.52 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001913/0.006613, allocations: 20.16 kB / 0.9866 GB, free: 12.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008581/0.007471, allocations: 1.352 MB / 0.9879 GB, free: 11.05 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.7e-05/0.007518, allocations: 75.33 kB / 0.988 GB, free: 10.96 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.303e-05/0.007541, allocations: 7.938 kB / 0.988 GB, free: 10.95 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.031e-05/0.007581, allocations: 24.48 kB / 0.988 GB, free: 10.93 MB / 0.948 GB Notification: Performance of SimCode: time 5.21e-07/0.007582, allocations: 0 / 0.988 GB, free: 10.93 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01577/0.02335, allocations: 2.47 MB / 0.9904 GB, free: 8.617 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.591/6.614, allocations: 8.047 kB / 0.9904 GB, free: 8.609 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.csv --start-time -1 --stop-time 0 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable offTim1.u in file Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.csv. Warning: Get data of variable offTim1.u from file Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.csv failed! Error: Could not read variable offTim2.u in file Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.csv. Warning: Get data of variable offTim2.u from file Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.786294910125434]