Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001855/0.001855, allocations: 104.2 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002281/0.002281, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.48/1.48, allocations: 230.6 MB / 252.8 MB, free: 9.141 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.163/3.163, allocations: 0.49 GB / 0.7916 GB, free: 33.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 69.17 kB / 1.149 GB, free: 26.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3497, allocations: 176.1 MB / 1.321 GB, free: 3.336 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002107/0.3518, allocations: 0.6596 MB / 1.321 GB, free: 2.676 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001825/0.3536, allocations: 1.202 MB / 1.323 GB, free: 1.461 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.053e-05/0.3537, allocations: 0 / 1.323 GB, free: 1.461 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.048e-05/0.3537, allocations: 3.938 kB / 1.323 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.466e-05/0.3538, allocations: 11.88 kB / 1.323 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005941/0.3544, allocations: 146.7 kB / 1.323 GB, free: 1.305 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002138/0.3546, allocations: 139.8 kB / 1.323 GB, free: 1.168 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.523e-05/0.3547, allocations: 4 kB / 1.323 GB, free: 1.164 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.178e-05/0.3548, allocations: 63.88 kB / 1.323 GB, free: 1.102 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.3549, allocations: 51.86 kB / 1.323 GB, free: 1.051 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.733e-05/0.3549, allocations: 16 kB / 1.323 GB, free: 1.035 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.852e-05/0.355, allocations: 31.92 kB / 1.323 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.787e-05/0.355, allocations: 19.92 kB / 1.323 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.809e-05/0.3551, allocations: 51.83 kB / 1.323 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.3553, allocations: 127.9 kB / 1.323 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3553, allocations: 0 / 1.323 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3553, allocations: 0 / 1.323 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.3553, allocations: 0 / 1.323 GB, free: 0.8086 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.00066/0.356, allocations: 424.9 kB / 1.324 GB, free: 344 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.356, allocations: 19.92 kB / 1.324 GB, free: 324 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.782e-05/0.3561, allocations: 34.73 kB / 1.324 GB, free: 280 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.969e-05/0.3561, allocations: 16.88 kB / 1.324 GB, free: 264 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000482/0.3566, allocations: 212.5 kB / 1.324 GB, free: 12 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/0.3567, allocations: 12.31 kB / 1.324 GB, free: 0 / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.938e-05/0.3567, allocations: 12.42 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.3569, allocations: 89.94 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.3569, allocations: 0 / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.3569, allocations: 0 / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.3569, allocations: 4 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.062e-05/0.357, allocations: 39.97 kB / 1.324 GB, free: 15.85 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006837/0.3577, allocations: 364.5 kB / 1.324 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.3578, allocations: 78.55 kB / 1.325 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.246e-05/0.3579, allocations: 32.84 kB / 1.325 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.989e-06/0.3579, allocations: 0 / 1.325 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002286/0.3581, allocations: 131.3 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.263e-06/0.3581, allocations: 4 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0004881/0.3586, allocations: 198.3 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.3587, allocations: 55.41 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.3588, allocations: 109.8 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.693e-05/0.3588, allocations: 33.7 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.3589, allocations: 96.08 kB / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.984e-05/0.359, allocations: 24 kB / 1.325 GB, free: 14.63 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.92e-05/0.3591, allocations: 49.69 kB / 1.325 GB, free: 14.58 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002264/0.3593, allocations: 326.8 kB / 1.326 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.3594, allocations: 55.88 kB / 1.326 GB, free: 14.2 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.3595, allocations: 84.25 kB / 1.326 GB, free: 14.1 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001908/0.3597, allocations: 134.8 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3597, allocations: 0 / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003609/0.3601, allocations: 216.5 kB / 1.326 GB, free: 13.72 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.054e-05/0.3601, allocations: 33.7 kB / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.3601, allocations: 0 / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.3601, allocations: 0 / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.282e-05/0.3602, allocations: 15.98 kB / 1.326 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.3602, allocations: 4 kB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002021/0.3604, allocations: 36.03 kB / 1.326 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.608e-05/0.3605, allocations: 15.98 kB / 1.326 GB, free: 13.61 MB / 1.029 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.000126/0.3606, allocations: 129.7 kB / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.876e-05/0.3606, allocations: 11.89 kB / 1.326 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.068e-05/0.3606, allocations: 16.48 kB / 1.326 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.3606, allocations: 4 kB / 1.326 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/0.3607, allocations: 4 kB / 1.326 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.3607, allocations: 0 / 1.326 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004776/0.3611, allocations: 438.3 kB / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3611, allocations: 0 / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.961e-05/0.3612, allocations: 4 kB / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.3612, allocations: 0 / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.3612, allocations: 7.984 kB / 1.327 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-06/0.3612, allocations: 4 kB / 1.327 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3612, allocations: 0 / 1.327 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003231/0.3615, allocations: 268.8 kB / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.821e-05/0.3616, allocations: 89 kB / 1.327 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.3616, allocations: 3.984 kB / 1.327 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.86e-05/0.3617, allocations: 7.984 kB / 1.327 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.12e-05/0.3617, allocations: 19.92 kB / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.3617, allocations: 4 kB / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.755e-05/0.3618, allocations: 87.58 kB / 1.327 GB, free: 12.43 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3618, allocations: 4 kB / 1.327 GB, free: 12.43 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002666/0.3621, allocations: 32 kB / 1.327 GB, free: 12.4 MB / 1.029 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.0008931/0.363, allocations: 0.8029 MB / 1.328 GB, free: 11.57 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003253/0.3633, allocations: 179.2 kB / 1.328 GB, free: 11.39 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.3633, allocations: 8.188 kB / 1.328 GB, free: 11.38 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.467e-05/0.3634, allocations: 47.98 kB / 1.328 GB, free: 11.33 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.3637, allocations: 26.44 kB / 1.328 GB, free: 11.31 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002162/0.3658, allocations: 1.718 MB / 1.33 GB, free: 9.48 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003786/0.3662, allocations: 0.6885 MB / 1.331 GB, free: 8.766 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.56e-05/0.3663, allocations: 8.547 kB / 1.331 GB, free: 8.758 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.138e-05/0.3663, allocations: 27.42 kB / 1.331 GB, free: 8.73 MB / 1.029 GB Notification: Performance of SimCode: time 5.71e-07/0.3663, allocations: 4 kB / 1.331 GB, free: 8.727 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03061/0.3969, allocations: 2.798 MB / 1.333 GB, free: 6.082 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.169/8.566, allocations: 0.5938 kB / 1.333 GB, free: 6.082 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime_fmu --startTime=-10 --stopTime=5 --stepSize=0.006 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.204108581179753]