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.006113/0.006113, allocations: 100.6 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.001212/0.001212, allocations: 189.6 kB / 16.67 MB, free: 5.934 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.588/2.588, allocations: 437 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001188, allocations: 64.12 kB / 1.018 GB, free: 9.871 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.005/1.006, allocations: 151.6 MB / 1.166 GB, free: 3.746 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.0021/1.008, allocations: 0.6781 MB / 1.167 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001755/1.01, allocations: 1.162 MB / 1.168 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.733e-05/1.01, allocations: 4 kB / 1.168 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.177e-05/1.01, allocations: 7.922 kB / 1.168 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001011/1.01, allocations: 7.922 kB / 1.168 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006911/1.011, allocations: 143.8 kB / 1.168 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002493/1.011, allocations: 151.7 kB / 1.168 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/1.011, allocations: 8 kB / 1.168 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/1.011, allocations: 67.81 kB / 1.168 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/1.011, allocations: 47.88 kB / 1.168 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.283e-05/1.011, allocations: 16 kB / 1.168 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/1.011, allocations: 35.97 kB / 1.168 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.65e-05/1.011, allocations: 19.92 kB / 1.168 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 8.629e-05/1.012, allocations: 47.84 kB / 1.169 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002302/1.012, allocations: 127.3 kB / 1.169 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/1.012, allocations: 0 / 1.169 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.335e-06/1.012, allocations: 0 / 1.169 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.933e-06/1.012, allocations: 0 / 1.169 GB, free: 1.234 MB / 0.8887 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.0006829/1.013, allocations: 420.9 kB / 1.169 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/1.013, allocations: 12.92 kB / 1.169 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.186e-05/1.013, allocations: 42.73 kB / 1.169 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.595e-05/1.013, allocations: 12.89 kB / 1.169 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004266/1.013, allocations: 212.4 kB / 1.169 GB, free: 456 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/1.013, allocations: 12.36 kB / 1.169 GB, free: 444 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.985e-05/1.013, allocations: 8.375 kB / 1.169 GB, free: 436 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/1.013, allocations: 93.88 kB / 1.169 GB, free: 336 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/1.013, allocations: 0 / 1.169 GB, free: 336 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/1.013, allocations: 0 / 1.169 GB, free: 336 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/1.013, allocations: 11.94 kB / 1.169 GB, free: 324 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.34e-05/1.014, allocations: 39.91 kB / 1.169 GB, free: 284 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006294/1.014, allocations: 360.6 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/1.014, allocations: 90.64 kB / 1.17 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.469e-05/1.014, allocations: 44.78 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 8.696e-06/1.014, allocations: 4 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000232/1.015, allocations: 119.3 kB / 1.17 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=13): time 3.877e-06/1.015, allocations: 3.984 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13): time 0.0004336/1.015, allocations: 203.3 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.315e-05/1.015, allocations: 59.34 kB / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/1.015, allocations: 125.8 kB / 1.17 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/1.015, allocations: 33.7 kB / 1.17 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.756e-05/1.015, allocations: 84.14 kB / 1.171 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.664e-05/1.016, allocations: 39.88 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/1.016, allocations: 45.69 kB / 1.171 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001423/1.016, allocations: 322.8 kB / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/1.016, allocations: 47.97 kB / 1.171 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/1.016, allocations: 93 kB / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002008/1.016, allocations: 133.9 kB / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/1.016, allocations: 0 / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003651/1.017, allocations: 212.3 kB / 1.171 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.052e-05/1.017, allocations: 33.7 kB / 1.171 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/1.017, allocations: 0 / 1.171 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.885e-05/1.017, allocations: 4 kB / 1.171 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.98e-05/1.017, allocations: 15.92 kB / 1.171 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/1.017, allocations: 0 / 1.171 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002258/1.017, allocations: 39.86 kB / 1.171 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.621e-05/1.017, allocations: 8.125 kB / 1.171 GB, free: 14.02 MB / 0.9044 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.0001274/1.017, allocations: 137.7 kB / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.33e-05/1.017, allocations: 11.95 kB / 1.172 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.994e-05/1.017, allocations: 8.5 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/1.017, allocations: 0 / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/1.017, allocations: 0 / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/1.017, allocations: 3.984 kB / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004679/1.018, allocations: 443.5 kB / 1.172 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/1.018, allocations: 8 kB / 1.172 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.083e-05/1.018, allocations: 4 kB / 1.172 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/1.018, allocations: 0 / 1.172 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/1.018, allocations: 7.984 kB / 1.172 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/1.018, allocations: 0 / 1.172 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/1.018, allocations: 4 kB / 1.172 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000295/1.018, allocations: 264.7 kB / 1.172 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.568e-05/1.018, allocations: 81.06 kB / 1.172 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.243e-05/1.018, allocations: 15.98 kB / 1.172 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.39e-05/1.018, allocations: 4 kB / 1.172 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.41e-05/1.018, allocations: 19.91 kB / 1.172 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/1.018, allocations: 8 kB / 1.172 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.603e-05/1.019, allocations: 87.27 kB / 1.173 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.1e-07/1.019, allocations: 0 / 1.173 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002873/1.019, allocations: 35.94 kB / 1.173 GB, free: 12.8 MB / 0.9044 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.0006678/1.019, allocations: 0.8033 MB / 1.173 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003176/1.02, allocations: 188.4 kB / 1.174 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.02, allocations: 0 / 1.174 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001114/1.02, allocations: 75.91 kB / 1.174 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/1.02, allocations: 20.17 kB / 1.174 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001868/1.022, allocations: 1.702 MB / 1.175 GB, free: 9.875 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/1.022, allocations: 0.6885 MB / 1.176 GB, free: 9.16 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.599e-05/1.022, allocations: 12.55 kB / 1.176 GB, free: 9.148 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.019e-05/1.023, allocations: 24.67 kB / 1.176 GB, free: 9.125 MB / 0.9044 GB Notification: Performance of SimCode: time 4.087e-06/1.023, allocations: 0 / 1.176 GB, free: 9.125 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02272/1.045, allocations: 2.784 MB / 1.179 GB, free: 6.48 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.829/8.875, allocations: 11.94 kB / 1.179 GB, free: 6.469 MB / 0.9044 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