Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01498/0.01498, allocations: 97.62 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003127/0.003127, allocations: 197.5 kB / 16.68 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.057/3.057, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 5.822/5.822, allocations: 437 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002821/0.002822, allocations: 71.81 kB / 1.018 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7398/0.7427, allocations: 151.6 MB / 1.166 GB, free: 7.418 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.003872/0.7467, allocations: 0.6659 MB / 1.167 GB, free: 6.75 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01149/0.7582, allocations: 1.164 MB / 1.168 GB, free: 5.57 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001489/0.7585, allocations: 0 / 1.168 GB, free: 5.57 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.954e-05/0.7586, allocations: 7.922 kB / 1.168 GB, free: 5.562 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001281/0.7588, allocations: 3.938 kB / 1.168 GB, free: 5.559 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001066/0.7598, allocations: 151.7 kB / 1.168 GB, free: 5.41 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003431/0.7602, allocations: 139.8 kB / 1.168 GB, free: 5.273 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001712/0.7604, allocations: 11.98 kB / 1.168 GB, free: 5.262 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001904/0.7606, allocations: 63.83 kB / 1.168 GB, free: 5.199 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00024/0.7608, allocations: 59.8 kB / 1.168 GB, free: 5.141 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.74e-05/0.7609, allocations: 12 kB / 1.168 GB, free: 5.129 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001579/0.7611, allocations: 27.98 kB / 1.168 GB, free: 5.102 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.314e-05/0.7612, allocations: 15.98 kB / 1.168 GB, free: 5.086 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001532/0.7613, allocations: 55.83 kB / 1.169 GB, free: 5.031 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000399/0.7617, allocations: 131.8 kB / 1.169 GB, free: 4.902 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 9.889e-06/0.7618, allocations: 4 kB / 1.169 GB, free: 4.898 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.306e-06/0.7618, allocations: 0 / 1.169 GB, free: 4.898 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.893e-05/0.7618, allocations: 0 / 1.169 GB, free: 4.898 MB / 0.92 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.001182/0.763, allocations: 424.9 kB / 1.169 GB, free: 4.426 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 9.715e-05/0.7631, allocations: 8.031 kB / 1.169 GB, free: 4.418 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.407e-05/0.7632, allocations: 42.73 kB / 1.169 GB, free: 4.367 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.991e-05/0.7633, allocations: 8.891 kB / 1.169 GB, free: 4.359 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007445/0.7641, allocations: 216.4 kB / 1.169 GB, free: 4.109 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.256e-05/0.7642, allocations: 8.359 kB / 1.169 GB, free: 4.102 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.675e-05/0.7642, allocations: 12.38 kB / 1.169 GB, free: 4.09 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004544/0.7688, allocations: 89.94 kB / 1.169 GB, free: 3.996 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/0.7689, allocations: 0 / 1.169 GB, free: 3.996 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.195e-05/0.7689, allocations: 8 kB / 1.169 GB, free: 3.988 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.769, allocations: 0 / 1.169 GB, free: 3.988 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002/0.7692, allocations: 43.91 kB / 1.169 GB, free: 3.945 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/0.7704, allocations: 356.6 kB / 1.17 GB, free: 3.547 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002919/0.7707, allocations: 94.55 kB / 1.17 GB, free: 3.445 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.7708, allocations: 44.88 kB / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.7708, allocations: 0 / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004036/0.7712, allocations: 127.2 kB / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of pre-optimization done (n=13): time 2.625e-06/0.7713, allocations: 4 kB / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of matching and sorting (n=13): time 0.0006685/0.7719, allocations: 205.6 kB / 1.17 GB, free: 3.055 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.125e-05/0.772, allocations: 55.34 kB / 1.17 GB, free: 2.988 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.7722, allocations: 114 kB / 1.17 GB, free: 2.867 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.996e-05/0.7723, allocations: 33.7 kB / 1.17 GB, free: 2.828 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.686e-05/0.7724, allocations: 92.12 kB / 1.171 GB, free: 2.734 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.221e-05/0.7724, allocations: 27.8 kB / 1.171 GB, free: 2.707 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000165/0.7726, allocations: 49.69 kB / 1.171 GB, free: 2.652 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000258/0.7729, allocations: 322.8 kB / 1.171 GB, free: 2.328 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.7731, allocations: 51.97 kB / 1.171 GB, free: 2.277 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002139/0.7733, allocations: 84.2 kB / 1.171 GB, free: 2.18 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003362/0.7736, allocations: 137.9 kB / 1.171 GB, free: 2.023 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.7737, allocations: 0 / 1.171 GB, free: 2.023 MB / 0.92 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006044/0.7743, allocations: 211.2 kB / 1.171 GB, free: 1.805 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 6.881e-05/0.7744, allocations: 37.64 kB / 1.171 GB, free: 1.762 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.7744, allocations: 4 kB / 1.171 GB, free: 1.758 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/0.7744, allocations: 0 / 1.171 GB, free: 1.758 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.7746, allocations: 19.92 kB / 1.171 GB, free: 1.738 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.473e-05/0.7746, allocations: 4 kB / 1.171 GB, free: 1.734 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003053/0.7749, allocations: 35.98 kB / 1.171 GB, free: 1.699 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.663e-05/0.775, allocations: 12 kB / 1.171 GB, free: 1.688 MB / 0.92 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 0.0002081/0.7752, allocations: 125.8 kB / 1.172 GB, free: 1.555 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.413e-05/0.7752, allocations: 11.95 kB / 1.172 GB, free: 1.543 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.306e-05/0.7753, allocations: 12.5 kB / 1.172 GB, free: 1.527 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/0.7753, allocations: 3.984 kB / 1.172 GB, free: 1.523 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/0.7753, allocations: 8 kB / 1.172 GB, free: 1.516 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.7753, allocations: 3.984 kB / 1.172 GB, free: 1.512 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001705/0.7771, allocations: 433.9 kB / 1.172 GB, free: 1.035 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.7771, allocations: 0 / 1.172 GB, free: 1.035 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.994e-05/0.7771, allocations: 4 kB / 1.172 GB, free: 1.031 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/0.7772, allocations: 0 / 1.172 GB, free: 1.031 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.366e-05/0.7772, allocations: 3.984 kB / 1.172 GB, free: 1.027 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.424e-06/0.7772, allocations: 4 kB / 1.172 GB, free: 1.023 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.7772, allocations: 0 / 1.172 GB, free: 1.023 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005107/0.7777, allocations: 267.3 kB / 1.172 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 8.657e-05/0.7778, allocations: 85.06 kB / 1.172 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.35e-05/0.7779, allocations: 11.98 kB / 1.172 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.778, allocations: 4 kB / 1.172 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.7781, allocations: 23.84 kB / 1.172 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-05/0.7782, allocations: 8 kB / 1.172 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001113/0.7783, allocations: 87.27 kB / 1.173 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7783, allocations: 0 / 1.173 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004779/0.7788, allocations: 39.94 kB / 1.173 GB, free: 484 kB / 0.92 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.001206/0.78, allocations: 0.8103 MB / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006946/0.7807, allocations: 183.3 kB / 1.174 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.7807, allocations: 4.25 kB / 1.174 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002161/0.781, allocations: 75.89 kB / 1.174 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005871/0.7816, allocations: 21.48 kB / 1.174 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003746/0.7853, allocations: 1.716 MB / 1.175 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004703/0.7859, allocations: 0.6846 MB / 1.176 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.987e-05/0.786, allocations: 12.55 kB / 1.176 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.621e-05/0.786, allocations: 23.42 kB / 1.176 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of SimCode: time 1.172e-06/0.7861, allocations: 4 kB / 1.176 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1025/0.8886, allocations: 2.772 MB / 1.179 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.53/15.42, allocations: 24.33 kB / 1.179 GB, free: 10.14 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.csv --start-time -10 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches