Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001161/0.001161, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009554/0.009554, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.581/1.581, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.042/3.042, allocations: 462.6 MB / 0.7363 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000376/0.000376, allocations: 11.72 kB / 0.9027 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4152/0.4156, allocations: 159.6 MB / 1.059 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.0009827/0.4166, allocations: 397.7 kB / 1.059 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001867/0.4185, allocations: 1.174 MB / 1.06 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.029e-05/0.4186, allocations: 0 / 1.06 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.307e-05/0.4186, allocations: 0 / 1.06 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.119e-05/0.4187, allocations: 3.938 kB / 1.06 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005595/0.4193, allocations: 145.8 kB / 1.06 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001829/0.4195, allocations: 127.7 kB / 1.06 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.4196, allocations: 4 kB / 1.06 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.4197, allocations: 51.89 kB / 1.06 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.4199, allocations: 43.88 kB / 1.061 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.057e-05/0.4199, allocations: 4 kB / 1.061 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.474e-05/0.42, allocations: 27.92 kB / 1.061 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.3e-05/0.42, allocations: 19.91 kB / 1.061 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001769/0.4202, allocations: 77.53 kB / 1.061 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002/0.4204, allocations: 128 kB / 1.061 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4204, allocations: 0 / 1.061 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.823e-06/0.4204, allocations: 0 / 1.061 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.877e-06/0.4205, allocations: 0 / 1.061 GB, free: 2.812 MB / 0.8106 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.0006477/0.4211, allocations: 405 kB / 1.061 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.4212, allocations: 11.97 kB / 1.061 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.6e-05/0.4212, allocations: 8.938 kB / 1.061 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004603/0.4217, allocations: 212.4 kB / 1.061 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.288e-05/0.4217, allocations: 8.359 kB / 1.061 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.156e-05/0.4218, allocations: 16.38 kB / 1.061 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002088/0.422, allocations: 86.12 kB / 1.061 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.422, allocations: 3.938 kB / 1.061 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.422, allocations: 4 kB / 1.061 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.4221, allocations: 4 kB / 1.061 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.4222, allocations: 39.97 kB / 1.062 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000655/0.4228, allocations: 364.6 kB / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.423, allocations: 94.55 kB / 1.062 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.77e-05/0.4231, allocations: 44.84 kB / 1.062 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.4231, allocations: 0 / 1.062 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002809/0.4234, allocations: 131.5 kB / 1.062 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.4234, allocations: 7.875 kB / 1.062 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.0004207/0.4238, allocations: 209.5 kB / 1.062 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.4239, allocations: 55.41 kB / 1.062 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.424, allocations: 109.8 kB / 1.062 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.757e-05/0.4241, allocations: 33.7 kB / 1.063 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.196e-05/0.4241, allocations: 92.08 kB / 1.063 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/0.4242, allocations: 31.61 kB / 1.063 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.833e-05/0.4242, allocations: 25.7 kB / 1.063 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.4244, allocations: 318.8 kB / 1.063 GB, free: 324 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.4245, allocations: 55.97 kB / 1.063 GB, free: 268 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.4246, allocations: 93.22 kB / 1.063 GB, free: 160 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002059/0.4248, allocations: 133.9 kB / 1.063 GB, free: 4 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.4249, allocations: 4 kB / 1.063 GB, free: 0 / 0.8106 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004354/0.4253, allocations: 204.7 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.34e-05/0.4253, allocations: 29.7 kB / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.4254, allocations: 4 kB / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.4254, allocations: 3.938 kB / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.824e-05/0.4255, allocations: 11.98 kB / 1.063 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.4255, allocations: 4 kB / 1.063 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002336/0.4257, allocations: 51.94 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.533e-05/0.4258, allocations: 11.98 kB / 1.064 GB, free: 15.67 MB / 0.8262 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.0001494/0.4259, allocations: 129.7 kB / 1.064 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.109e-05/0.4259, allocations: 8 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.176e-05/0.426, allocations: 16.48 kB / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.426, allocations: 0 / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.426, allocations: 0 / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.426, allocations: 0 / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004855/0.4265, allocations: 438.3 kB / 1.064 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.4265, allocations: 7.938 kB / 1.064 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.254e-05/0.4266, allocations: 4 kB / 1.064 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.4266, allocations: 0 / 1.064 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.4266, allocations: 3.984 kB / 1.064 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.4266, allocations: 4 kB / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.4266, allocations: 4 kB / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000314/0.4269, allocations: 260.6 kB / 1.064 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.662e-05/0.427, allocations: 81.05 kB / 1.064 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.351e-05/0.427, allocations: 15.97 kB / 1.064 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.749e-05/0.4271, allocations: 4 kB / 1.064 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.242e-05/0.4272, allocations: 19.91 kB / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.4272, allocations: 19.92 kB / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.557e-05/0.4273, allocations: 83.28 kB / 1.065 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.4273, allocations: 0 / 1.065 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002885/0.4276, allocations: 32 kB / 1.065 GB, free: 14.46 MB / 0.8262 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.0002212/0.4278, allocations: 116 kB / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003444/0.4282, allocations: 191.4 kB / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4282, allocations: 256 / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.4283, allocations: 80.91 kB / 1.065 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.4286, allocations: 26.33 kB / 1.065 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004962/0.4291, allocations: 207.1 kB / 1.065 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006725/0.4298, allocations: 0.6927 MB / 1.066 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.021e-05/0.4299, allocations: 12.48 kB / 1.066 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.782e-05/0.4299, allocations: 19.44 kB / 1.066 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of SimCode: time 6.91e-07/0.4299, allocations: 0 / 1.066 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of Templates: time 0.006364/0.4363, allocations: 1.5 MB / 1.067 GB, free: 11.57 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches