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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_latest_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.006282/0.006282, allocations: 104.1 kB / 15.74 MB, free: 5.988 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.001261/0.001261, allocations: 198.4 kB / 16.68 MB, free: 5.91 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.622/2.622, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 63.89 kB / 1.054 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8789/0.8803, allocations: 157.4 MB / 1.207 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002029/0.8824, allocations: 0.6727 MB / 1.208 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001625/0.884, allocations: 1.155 MB / 1.209 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.969e-05/0.8841, allocations: 4 kB / 1.209 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.566e-05/0.8842, allocations: 3.938 kB / 1.209 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.339e-05/0.8843, allocations: 19.86 kB / 1.209 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00059/0.8849, allocations: 142.7 kB / 1.209 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.8852, allocations: 147.7 kB / 1.209 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.8853, allocations: 8 kB / 1.209 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.8854, allocations: 63.89 kB / 1.209 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.8855, allocations: 51.84 kB / 1.209 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.451e-05/0.8856, allocations: 12 kB / 1.209 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.805e-05/0.8857, allocations: 27.98 kB / 1.21 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.516e-05/0.8857, allocations: 19.92 kB / 1.21 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.324e-05/0.8858, allocations: 51.89 kB / 1.21 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002289/0.886, allocations: 137.8 kB / 1.21 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.8861, allocations: 0 / 1.21 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.013e-06/0.8861, allocations: 4 kB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.8861, allocations: 0 / 1.21 GB, free: 11.07 MB / 0.9356 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.0006887/0.8868, allocations: 413.1 kB / 1.21 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.8868, allocations: 12.03 kB / 1.21 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.353e-05/0.8869, allocations: 38.73 kB / 1.21 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.872e-05/0.887, allocations: 16.83 kB / 1.21 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004269/0.8874, allocations: 204.5 kB / 1.21 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.777e-05/0.8874, allocations: 16.36 kB / 1.21 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.241e-05/0.8875, allocations: 12.38 kB / 1.21 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.8877, allocations: 93.81 kB / 1.211 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.8877, allocations: 0 / 1.211 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.8877, allocations: 0 / 1.211 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.8877, allocations: 4 kB / 1.211 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.761e-05/0.8878, allocations: 39.97 kB / 1.211 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006322/0.8885, allocations: 364.5 kB / 1.211 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.8886, allocations: 94.55 kB / 1.211 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.489e-05/0.8887, allocations: 36.84 kB / 1.211 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.8887, allocations: 4 kB / 1.211 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002771/0.889, allocations: 131.2 kB / 1.211 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.889, allocations: 3.938 kB / 1.211 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.0004166/0.8895, allocations: 205.3 kB / 1.211 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.8895, allocations: 55.41 kB / 1.211 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.223e-05/0.8896, allocations: 109.8 kB / 1.212 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/0.8896, allocations: 33.7 kB / 1.212 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.38e-05/0.8897, allocations: 88.14 kB / 1.212 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.936e-05/0.8898, allocations: 39.69 kB / 1.212 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.193e-05/0.8899, allocations: 45.7 kB / 1.212 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.89, allocations: 326.8 kB / 1.212 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.8901, allocations: 51.92 kB / 1.212 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.8902, allocations: 85.81 kB / 1.212 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/0.8904, allocations: 137.9 kB / 1.212 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.8904, allocations: 0 / 1.212 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003395/0.8908, allocations: 207.2 kB / 1.212 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.675e-05/0.8908, allocations: 33.7 kB / 1.213 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.8908, allocations: 0 / 1.213 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.8908, allocations: 4 kB / 1.213 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.462e-05/0.8909, allocations: 24.05 kB / 1.213 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.8909, allocations: 0 / 1.213 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.8911, allocations: 27.97 kB / 1.213 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.522e-05/0.8912, allocations: 12 kB / 1.213 GB, free: 7.879 MB / 0.9356 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.000125/0.8913, allocations: 133.6 kB / 1.213 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.938e-05/0.8913, allocations: 7.906 kB / 1.213 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.127e-05/0.8914, allocations: 20.5 kB / 1.213 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.8914, allocations: 0 / 1.213 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.8914, allocations: 0 / 1.213 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.8914, allocations: 3.984 kB / 1.213 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004445/0.8918, allocations: 430.5 kB / 1.213 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.8919, allocations: 7.875 kB / 1.213 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.502e-05/0.8919, allocations: 7.938 kB / 1.213 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.972e-06/0.8919, allocations: 4 kB / 1.213 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.8919, allocations: 0 / 1.213 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.8919, allocations: 3.984 kB / 1.213 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.8919, allocations: 4 kB / 1.213 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002779/0.8922, allocations: 266.6 kB / 1.213 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.515e-05/0.8923, allocations: 85.02 kB / 1.213 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.8923, allocations: 7.984 kB / 1.214 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.308e-05/0.8924, allocations: 4 kB / 1.214 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.515e-05/0.8925, allocations: 23.89 kB / 1.214 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.8925, allocations: 8 kB / 1.214 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.158e-05/0.8925, allocations: 99.56 kB / 1.214 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8925, allocations: 3.938 kB / 1.214 GB, free: 6.68 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002799/0.8928, allocations: 32 kB / 1.214 GB, free: 6.648 MB / 0.9356 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.0006692/0.8935, allocations: 0.7944 MB / 1.214 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003253/0.8938, allocations: 199.2 kB / 1.215 GB, free: 5.621 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.8939, allocations: 0 / 1.215 GB, free: 5.621 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.894, allocations: 67.97 kB / 1.215 GB, free: 5.555 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.8943, allocations: 21.64 kB / 1.215 GB, free: 5.535 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001783/0.8961, allocations: 1.702 MB / 1.216 GB, free: 3.723 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.8963, allocations: 0.6885 MB / 1.217 GB, free: 3.008 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.395e-05/0.8964, allocations: 16.55 kB / 1.217 GB, free: 2.992 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.98e-05/0.8964, allocations: 19.44 kB / 1.217 GB, free: 2.977 MB / 0.9356 GB Notification: Performance of SimCode: time 4.41e-07/0.8964, allocations: 0 / 1.217 GB, free: 2.977 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0228/0.9192, allocations: 2.837 MB / 1.22 GB, free: 296 kB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.57/8.489, allocations: 10.12 kB / 1.22 GB, free: 288 kB / 0.9356 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime_fmu --startTime=-10 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,noThr.u,noThr.y,noThr.t,noThr.passed,thrTim.u,thrTim.y,thrTim.t,thrTim.passed Variables in the result:booPul.period,booPul.shift,booPul.width,booPul.y,noThr.passed,noThr.t,noThr.u,noThr.y,thrTim.passed,thrTim.t,thrTim.u,thrTim.y,time