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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001798/0.001798, allocations: 110.4 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001996/0.001996, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 225.6 MB / 247.8 MB, free: 13.91 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.257/3.257, allocations: 497.2 MB / 0.7811 GB, free: 33.78 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: "" <> 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 71.3 kB / 1.134 GB, free: 33.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3352, allocations: 173.9 MB / 1.304 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001831/0.337, allocations: 0.6567 MB / 1.305 GB, free: 0.7734 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001513/0.3385, allocations: 1.171 MB / 1.306 GB, free: 15.59 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.329e-05/0.3386, allocations: 0 / 1.306 GB, free: 15.59 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.279e-05/0.3386, allocations: 7.922 kB / 1.306 GB, free: 15.58 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.561e-05/0.3387, allocations: 11.92 kB / 1.306 GB, free: 15.57 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004853/0.3391, allocations: 143.3 kB / 1.306 GB, free: 15.43 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001923/0.3393, allocations: 139.8 kB / 1.306 GB, free: 15.3 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.207e-05/0.3394, allocations: 15.88 kB / 1.306 GB, free: 15.28 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.433e-05/0.3395, allocations: 55.89 kB / 1.306 GB, free: 15.23 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.3396, allocations: 63.8 kB / 1.306 GB, free: 15.16 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.856e-05/0.3397, allocations: 12 kB / 1.306 GB, free: 15.15 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.284e-05/0.3397, allocations: 27.98 kB / 1.306 GB, free: 15.12 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.071e-05/0.3398, allocations: 19.97 kB / 1.306 GB, free: 15.11 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.529e-05/0.3398, allocations: 47.84 kB / 1.306 GB, free: 15.06 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002004/0.34, allocations: 135.8 kB / 1.306 GB, free: 14.93 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.34, allocations: 0 / 1.306 GB, free: 14.93 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.392e-06/0.34, allocations: 4 kB / 1.306 GB, free: 14.92 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.34, allocations: 0 / 1.306 GB, free: 14.92 MB / 1.014 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.000621/0.3407, allocations: 420.9 kB / 1.307 GB, free: 14.45 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.3407, allocations: 8.625 kB / 1.307 GB, free: 14.45 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.513e-05/0.3407, allocations: 42.73 kB / 1.307 GB, free: 14.39 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.731e-05/0.3408, allocations: 8.891 kB / 1.307 GB, free: 14.39 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004073/0.3412, allocations: 220.4 kB / 1.307 GB, free: 14.13 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.3412, allocations: 4.375 kB / 1.307 GB, free: 14.13 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.996e-05/0.3413, allocations: 8.375 kB / 1.307 GB, free: 14.12 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/0.3415, allocations: 89.94 kB / 1.307 GB, free: 14.03 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.383e-06/0.3415, allocations: 4 kB / 1.307 GB, free: 14.02 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.3415, allocations: 4 kB / 1.307 GB, free: 14.02 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3415, allocations: 3.938 kB / 1.307 GB, free: 14.02 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.518e-05/0.3416, allocations: 39.97 kB / 1.307 GB, free: 13.98 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005874/0.3422, allocations: 352.6 kB / 1.308 GB, free: 13.58 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.3423, allocations: 86.58 kB / 1.308 GB, free: 13.49 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.177e-05/0.3424, allocations: 28.84 kB / 1.308 GB, free: 13.46 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.057e-05/0.3424, allocations: 0 / 1.308 GB, free: 13.46 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000289/0.3427, allocations: 131.4 kB / 1.308 GB, free: 13.32 MB / 1.014 GB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.3427, allocations: 0 / 1.308 GB, free: 13.32 MB / 1.014 GB Notification: Performance of matching and sorting (n=13): time 0.0004002/0.3431, allocations: 205.5 kB / 1.308 GB, free: 13.11 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/0.3432, allocations: 63.39 kB / 1.308 GB, free: 13.04 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.092e-05/0.3432, allocations: 105.8 kB / 1.308 GB, free: 12.92 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.827e-05/0.3433, allocations: 33.7 kB / 1.308 GB, free: 12.88 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.543e-05/0.3434, allocations: 92.12 kB / 1.308 GB, free: 12.79 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.131e-05/0.3434, allocations: 27.81 kB / 1.308 GB, free: 12.76 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.21e-05/0.3435, allocations: 49.62 kB / 1.308 GB, free: 12.71 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.3436, allocations: 322.7 kB / 1.309 GB, free: 12.38 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.3437, allocations: 51.97 kB / 1.309 GB, free: 12.33 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.3439, allocations: 95.83 kB / 1.309 GB, free: 12.23 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/0.344, allocations: 125.9 kB / 1.309 GB, free: 12.08 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.344, allocations: 8 kB / 1.309 GB, free: 12.07 MB / 1.014 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003532/0.3444, allocations: 215 kB / 1.309 GB, free: 11.86 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.99e-05/0.3444, allocations: 37.7 kB / 1.309 GB, free: 11.81 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3444, allocations: 0 / 1.309 GB, free: 11.81 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.3444, allocations: 4 kB / 1.309 GB, free: 11.81 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.195e-05/0.3445, allocations: 11.92 kB / 1.309 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.3445, allocations: 4 kB / 1.309 GB, free: 11.79 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.3447, allocations: 39.98 kB / 1.309 GB, free: 11.75 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.801e-05/0.3448, allocations: 15.98 kB / 1.309 GB, free: 11.74 MB / 1.014 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.0001057/0.3449, allocations: 121.8 kB / 1.309 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.07e-05/0.3449, allocations: 11.95 kB / 1.309 GB, free: 11.6 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.804e-05/0.3449, allocations: 12.48 kB / 1.309 GB, free: 11.58 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.3449, allocations: 7.984 kB / 1.309 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.3449, allocations: 0 / 1.309 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3449, allocations: 3.938 kB / 1.309 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004698/0.3454, allocations: 434.5 kB / 1.31 GB, free: 11.09 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.3454, allocations: 4 kB / 1.31 GB, free: 11.09 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.942e-05/0.3454, allocations: 4 kB / 1.31 GB, free: 11.08 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3454, allocations: 0 / 1.31 GB, free: 11.08 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.3455, allocations: 7.984 kB / 1.31 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3455, allocations: 0 / 1.31 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.3455, allocations: 3.938 kB / 1.31 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000295/0.3458, allocations: 267.4 kB / 1.31 GB, free: 10.79 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.907e-05/0.3458, allocations: 89 kB / 1.31 GB, free: 10.69 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.3458, allocations: 7.922 kB / 1.31 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.544e-05/0.3459, allocations: 8 kB / 1.31 GB, free: 10.67 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.055e-05/0.346, allocations: 19.91 kB / 1.31 GB, free: 10.65 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.346, allocations: 8 kB / 1.31 GB, free: 10.64 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.298e-05/0.346, allocations: 87.27 kB / 1.31 GB, free: 10.56 MB / 1.014 GB Notification: Performance of sort global known variables: time 8.1e-08/0.346, allocations: 0 / 1.31 GB, free: 10.56 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002722/0.3463, allocations: 32 kB / 1.31 GB, free: 10.53 MB / 1.014 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.0006549/0.347, allocations: 0.8038 MB / 1.311 GB, free: 9.699 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003093/0.3473, allocations: 171.3 kB / 1.311 GB, free: 9.52 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3473, allocations: 0 / 1.311 GB, free: 9.52 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 9.949e-05/0.3474, allocations: 61.02 kB / 1.311 GB, free: 9.461 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.3476, allocations: 28.11 kB / 1.311 GB, free: 9.434 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001959/0.3496, allocations: 1.706 MB / 1.313 GB, free: 7.617 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003722/0.35, allocations: 0.6885 MB / 1.314 GB, free: 6.902 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.521e-05/0.35, allocations: 8.547 kB / 1.314 GB, free: 6.895 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.598e-05/0.3501, allocations: 31.36 kB / 1.314 GB, free: 6.863 MB / 1.014 GB Notification: Performance of SimCode: time 5.01e-07/0.3501, allocations: 0 / 1.314 GB, free: 6.863 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02553/0.3756, allocations: 2.794 MB / 1.316 GB, free: 4.223 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.022/8.398, allocations: 9.562 kB / 1.316 GB, free: 4.219 MB / 1.014 GB " [Timeout remaining time 292] (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 --stepSize=0.006 --timeout=800 --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) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.169878937769681]