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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 109.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.001487/0.001487, 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.483/1.483, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.63/2.63, allocations: 443.5 MB / 0.7287 GB, free: 13.28 MB / 0.5919 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003139/0.003139, allocations: 67.89 kB / 1.056 GB, free: 5.879 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.814/0.8171, allocations: 160.7 MB / 1.213 GB, free: 3.883 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001991/0.8191, allocations: 0.6864 MB / 1.214 GB, free: 3.371 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001608/0.8207, allocations: 1.163 MB / 1.215 GB, free: 2.434 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.304e-05/0.8208, allocations: 0.9375 kB / 1.215 GB, free: 2.434 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.404e-05/0.8208, allocations: 0 / 1.215 GB, free: 2.434 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.968e-05/0.8209, allocations: 18.02 kB / 1.215 GB, free: 2.418 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005282/0.8214, allocations: 142 kB / 1.215 GB, free: 2.32 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002454/0.8216, allocations: 145.2 kB / 1.215 GB, free: 2.238 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.337e-05/0.8217, allocations: 11.23 kB / 1.215 GB, free: 2.23 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.73e-05/0.8218, allocations: 53.28 kB / 1.215 GB, free: 2.203 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.8219, allocations: 58.75 kB / 1.215 GB, free: 2.16 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.892e-05/0.822, allocations: 12.75 kB / 1.215 GB, free: 2.16 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.909e-05/0.822, allocations: 31.33 kB / 1.215 GB, free: 2.148 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.927e-05/0.8221, allocations: 19.86 kB / 1.215 GB, free: 2.133 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.32e-05/0.8221, allocations: 51.52 kB / 1.215 GB, free: 2.098 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001998/0.8223, allocations: 132 kB / 1.215 GB, free: 2 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.8223, allocations: 0 / 1.215 GB, free: 2 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.352e-06/0.8223, allocations: 1.094 kB / 1.215 GB, free: 2 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.8223, allocations: 0 / 1.215 GB, free: 2 MB / 0.92 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.0006089/0.823, allocations: 421.3 kB / 1.216 GB, free: 1.566 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.823, allocations: 9.312 kB / 1.216 GB, free: 1.566 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.343e-05/0.823, allocations: 37.14 kB / 1.216 GB, free: 1.523 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.732e-05/0.8231, allocations: 12.58 kB / 1.216 GB, free: 1.52 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004003/0.8235, allocations: 217.2 kB / 1.216 GB, free: 1.285 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.8235, allocations: 13.61 kB / 1.216 GB, free: 1.277 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.187e-05/0.8235, allocations: 9.344 kB / 1.216 GB, free: 1.277 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.8237, allocations: 89.81 kB / 1.216 GB, free: 1.207 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.8237, allocations: 0 / 1.216 GB, free: 1.207 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.8237, allocations: 2.062 kB / 1.216 GB, free: 1.207 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.8237, allocations: 1.062 kB / 1.216 GB, free: 1.207 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.286e-05/0.8238, allocations: 44.06 kB / 1.216 GB, free: 1.184 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006064/0.8244, allocations: 357.5 kB / 1.217 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/0.8246, allocations: 76.25 kB / 1.217 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.588e-05/0.8247, allocations: 38.67 kB / 1.217 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.024e-06/0.8247, allocations: 3.938 kB / 1.217 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002729/0.825, allocations: 127.5 kB / 1.217 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.825, allocations: 0 / 1.217 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of matching and sorting (n=13): time 0.0004079/0.8254, allocations: 200.6 kB / 1.217 GB, free: 0.543 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.8254, allocations: 61.73 kB / 1.217 GB, free: 484 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.8255, allocations: 111 kB / 1.217 GB, free: 372 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.327e-05/0.8256, allocations: 33.64 kB / 1.217 GB, free: 336 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.613e-05/0.8256, allocations: 96.41 kB / 1.217 GB, free: 240 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.32e-05/0.8257, allocations: 32.55 kB / 1.217 GB, free: 212 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.352e-05/0.8257, allocations: 44.05 kB / 1.217 GB, free: 180 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.8259, allocations: 329.5 kB / 1.218 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.826, allocations: 50.16 kB / 1.218 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.8262, allocations: 87.36 kB / 1.218 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001956/0.8264, allocations: 136.2 kB / 1.218 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.8264, allocations: 0 / 1.218 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000376/0.8267, allocations: 211.7 kB / 1.218 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.248e-05/0.8268, allocations: 41.17 kB / 1.218 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.8268, allocations: 1.125 kB / 1.218 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.8268, allocations: 2.406 kB / 1.218 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.443e-05/0.8269, allocations: 7.125 kB / 1.218 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.8269, allocations: 6.484 kB / 1.218 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/0.8271, allocations: 38.92 kB / 1.218 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.8271, allocations: 11.69 kB / 1.218 GB, free: 15.45 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.0001388/0.8273, allocations: 134.8 kB / 1.218 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.288e-05/0.8273, allocations: 8.203 kB / 1.218 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.061e-05/0.8273, allocations: 9.812 kB / 1.218 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.8273, allocations: 1.469 kB / 1.218 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.8273, allocations: 0 / 1.218 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.8273, allocations: 5.531 kB / 1.218 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005193/0.8279, allocations: 442.1 kB / 1.219 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.8279, allocations: 0 / 1.219 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.142e-05/0.8279, allocations: 8.281 kB / 1.219 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.187e-06/0.8279, allocations: 1.094 kB / 1.219 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.8279, allocations: 1.094 kB / 1.219 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.8279, allocations: 1.156 kB / 1.219 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.8279, allocations: 0 / 1.219 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003474/0.8283, allocations: 269.7 kB / 1.219 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.716e-05/0.8283, allocations: 82.44 kB / 1.219 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.925e-05/0.8284, allocations: 6.656 kB / 1.219 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.239e-05/0.8284, allocations: 15.83 kB / 1.219 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.76e-05/0.8285, allocations: 22.19 kB / 1.219 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.8285, allocations: 5.156 kB / 1.219 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.582e-05/0.8286, allocations: 89.17 kB / 1.219 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.8286, allocations: 0 / 1.219 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003034/0.8289, allocations: 31.19 kB / 1.219 GB, free: 14.48 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.0007691/0.8297, allocations: 0.8061 MB / 1.22 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003635/0.83, allocations: 177.7 kB / 1.22 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.83, allocations: 0 / 1.22 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.8301, allocations: 53.3 kB / 1.22 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.8304, allocations: 22.3 kB / 1.22 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/0.8325, allocations: 1.709 MB / 1.222 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.8328, allocations: 0.6903 MB / 1.223 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.247e-05/0.8328, allocations: 14.42 kB / 1.223 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.283e-05/0.8329, allocations: 21.72 kB / 1.223 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of SimCode: time 4.01e-07/0.8329, allocations: 5.156 kB / 1.223 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02736/0.8603, allocations: 2.804 MB / 1.225 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.958/8.818, allocations: 9.328 kB / 1.225 GB, free: 9.906 MB / 0.9356 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime_fmu --startTime=-10 --stopTime=5 --stepSize=0.006 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.82089031394571]