Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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.0009009/0.0009009, 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.000843/0.000843, 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.8824/0.8824, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.728/1.728, allocations: 389 MB / 0.633 GB, free: 12.68 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.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.535e-06/2.535e-06, allocations: 0 / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.991e-05/2.244e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001369/0.001392, allocations: 0.6413 MB / 1 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001028/0.00242, allocations: 1.175 MB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.264e-05/0.002462, allocations: 4 kB / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.97e-05/0.002492, allocations: 3.938 kB / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.799e-05/0.00255, allocations: 3.938 kB / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003863/0.002936, allocations: 150.3 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.003083, allocations: 151.7 kB / 1.002 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.214e-05/0.003165, allocations: 11.92 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.674e-05/0.003251, allocations: 79.88 kB / 1.002 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 8.703e-05/0.003338, allocations: 47.84 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.00336, allocations: 16 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.149e-05/0.003412, allocations: 23.98 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.259e-05/0.003434, allocations: 15.98 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.499e-05/0.003489, allocations: 43.89 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.003645, allocations: 159.6 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.003647, allocations: 0 / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.41e-07/0.003648, allocations: 4 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.003651, allocations: 0 / 1.002 GB, free: 10.96 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004171/0.004069, allocations: 339.8 kB / 1.002 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.004106, allocations: 8.75 kB / 1.002 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.98e-05/0.004135, allocations: 42.73 kB / 1.003 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.823e-05/0.004174, allocations: 16.88 kB / 1.003 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.004412, allocations: 149.8 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.004432, allocations: 12.36 kB / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.004451, allocations: 12.38 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.004571, allocations: 86.19 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.004578, allocations: 192 / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.004588, allocations: 384 / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.004594, allocations: 7.938 kB / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.699e-05/0.004661, allocations: 39.97 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000375/0.005036, allocations: 299.8 kB / 1.003 GB, free: 9.844 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.005161, allocations: 74.55 kB / 1.003 GB, free: 9.762 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.048e-05/0.005201, allocations: 36.78 kB / 1.003 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.215e-06/0.00521, allocations: 4 kB / 1.003 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001926/0.005402, allocations: 143.4 kB / 1.003 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=13): time 1.233e-06/0.005403, allocations: 0 / 1.003 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13): time 0.0002808/0.005684, allocations: 200.7 kB / 1.004 GB, free: 9.367 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.005717, allocations: 51.41 kB / 1.004 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.109e-05/0.005778, allocations: 117.8 kB / 1.004 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.0058, allocations: 33.7 kB / 1.004 GB, free: 9.141 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.771e-05/0.005837, allocations: 88.12 kB / 1.004 GB, free: 9.051 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.00586, allocations: 35.75 kB / 1.004 GB, free: 9.016 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.266e-05/0.005913, allocations: 53.62 kB / 1.004 GB, free: 8.957 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.844e-05/0.005981, allocations: 318.8 kB / 1.004 GB, free: 8.637 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.363e-05/0.006065, allocations: 85.61 kB / 1.004 GB, free: 8.547 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.883e-05/0.006153, allocations: 114 kB / 1.004 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.006266, allocations: 137.9 kB / 1.005 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.006268, allocations: 0 / 1.005 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002267/0.006495, allocations: 248.7 kB / 1.005 GB, free: 7.996 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.006521, allocations: 33.7 kB / 1.005 GB, free: 7.957 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.006526, allocations: 4 kB / 1.005 GB, free: 7.953 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.006538, allocations: 0 / 1.005 GB, free: 7.953 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.051e-05/0.006588, allocations: 15.98 kB / 1.005 GB, free: 7.938 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.006594, allocations: 4 kB / 1.005 GB, free: 7.934 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.006697, allocations: 27.92 kB / 1.005 GB, free: 7.906 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.00671, allocations: 12.12 kB / 1.005 GB, free: 7.895 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition5,$whenCondition6,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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 7.504e-05/0.006786, allocations: 133.8 kB / 1.005 GB, free: 7.754 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.211e-05/0.006798, allocations: 11.89 kB / 1.005 GB, free: 7.742 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.588e-05/0.006824, allocations: 12.44 kB / 1.005 GB, free: 7.73 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.006827, allocations: 4 kB / 1.005 GB, free: 7.727 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.006831, allocations: 0 / 1.005 GB, free: 7.727 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.006835, allocations: 3.984 kB / 1.005 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002746/0.00711, allocations: 404.7 kB / 1.005 GB, free: 7.281 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.007112, allocations: 3.984 kB / 1.005 GB, free: 7.277 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.544e-05/0.007127, allocations: 8 kB / 1.005 GB, free: 7.27 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.007129, allocations: 0 / 1.005 GB, free: 7.27 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.007137, allocations: 4 kB / 1.005 GB, free: 7.266 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.007139, allocations: 0 / 1.005 GB, free: 7.266 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.007139, allocations: 0 / 1.005 GB, free: 7.266 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001861/0.007326, allocations: 275.3 kB / 1.006 GB, free: 6.98 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.037e-06/0.007335, allocations: 7.953 kB / 1.006 GB, free: 6.973 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.00735, allocations: 4 kB / 1.006 GB, free: 6.969 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.609e-05/0.007396, allocations: 11.98 kB / 1.006 GB, free: 6.957 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.897e-05/0.007435, allocations: 15.95 kB / 1.006 GB, free: 6.941 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.007444, allocations: 8 kB / 1.006 GB, free: 6.934 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.076e-05/0.007475, allocations: 91.27 kB / 1.006 GB, free: 6.844 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.007475, allocations: 0 / 1.006 GB, free: 6.844 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001821/0.007657, allocations: 32 kB / 1.006 GB, free: 6.812 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: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0003878/0.008045, allocations: 0.8099 MB / 1.007 GB, free: 5.973 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002183/0.008263, allocations: 213 kB / 1.007 GB, free: 5.746 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.008265, allocations: 0 / 1.007 GB, free: 5.746 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.019e-05/0.008325, allocations: 54.47 kB / 1.007 GB, free: 5.695 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001898/0.008515, allocations: 32.11 kB / 1.007 GB, free: 5.664 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.009774, allocations: 1.827 MB / 1.009 GB, free: 3.695 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.5e-05/0.009819, allocations: 75.33 kB / 1.009 GB, free: 3.602 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.062e-05/0.00985, allocations: 12.36 kB / 1.009 GB, free: 3.59 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.781e-05/0.009888, allocations: 24.48 kB / 1.009 GB, free: 3.566 MB / 0.9636 GB Notification: Performance of SimCode: time 5.01e-07/0.009888, allocations: 0 / 1.009 GB, free: 3.566 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01506/0.02495, allocations: 3.583 MB / 1.012 GB, free: 160 kB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.529/6.554, allocations: 9.984 kB / 1.012 GB, free: 152 kB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime_fmu --startTime=-10 --stopTime=5 --stepSize=0.006 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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.4831687733531]