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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_9_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.001119/0.001118, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001185/0.001185, allocations: 197.3 kB / 16.26 MB, free: 6.629 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.491/1.491, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.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.548/2.548, allocations: 390.2 MB / 0.6644 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001656/0.001656, allocations: 67.89 kB / 0.8122 GB, free: 14.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9285/0.9302, allocations: 140.4 MB / 0.9493 GB, free: 9.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002346/0.9326, allocations: 0.7321 MB / 0.95 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001635/0.9342, allocations: 1.147 MB / 0.9511 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.776e-05/0.9343, allocations: 1.375 kB / 0.9511 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.371e-05/0.9344, allocations: 4 kB / 0.9511 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.659e-05/0.9345, allocations: 13.28 kB / 0.9511 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006047/0.9351, allocations: 132.4 kB / 0.9512 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002403/0.9354, allocations: 156.8 kB / 0.9514 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.9355, allocations: 5.438 kB / 0.9514 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/0.9356, allocations: 56.45 kB / 0.9514 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.9357, allocations: 48.88 kB / 0.9515 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.511e-05/0.9358, allocations: 12.69 kB / 0.9515 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.737e-05/0.9359, allocations: 24.61 kB / 0.9515 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.031e-05/0.9359, allocations: 23.66 kB / 0.9515 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.538e-05/0.936, allocations: 58.02 kB / 0.9516 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002228/0.9363, allocations: 135.8 kB / 0.9517 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.9363, allocations: 0 / 0.9517 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.384e-06/0.9363, allocations: 0 / 0.9517 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.974e-06/0.9363, allocations: 1.438 kB / 0.9517 GB, free: 7.145 MB / 0.7169 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.0006691/0.937, allocations: 420.4 kB / 0.9521 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.937, allocations: 8.938 kB / 0.9521 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.708e-05/0.9371, allocations: 33.78 kB / 0.9522 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.078e-05/0.9372, allocations: 7.875 kB / 0.9522 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004208/0.9376, allocations: 217.8 kB / 0.9524 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.984e-05/0.9376, allocations: 9.438 kB / 0.9524 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.501e-05/0.9377, allocations: 13.42 kB / 0.9524 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.9379, allocations: 85.73 kB / 0.9525 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.9379, allocations: 0 / 0.9525 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.9379, allocations: 9.359 kB / 0.9525 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.9379, allocations: 1.219 kB / 0.9525 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.559e-05/0.938, allocations: 35.94 kB / 0.9525 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006103/0.9386, allocations: 354.5 kB / 0.9529 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.9388, allocations: 97.88 kB / 0.953 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.924e-05/0.9389, allocations: 35.38 kB / 0.953 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.9389, allocations: 1.062 kB / 0.953 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003386/0.9393, allocations: 140 kB / 0.9531 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 2.725e-06/0.9393, allocations: 96 / 0.9531 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0004445/0.9397, allocations: 201.9 kB / 0.9533 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.9398, allocations: 54.16 kB / 0.9534 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.377e-05/0.9399, allocations: 114.6 kB / 0.9535 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/0.9399, allocations: 33.45 kB / 0.9535 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.946e-05/0.94, allocations: 91.95 kB / 0.9536 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.245e-05/0.94, allocations: 32.58 kB / 0.9536 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.92e-05/0.9401, allocations: 48.52 kB / 0.9537 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.781e-05/0.9402, allocations: 325 kB / 0.954 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.9403, allocations: 50.5 kB / 0.954 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.9405, allocations: 88.23 kB / 0.9541 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001922/0.9407, allocations: 142.4 kB / 0.9543 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.9407, allocations: 1.719 kB / 0.9543 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003761/0.9411, allocations: 202.6 kB / 0.9545 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.265e-05/0.9411, allocations: 37.19 kB / 0.9545 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.9411, allocations: 4.688 kB / 0.9545 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.9411, allocations: 2.562 kB / 0.9545 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.179e-05/0.9412, allocations: 12.03 kB / 0.9545 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.9412, allocations: 1.25 kB / 0.9545 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002172/0.9415, allocations: 39.02 kB / 0.9546 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.54e-05/0.9415, allocations: 8.562 kB / 0.9546 GB, free: 4.605 MB / 0.7169 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.0001155/0.9416, allocations: 141.9 kB / 0.9547 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.493e-05/0.9417, allocations: 4.875 kB / 0.9547 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.172e-05/0.9417, allocations: 13.88 kB / 0.9547 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.9417, allocations: 5.422 kB / 0.9547 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.9417, allocations: 0 / 0.9547 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.9417, allocations: 1.438 kB / 0.9547 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004546/0.9422, allocations: 439.3 kB / 0.9551 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.9422, allocations: 0 / 0.9551 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.72e-05/0.9423, allocations: 12.67 kB / 0.9552 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.9423, allocations: 0 / 0.9552 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.9423, allocations: 6.312 kB / 0.9552 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.9423, allocations: 1.25 kB / 0.9552 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.9423, allocations: 0 / 0.9552 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003055/0.9426, allocations: 265.7 kB / 0.9554 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.486e-05/0.9427, allocations: 79.2 kB / 0.9555 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.13e-05/0.9427, allocations: 7.75 kB / 0.9555 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.844e-05/0.9428, allocations: 10.36 kB / 0.9555 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.591e-05/0.9429, allocations: 18.11 kB / 0.9555 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.9429, allocations: 17.7 kB / 0.9555 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.876e-05/0.9429, allocations: 88.36 kB / 0.9556 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9429, allocations: 1.438 kB / 0.9556 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000322/0.9433, allocations: 35.86 kB / 0.9557 GB, free: 3.625 MB / 0.7169 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.0006/0.9439, allocations: 0.8009 MB / 0.9564 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003683/0.9442, allocations: 201.8 kB / 0.9566 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.9443, allocations: 0 / 0.9566 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.9444, allocations: 72.64 kB / 0.9567 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003131/0.9447, allocations: 22.52 kB / 0.9567 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.9465, allocations: 1.719 MB / 0.9584 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000159/0.9467, allocations: 0.6936 MB / 0.9591 GB, free: 492 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.419e-05/0.9467, allocations: 10.3 kB / 0.9591 GB, free: 488 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.261e-05/0.9468, allocations: 21.44 kB / 0.9591 GB, free: 472 kB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.9468, allocations: 0 / 0.9591 GB, free: 472 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01604/0.9628, allocations: 2.61 MB / 0.9617 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002234/0.9631, allocations: 230.8 kB / 0.9619 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.829/2.792, allocations: 0 / 0.9619 GB, free: 14.93 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime_fmu --startTime=-10 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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