Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_9_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.01351/0.01351, allocations: 106.5 kB / 15.74 MB, free: 5.578 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.002389/0.00239, allocations: 189.6 kB / 16.67 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.997/1.997, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.084/3.084, allocations: 390.3 MB / 0.6648 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002639/0.00264, allocations: 63.91 kB / 0.9504 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.763/1.766, allocations: 140.4 MB / 1.087 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.005062/1.771, allocations: 0.6677 MB / 1.088 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003774/1.775, allocations: 1.162 MB / 1.089 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/1.775, allocations: 0 / 1.089 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.308e-05/1.775, allocations: 9.859 kB / 1.089 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000174/1.775, allocations: 10.64 kB / 1.089 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001161/1.777, allocations: 134.4 kB / 1.089 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004862/1.777, allocations: 148.8 kB / 1.09 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001665/1.777, allocations: 10.34 kB / 1.09 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000211/1.777, allocations: 58.62 kB / 1.09 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002343/1.778, allocations: 59.08 kB / 1.09 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.293e-05/1.778, allocations: 13.19 kB / 1.09 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001535/1.778, allocations: 23.8 kB / 1.09 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.979e-05/1.778, allocations: 21.31 kB / 1.09 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001396/1.778, allocations: 56.66 kB / 1.09 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004002/1.779, allocations: 139.1 kB / 1.09 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/1.779, allocations: 0 / 1.09 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.046e-06/1.779, allocations: 0 / 1.09 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.738e-05/1.779, allocations: 0.9688 kB / 1.09 GB, free: 3.922 MB / 0.8575 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.0008985/1.78, allocations: 417.8 kB / 1.09 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 7.038e-05/1.78, allocations: 9.781 kB / 1.09 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.287e-05/1.78, allocations: 35.59 kB / 1.09 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.399e-05/1.78, allocations: 13.34 kB / 1.09 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005969/1.78, allocations: 219.4 kB / 1.091 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.041e-05/1.781, allocations: 5.906 kB / 1.091 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.156e-05/1.781, allocations: 16.16 kB / 1.091 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002848/1.781, allocations: 84.12 kB / 1.091 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/1.781, allocations: 0 / 1.091 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.703e-05/1.781, allocations: 6.812 kB / 1.091 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/1.781, allocations: 1.125 kB / 1.091 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001732/1.781, allocations: 39.66 kB / 1.091 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009189/1.782, allocations: 355.6 kB / 1.091 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002997/1.782, allocations: 99.75 kB / 1.091 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/1.783, allocations: 39.8 kB / 1.091 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/1.783, allocations: 5.156 kB / 1.091 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004925/1.783, allocations: 135 kB / 1.091 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 2.524e-06/1.783, allocations: 0 / 1.091 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0007213/1.784, allocations: 200.5 kB / 1.092 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/1.784, allocations: 59.36 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/1.784, allocations: 111.1 kB / 1.092 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.418e-05/1.784, allocations: 34.27 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.236e-05/1.784, allocations: 93.2 kB / 1.092 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.312e-05/1.784, allocations: 30.52 kB / 1.092 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000148/1.784, allocations: 47.44 kB / 1.092 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.997e-05/1.784, allocations: 324.1 kB / 1.092 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/1.785, allocations: 48.03 kB / 1.092 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002392/1.785, allocations: 83.7 kB / 1.092 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003363/1.785, allocations: 144.3 kB / 1.092 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/1.785, allocations: 0.625 kB / 1.092 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006382/1.786, allocations: 212.3 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.212e-05/1.786, allocations: 34.44 kB / 1.093 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/1.786, allocations: 1.188 kB / 1.093 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.625e-05/1.786, allocations: 6.828 kB / 1.093 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/1.786, allocations: 14.03 kB / 1.093 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-05/1.786, allocations: 2.031 kB / 1.093 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003357/1.787, allocations: 36 kB / 1.093 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-05/1.787, allocations: 8.891 kB / 1.093 GB, free: 1.629 MB / 0.8575 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.0001563/1.787, allocations: 133.2 kB / 1.093 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.417e-05/1.787, allocations: 14.03 kB / 1.093 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.343e-05/1.787, allocations: 9.156 kB / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/1.787, allocations: 2.953 kB / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/1.787, allocations: 0 / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.433e-06/1.787, allocations: 1.562 kB / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006966/1.788, allocations: 430.7 kB / 1.093 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/1.788, allocations: 0 / 1.093 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.319e-05/1.788, allocations: 5.078 kB / 1.093 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/1.788, allocations: 0.6875 kB / 1.093 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.807e-05/1.788, allocations: 12.36 kB / 1.093 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/1.788, allocations: 1.266 kB / 1.093 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.788, allocations: 0 / 1.093 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005263/1.788, allocations: 271.9 kB / 1.094 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.536e-05/1.788, allocations: 83.17 kB / 1.094 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.608e-05/1.788, allocations: 5.641 kB / 1.094 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/1.789, allocations: 9.062 kB / 1.094 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.647e-05/1.789, allocations: 20.22 kB / 1.094 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.809e-05/1.789, allocations: 15.5 kB / 1.094 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.466e-05/1.789, allocations: 90.73 kB / 1.094 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.7e-07/1.789, allocations: 3.938 kB / 1.094 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005034/1.789, allocations: 29.48 kB / 1.094 GB, free: 0.7344 MB / 0.8575 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.0009103/1.79, allocations: 0.8094 MB / 1.095 GB, free: 24 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000637/1.791, allocations: 186 kB / 1.095 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/1.791, allocations: 0 / 1.095 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002228/1.791, allocations: 77.7 kB / 1.095 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004896/1.792, allocations: 19 kB / 1.095 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003656/1.795, allocations: 1.697 MB / 1.097 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004627/1.796, allocations: 0.6933 MB / 1.097 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001049/1.796, allocations: 16.52 kB / 1.097 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/1.796, allocations: 23.91 kB / 1.097 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of SimCode: time 4.398e-06/1.796, allocations: 0 / 1.097 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03836/1.835, allocations: 2.78 MB / 1.1 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/13.84, allocations: 7.938 kB / 1.1 GB, free: 13.28 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime_fmu --startTime=-10 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches