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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00852/0.00852, allocations: 102.8 kB / 15.73 MB, free: 5.992 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.001894/0.001894, allocations: 193.2 kB / 16.67 MB, free: 5.914 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 15.13 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.435/2.435, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 63.91 kB / 0.9509 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9173/0.9188, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001929/0.9208, allocations: 0.6629 MB / 1.089 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001443/0.9222, allocations: 1.162 MB / 1.09 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.494e-05/0.9223, allocations: 7.938 kB / 1.09 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.002e-05/0.9223, allocations: 4.453 kB / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.926e-05/0.9224, allocations: 15.97 kB / 1.09 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005066/0.9229, allocations: 139.9 kB / 1.09 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002191/0.9232, allocations: 144 kB / 1.09 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.836e-05/0.9233, allocations: 10.88 kB / 1.09 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.448e-05/0.9234, allocations: 58.58 kB / 1.09 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.9235, allocations: 56.08 kB / 1.09 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.282e-05/0.9236, allocations: 17.36 kB / 1.09 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.175e-05/0.9236, allocations: 27.44 kB / 1.09 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.1e-05/0.9237, allocations: 16.59 kB / 1.09 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.244e-05/0.9238, allocations: 60.17 kB / 1.09 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002336/0.924, allocations: 133.2 kB / 1.09 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.924, allocations: 0 / 1.09 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.415e-06/0.924, allocations: 1.562 kB / 1.09 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.924, allocations: 0 / 1.09 GB, free: 3.949 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.0006342/0.9247, allocations: 419.9 kB / 1.091 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.9247, allocations: 9.891 kB / 1.091 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.603e-05/0.9248, allocations: 12.64 kB / 1.091 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003844/0.9252, allocations: 214.7 kB / 1.091 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.9252, allocations: 6.781 kB / 1.091 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.689e-05/0.9253, allocations: 15.33 kB / 1.091 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.9254, allocations: 84.41 kB / 1.091 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.9255, allocations: 4.5 kB / 1.091 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.9255, allocations: 2.312 kB / 1.091 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.9255, allocations: 1.281 kB / 1.091 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.9256, allocations: 40.95 kB / 1.091 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006625/0.9263, allocations: 359 kB / 1.092 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/0.9265, allocations: 95.89 kB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.708e-05/0.9266, allocations: 39.77 kB / 1.092 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.798e-06/0.9266, allocations: 1.531 kB / 1.092 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002721/0.9269, allocations: 126.8 kB / 1.092 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.773e-06/0.9269, allocations: 0.7812 kB / 1.092 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0004524/0.9273, allocations: 208.3 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.9274, allocations: 55.67 kB / 1.092 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.643e-05/0.9275, allocations: 115 kB / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.9275, allocations: 30.53 kB / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.124e-05/0.9276, allocations: 96.42 kB / 1.092 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.493e-05/0.9276, allocations: 35.22 kB / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.98e-05/0.9277, allocations: 47.25 kB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.696e-05/0.9278, allocations: 319.1 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.9279, allocations: 49.83 kB / 1.093 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.928, allocations: 83.94 kB / 1.093 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/0.9282, allocations: 137.6 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.9282, allocations: 4.688 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003637/0.9286, allocations: 204.3 kB / 1.093 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.859e-05/0.9286, allocations: 38.91 kB / 1.093 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.9286, allocations: 4.906 kB / 1.093 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.9286, allocations: 3.5 kB / 1.093 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.035e-05/0.9287, allocations: 13.31 kB / 1.093 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.9287, allocations: 1.969 kB / 1.093 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002174/0.929, allocations: 32.16 kB / 1.093 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.218e-05/0.929, allocations: 13.27 kB / 1.093 GB, free: 1.707 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.0001165/0.9291, allocations: 136.8 kB / 1.093 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/0.9292, allocations: 13.36 kB / 1.093 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.69e-05/0.9292, allocations: 10.58 kB / 1.093 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.9292, allocations: 1.688 kB / 1.093 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.9292, allocations: 0 / 1.093 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.9292, allocations: 1.328 kB / 1.093 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004321/0.9297, allocations: 435.5 kB / 1.094 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.9297, allocations: 0 / 1.094 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.337e-05/0.9297, allocations: 13.06 kB / 1.094 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.9297, allocations: 1.406 kB / 1.094 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.9297, allocations: 6.984 kB / 1.094 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.9298, allocations: 0.8125 kB / 1.094 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.9298, allocations: 1.484 kB / 1.094 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003037/0.9301, allocations: 264.7 kB / 1.094 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.815e-05/0.9301, allocations: 87.66 kB / 1.094 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/0.9301, allocations: 5.078 kB / 1.094 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.456e-05/0.9302, allocations: 9.781 kB / 1.094 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.737e-05/0.9303, allocations: 16.03 kB / 1.094 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.9303, allocations: 15.23 kB / 1.094 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.394e-05/0.9304, allocations: 82.69 kB / 1.094 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9304, allocations: 0.5625 kB / 1.094 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002878/0.9307, allocations: 33.92 kB / 1.094 GB, free: 0.8164 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.0001767/0.9308, allocations: 117.9 kB / 1.094 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003777/0.9312, allocations: 189.8 kB / 1.095 GB, free: 0.6133 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.9312, allocations: 8.781 kB / 1.095 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.9314, allocations: 73.55 kB / 1.095 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.9317, allocations: 14.73 kB / 1.095 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004254/0.9321, allocations: 187.5 kB / 1.095 GB, free: 448 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.9323, allocations: 0.6893 MB / 1.096 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.708e-05/0.9324, allocations: 13.09 kB / 1.096 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.357e-05/0.9324, allocations: 13.86 kB / 1.096 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/0.9324, allocations: 0 / 1.096 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of Templates: time 0.005365/0.9378, allocations: 1.659 MB / 1.097 GB, free: 15.56 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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