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.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.0008436/0.0008436, 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.0008017/0.0008017, allocations: 169.9 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.8624/0.8624, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.753/1.753, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.9996 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.009e-05/2.169e-05, allocations: 6.219 kB / 0.9996 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.00199/0.002011, allocations: 1.494 MB / 1.001 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0005963/0.002608, allocations: 455.6 kB / 1.002 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.478e-05/0.002642, allocations: 0 / 1.002 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.673e-05/0.002669, allocations: 7.938 kB / 1.002 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.426e-05/0.002743, allocations: 8 kB / 1.002 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001486/0.002892, allocations: 27.83 kB / 1.002 GB, free: 11.53 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.457e-05/0.002967, allocations: 51.8 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.966e-05/0.003066, allocations: 11.98 kB / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.151e-05/0.003128, allocations: 31.95 kB / 1.002 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.513e-05/0.003183, allocations: 15.92 kB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.003206, allocations: 4 kB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.857e-06/0.003215, allocations: 4 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.169e-05/0.003236, allocations: 11.98 kB / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.5e-05/0.003271, allocations: 19.92 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.671e-05/0.003368, allocations: 39.94 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.003371, allocations: 0 / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.012e-06/0.003372, allocations: 0 / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.003376, allocations: 0 / 1.002 GB, free: 11.34 MB / 0.9636 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.0004036/0.00378, allocations: 294.1 kB / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.003818, allocations: 8.75 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.018e-05/0.003848, allocations: 38.75 kB / 1.002 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.553e-05/0.003874, allocations: 12.81 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.541e-05/0.003959, allocations: 109.8 kB / 1.002 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.003971, allocations: 8.375 kB / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.003983, allocations: 8.375 kB / 1.002 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.034e-05/0.004073, allocations: 58.17 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.00408, allocations: 192 / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.00409, allocations: 8.125 kB / 1.002 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.004094, allocations: 0 / 1.002 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.845e-05/0.004143, allocations: 23.98 kB / 1.002 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003592/0.004502, allocations: 263.8 kB / 1.003 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.529e-05/0.004587, allocations: 58.59 kB / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.276e-05/0.00462, allocations: 24.95 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.677e-06/0.004629, allocations: 0 / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001506/0.004779, allocations: 79.31 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=9): time 9.92e-07/0.00478, allocations: 0 / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9): time 0.000182/0.004962, allocations: 97.58 kB / 1.003 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.005, allocations: 63.33 kB / 1.003 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.501e-05/0.005055, allocations: 101.8 kB / 1.003 GB, free: 9.949 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.00507, allocations: 37.69 kB / 1.003 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.604e-05/0.005106, allocations: 88.09 kB / 1.003 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-05/0.005123, allocations: 19.89 kB / 1.003 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.197e-05/0.005155, allocations: 29.7 kB / 1.003 GB, free: 9.762 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.366e-05/0.005229, allocations: 322.8 kB / 1.003 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.502e-05/0.005254, allocations: 15.98 kB / 1.003 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.891e-05/0.005293, allocations: 47.42 kB / 1.003 GB, free: 9.363 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.737e-05/0.00536, allocations: 63.38 kB / 1.004 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.005362, allocations: 0 / 1.004 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.622e-05/0.005458, allocations: 93.56 kB / 1.004 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.00547, allocations: 7.938 kB / 1.004 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.005475, allocations: 4 kB / 1.004 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.005487, allocations: 4.031 kB / 1.004 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.459e-05/0.005551, allocations: 19.92 kB / 1.004 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.005559, allocations: 7.984 kB / 1.004 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.36e-05/0.005602, allocations: 4 kB / 1.004 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.005609, allocations: 4 kB / 1.004 GB, free: 9.141 MB / 0.9636 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 6.645e-05/0.005676, allocations: 121.7 kB / 1.004 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.095e-06/0.005684, allocations: 7.938 kB / 1.004 GB, free: 9.004 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.393e-05/0.005708, allocations: 12.12 kB / 1.004 GB, free: 8.988 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.00571, allocations: 0 / 1.004 GB, free: 8.988 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.005714, allocations: 4 kB / 1.004 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.005717, allocations: 0 / 1.004 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002818/0.005999, allocations: 333.8 kB / 1.004 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.006, allocations: 0 / 1.004 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.546e-05/0.006015, allocations: 4 kB / 1.004 GB, free: 8.605 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.006017, allocations: 0 / 1.004 GB, free: 8.605 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.006024, allocations: 4 kB / 1.004 GB, free: 8.602 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.006027, allocations: 4.062 kB / 1.004 GB, free: 8.598 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.00603, allocations: 3.984 kB / 1.004 GB, free: 8.594 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001058/0.006135, allocations: 179.4 kB / 1.004 GB, free: 8.402 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.606e-06/0.006144, allocations: 11.95 kB / 1.004 GB, free: 8.391 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.006156, allocations: 8.266 kB / 1.004 GB, free: 8.383 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.406e-05/0.0062, allocations: 4 kB / 1.004 GB, free: 8.379 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.945e-05/0.006239, allocations: 3.984 kB / 1.004 GB, free: 8.375 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.006245, allocations: 11.94 kB / 1.004 GB, free: 8.363 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.162e-05/0.006277, allocations: 87.25 kB / 1.004 GB, free: 8.277 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.006277, allocations: 0 / 1.004 GB, free: 8.277 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001544/0.006431, allocations: 16 kB / 1.004 GB, free: 8.262 MB / 0.9636 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.0002981/0.006729, allocations: 0.7113 MB / 1.005 GB, free: 7.527 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001059/0.006835, allocations: 55.86 kB / 1.005 GB, free: 7.473 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.006837, allocations: 0 / 1.005 GB, free: 7.473 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.448e-05/0.006871, allocations: 24.27 kB / 1.005 GB, free: 7.449 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001993/0.007071, allocations: 10.16 kB / 1.005 GB, free: 7.441 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008512/0.007922, allocations: 1.375 MB / 1.007 GB, free: 5.965 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.374e-05/0.007965, allocations: 71.25 kB / 1.007 GB, free: 5.875 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.301e-05/0.007988, allocations: 4 kB / 1.007 GB, free: 5.871 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.091e-05/0.008039, allocations: 24.55 kB / 1.007 GB, free: 5.848 MB / 0.9636 GB Notification: Performance of SimCode: time 5.11e-07/0.00804, allocations: 4 kB / 1.007 GB, free: 5.844 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01594/0.02398, allocations: 2.477 MB / 1.009 GB, free: 3.512 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.313/6.337, allocations: 0 / 1.009 GB, free: 3.512 MB / 0.9636 GB " [Timeout remaining time 294] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 840.0] 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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.377068093977869]