Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001846/0.001846, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00208/0.00208, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 225.6 MB / 249.4 MB, free: 3.02 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.912/2.912, allocations: 496.2 MB / 0.7819 GB, free: 12.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 68.11 kB / 1.136 GB, free: 10.36 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.025/1.027, allocations: 173.6 MB / 1.305 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.003245/1.03, allocations: 1.491 MB / 1.307 GB, free: 15.66 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0009491/1.031, allocations: 453.4 kB / 1.307 GB, free: 15.35 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.512e-05/1.031, allocations: 0 / 1.307 GB, free: 15.35 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.468e-05/1.032, allocations: 4.734 kB / 1.307 GB, free: 15.34 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.434e-05/1.032, allocations: 10.31 kB / 1.307 GB, free: 15.34 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001645/1.032, allocations: 26.14 kB / 1.307 GB, free: 15.32 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/1.032, allocations: 52.08 kB / 1.307 GB, free: 15.3 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/1.032, allocations: 14.84 kB / 1.307 GB, free: 15.29 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.544e-05/1.032, allocations: 22.41 kB / 1.307 GB, free: 15.28 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.604e-05/1.032, allocations: 18.08 kB / 1.307 GB, free: 15.27 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.579e-05/1.032, allocations: 4.312 kB / 1.307 GB, free: 15.27 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.209e-05/1.032, allocations: 4.281 kB / 1.307 GB, free: 15.27 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.885e-05/1.032, allocations: 16.67 kB / 1.307 GB, free: 15.26 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.769e-05/1.032, allocations: 21.61 kB / 1.307 GB, free: 15.25 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001325/1.032, allocations: 42.52 kB / 1.308 GB, free: 15.23 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/1.032, allocations: 1.062 kB / 1.308 GB, free: 15.23 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.463e-06/1.032, allocations: 0 / 1.308 GB, free: 15.23 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.111e-06/1.032, allocations: 0 / 1.308 GB, free: 15.23 MB / 1.014 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.0006365/1.033, allocations: 372.9 kB / 1.308 GB, free: 14.86 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/1.033, allocations: 13.56 kB / 1.308 GB, free: 14.85 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.78e-05/1.033, allocations: 4.781 kB / 1.308 GB, free: 14.85 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/1.033, allocations: 172.5 kB / 1.308 GB, free: 14.65 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/1.033, allocations: 6.062 kB / 1.308 GB, free: 14.64 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/1.033, allocations: 10.09 kB / 1.308 GB, free: 14.64 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/1.033, allocations: 57.81 kB / 1.308 GB, free: 14.6 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/1.033, allocations: 0 / 1.308 GB, free: 14.6 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/1.033, allocations: 9.719 kB / 1.308 GB, free: 14.59 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/1.033, allocations: 4.969 kB / 1.308 GB, free: 14.59 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.665e-05/1.034, allocations: 22.12 kB / 1.308 GB, free: 14.58 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005693/1.034, allocations: 299.5 kB / 1.308 GB, free: 14.29 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/1.034, allocations: 55.45 kB / 1.308 GB, free: 14.25 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.676e-05/1.034, allocations: 24.95 kB / 1.309 GB, free: 14.24 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/1.034, allocations: 1.281 kB / 1.309 GB, free: 14.24 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001933/1.034, allocations: 73.31 kB / 1.309 GB, free: 14.18 MB / 1.014 GB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/1.034, allocations: 0 / 1.309 GB, free: 14.18 MB / 1.014 GB Notification: Performance of matching and sorting (n=9): time 0.0002516/1.035, allocations: 97.59 kB / 1.309 GB, free: 14.13 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/1.035, allocations: 53.25 kB / 1.309 GB, free: 14.07 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.267e-05/1.035, allocations: 115.5 kB / 1.309 GB, free: 13.95 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/1.035, allocations: 32.91 kB / 1.309 GB, free: 13.92 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.373e-05/1.035, allocations: 86.06 kB / 1.309 GB, free: 13.83 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.117e-05/1.035, allocations: 24.61 kB / 1.309 GB, free: 13.81 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.074e-05/1.035, allocations: 28.47 kB / 1.309 GB, free: 13.79 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001412/1.035, allocations: 322.6 kB / 1.309 GB, free: 13.47 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.918e-05/1.035, allocations: 15.78 kB / 1.309 GB, free: 13.46 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.084e-05/1.035, allocations: 43.81 kB / 1.309 GB, free: 13.43 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.577e-05/1.035, allocations: 73.47 kB / 1.309 GB, free: 13.37 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/1.035, allocations: 1.594 kB / 1.309 GB, free: 13.37 MB / 1.014 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001474/1.036, allocations: 94.11 kB / 1.31 GB, free: 13.31 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/1.036, allocations: 5.031 kB / 1.31 GB, free: 13.31 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/1.036, allocations: 1.156 kB / 1.31 GB, free: 13.31 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/1.036, allocations: 1.156 kB / 1.31 GB, free: 13.31 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.902e-05/1.036, allocations: 18.38 kB / 1.31 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/1.036, allocations: 5.688 kB / 1.31 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.658e-05/1.036, allocations: 10.64 kB / 1.31 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/1.036, allocations: 3.234 kB / 1.31 GB, free: 13.3 MB / 1.014 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.674e-05/1.036, allocations: 120.2 kB / 1.31 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.736e-05/1.036, allocations: 11.25 kB / 1.31 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.172e-05/1.036, allocations: 10.05 kB / 1.31 GB, free: 13.15 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/1.036, allocations: 0 / 1.31 GB, free: 13.15 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/1.036, allocations: 5.5 kB / 1.31 GB, free: 13.15 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/1.036, allocations: 4.797 kB / 1.31 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004741/1.036, allocations: 360 kB / 1.31 GB, free: 12.81 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/1.036, allocations: 0.75 kB / 1.31 GB, free: 12.81 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.585e-05/1.036, allocations: 3.734 kB / 1.31 GB, free: 12.81 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/1.036, allocations: 1.469 kB / 1.31 GB, free: 12.81 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/1.036, allocations: 1.531 kB / 1.31 GB, free: 12.81 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/1.036, allocations: 3.938 kB / 1.31 GB, free: 12.81 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/1.036, allocations: 1.797 kB / 1.31 GB, free: 12.81 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001976/1.037, allocations: 185.5 kB / 1.31 GB, free: 12.65 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.821e-05/1.037, allocations: 80.05 kB / 1.31 GB, free: 12.56 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/1.037, allocations: 2.359 kB / 1.31 GB, free: 12.56 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.648e-05/1.037, allocations: 12.19 kB / 1.31 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.9e-05/1.037, allocations: 11.95 kB / 1.31 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/1.037, allocations: 2.859 kB / 1.31 GB, free: 12.55 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.958e-05/1.037, allocations: 84.48 kB / 1.31 GB, free: 12.47 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/1.037, allocations: 0 / 1.31 GB, free: 12.47 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002313/1.037, allocations: 16 kB / 1.31 GB, free: 12.46 MB / 1.014 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.0001251/1.037, allocations: 101.5 kB / 1.311 GB, free: 12.38 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001525/1.037, allocations: 52.09 kB / 1.311 GB, free: 12.36 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/1.037, allocations: 1.312 kB / 1.311 GB, free: 12.36 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 5.768e-05/1.037, allocations: 20.45 kB / 1.311 GB, free: 12.36 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/1.038, allocations: 15.83 kB / 1.311 GB, free: 12.35 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003654/1.038, allocations: 158 kB / 1.311 GB, free: 12.21 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/1.038, allocations: 0.6934 MB / 1.311 GB, free: 11.51 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.036e-05/1.038, allocations: 9.422 kB / 1.311 GB, free: 11.5 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.236e-05/1.038, allocations: 11.09 kB / 1.311 GB, free: 11.5 MB / 1.014 GB Notification: Performance of SimCode: time 3.61e-07/1.038, allocations: 0 / 1.311 GB, free: 11.5 MB / 1.014 GB Notification: Performance of Templates: time 0.003531/1.042, allocations: 0.8128 MB / 1.312 GB, free: 11.4 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Warning: Resultfile and Reference have different end time points! Reffile[511]=0.000000 File[2520]=0.000400 " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.420493485406041]