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.006119/0.006119, allocations: 99.97 kB / 15.73 MB, free: 6.008 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.001259/0.001259, allocations: 193 kB / 16.67 MB, free: 5.93 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.484/1.484, allocations: 222.9 MB / 240.4 MB, free: 15.16 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 2.254/2.254, allocations: 390.3 MB / 0.6648 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 71.89 kB / 0.9504 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9308/0.9322, allocations: 140.4 MB / 1.087 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001806/0.934, allocations: 0.6745 MB / 1.088 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001369/0.9354, allocations: 1.164 MB / 1.089 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.891e-05/0.9355, allocations: 0 / 1.089 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.259e-05/0.9355, allocations: 4.734 kB / 1.089 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.519e-05/0.9356, allocations: 10.14 kB / 1.089 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000492/0.9361, allocations: 138.6 kB / 1.089 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001912/0.9363, allocations: 144.9 kB / 1.09 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.403e-05/0.9364, allocations: 14.88 kB / 1.09 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.924e-05/0.9365, allocations: 58.08 kB / 1.09 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.9366, allocations: 60.23 kB / 1.09 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.007e-05/0.9367, allocations: 16.84 kB / 1.09 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.921e-05/0.9368, allocations: 27.83 kB / 1.09 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.983e-05/0.9368, allocations: 16.11 kB / 1.09 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.899e-05/0.9369, allocations: 56.2 kB / 1.09 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002317/0.9371, allocations: 127.8 kB / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.9371, allocations: 0 / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.984e-06/0.9371, allocations: 0 / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.13e-05/0.9371, allocations: 1 kB / 1.09 GB, free: 3.727 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.0005796/0.9377, allocations: 421.9 kB / 1.09 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.9378, allocations: 10.52 kB / 1.09 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.192e-05/0.9378, allocations: 34.28 kB / 1.09 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.373e-05/0.9379, allocations: 14 kB / 1.09 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003596/0.9382, allocations: 210.8 kB / 1.091 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/0.9383, allocations: 10.03 kB / 1.091 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.561e-05/0.9383, allocations: 12.53 kB / 1.091 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.9385, allocations: 82.94 kB / 1.091 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.9385, allocations: 5.328 kB / 1.091 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.9385, allocations: 6.219 kB / 1.091 GB, free: 3 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.9385, allocations: 9.344 kB / 1.091 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.663e-05/0.9386, allocations: 36.08 kB / 1.091 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005569/0.9392, allocations: 359.3 kB / 1.091 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.9394, allocations: 99.14 kB / 1.091 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.562e-05/0.9395, allocations: 40.94 kB / 1.091 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.9395, allocations: 1.156 kB / 1.091 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002683/0.9398, allocations: 127.5 kB / 1.091 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.9398, allocations: 0 / 1.091 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0004077/0.9402, allocations: 204.2 kB / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.9402, allocations: 60.19 kB / 1.092 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.762e-05/0.9403, allocations: 110.8 kB / 1.092 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.04e-05/0.9403, allocations: 35.16 kB / 1.092 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.053e-05/0.9404, allocations: 92.58 kB / 1.092 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.9404, allocations: 30.5 kB / 1.092 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.313e-05/0.9405, allocations: 47.16 kB / 1.092 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.693e-05/0.9406, allocations: 323.7 kB / 1.092 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.9407, allocations: 49.98 kB / 1.092 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.9408, allocations: 84.48 kB / 1.092 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001711/0.941, allocations: 137.6 kB / 1.092 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.941, allocations: 4.906 kB / 1.092 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000346/0.9413, allocations: 212.1 kB / 1.093 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.413e-05/0.9414, allocations: 34.83 kB / 1.093 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.9414, allocations: 1.094 kB / 1.093 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.9414, allocations: 1.938 kB / 1.093 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.144e-05/0.9415, allocations: 13.66 kB / 1.093 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.9415, allocations: 2.078 kB / 1.093 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/0.9417, allocations: 40.31 kB / 1.093 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.63e-05/0.9418, allocations: 9.312 kB / 1.093 GB, free: 1.43 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 9.54e-05/0.9419, allocations: 132.8 kB / 1.093 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.082e-05/0.9419, allocations: 9.516 kB / 1.093 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.624e-05/0.9419, allocations: 14.78 kB / 1.093 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.9419, allocations: 1.531 kB / 1.093 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.942, allocations: 0.6094 kB / 1.093 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.942, allocations: 6.016 kB / 1.093 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004251/0.9424, allocations: 432.9 kB / 1.093 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.9424, allocations: 0.7188 kB / 1.093 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.976e-05/0.9424, allocations: 4.844 kB / 1.093 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.9424, allocations: 1.594 kB / 1.093 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.9425, allocations: 7.484 kB / 1.093 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.9425, allocations: 1.578 kB / 1.093 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.9425, allocations: 4.562 kB / 1.093 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002594/0.9427, allocations: 268.3 kB / 1.094 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.218e-05/0.9428, allocations: 83.91 kB / 1.094 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.9428, allocations: 8.875 kB / 1.094 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.78e-05/0.9429, allocations: 10.06 kB / 1.094 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.71e-05/0.943, allocations: 15.52 kB / 1.094 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.943, allocations: 12.16 kB / 1.094 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.621e-05/0.943, allocations: 91.17 kB / 1.094 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.943, allocations: 3.938 kB / 1.094 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000289/0.9433, allocations: 33.08 kB / 1.094 GB, free: 0.5312 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.0005719/0.9439, allocations: 0.8061 MB / 1.095 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003263/0.9442, allocations: 186 kB / 1.095 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.9443, allocations: 0 / 1.095 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.9444, allocations: 74.61 kB / 1.095 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.9447, allocations: 23.67 kB / 1.095 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001873/0.9465, allocations: 1.698 MB / 1.097 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.9468, allocations: 0.6931 MB / 1.097 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.532e-05/0.9469, allocations: 11.7 kB / 1.097 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.929e-05/0.9469, allocations: 27.3 kB / 1.097 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of SimCode: time 2.51e-07/0.9469, allocations: 1.094 kB / 1.097 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02002/0.967, allocations: 2.783 MB / 1.1 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.974/8.941, allocations: 10.92 kB / 1.1 GB, free: 13.07 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 & python3 -m fmpy simulate --output-file Buildings_9_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_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.csv","/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