Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_11_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.001232/0.001232, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.259/1.259, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.569/2.569, allocations: 469.8 MB / 0.7424 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001768/0.001768, allocations: 69.28 kB / 0.9087 GB, free: 34.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2488, allocations: 159.2 MB / 1.064 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001846/0.2507, allocations: 0.6563 MB / 1.065 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00142/0.2521, allocations: 1.164 MB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.715e-05/0.2522, allocations: 0 / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.817e-05/0.2522, allocations: 7.875 kB / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.163e-05/0.2523, allocations: 11.86 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004661/0.2528, allocations: 138.6 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001784/0.2529, allocations: 147.7 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.538e-05/0.253, allocations: 16 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.804e-05/0.2531, allocations: 59.88 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.269e-05/0.2532, allocations: 43.89 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.018e-05/0.2533, allocations: 12 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.678e-05/0.2534, allocations: 23.98 kB / 1.066 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.137e-05/0.2534, allocations: 27.89 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.99e-05/0.2535, allocations: 51.84 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.2537, allocations: 131.9 kB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2537, allocations: 0 / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2537, allocations: 0 / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.2537, allocations: 4 kB / 1.067 GB, free: 11.66 MB / 0.8262 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.000617/0.2543, allocations: 421 kB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.2544, allocations: 12.03 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.326e-05/0.2544, allocations: 30.75 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.145e-05/0.2545, allocations: 20.77 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000416/0.2549, allocations: 204.5 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.2549, allocations: 12.36 kB / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.091e-05/0.255, allocations: 16.38 kB / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.2552, allocations: 89.88 kB / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.2552, allocations: 0 / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.2552, allocations: 7.938 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-06/0.2552, allocations: 0 / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.887e-05/0.2553, allocations: 39.91 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005958/0.2559, allocations: 360.5 kB / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.2561, allocations: 102.6 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.931e-05/0.2562, allocations: 32.84 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.766e-06/0.2562, allocations: 4 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002607/0.2564, allocations: 128.6 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.2565, allocations: 4 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0003838/0.2568, allocations: 203.5 kB / 1.068 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.2569, allocations: 59.39 kB / 1.068 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.257, allocations: 117.7 kB / 1.068 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.399e-05/0.257, allocations: 33.7 kB / 1.068 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.456e-05/0.2571, allocations: 84.14 kB / 1.068 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.978e-05/0.2571, allocations: 27.7 kB / 1.068 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.698e-05/0.2572, allocations: 49.7 kB / 1.069 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.2573, allocations: 326.8 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.2575, allocations: 47.97 kB / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.2576, allocations: 84.17 kB / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001791/0.2578, allocations: 137.9 kB / 1.069 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2578, allocations: 0 / 1.069 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003358/0.2581, allocations: 208.2 kB / 1.069 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.454e-05/0.2582, allocations: 37.69 kB / 1.069 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.2582, allocations: 0 / 1.069 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.2582, allocations: 4 kB / 1.069 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.648e-05/0.2583, allocations: 16.06 kB / 1.069 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.2583, allocations: 0 / 1.069 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.2585, allocations: 39.89 kB / 1.069 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.2585, allocations: 12 kB / 1.069 GB, free: 8.457 MB / 0.8262 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.0001139/0.2586, allocations: 133.7 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.839e-05/0.2587, allocations: 11.84 kB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.836e-05/0.2587, allocations: 12.5 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.2587, allocations: 4 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.2587, allocations: 3.938 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2587, allocations: 3.938 kB / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004264/0.2591, allocations: 430.5 kB / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2592, allocations: 0 / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.199e-05/0.2592, allocations: 7.984 kB / 1.07 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2592, allocations: 0 / 1.07 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.2592, allocations: 8 kB / 1.07 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.2592, allocations: 4 kB / 1.07 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.2592, allocations: 3.938 kB / 1.07 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002913/0.2595, allocations: 264.3 kB / 1.07 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.2596, allocations: 88.95 kB / 1.07 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.558e-05/0.2596, allocations: 4 kB / 1.07 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.141e-05/0.2597, allocations: 7.984 kB / 1.07 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/0.2598, allocations: 15.92 kB / 1.07 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.2598, allocations: 19.97 kB / 1.07 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.316e-05/0.2598, allocations: 91.27 kB / 1.07 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2598, allocations: 0 / 1.07 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002622/0.2601, allocations: 28 kB / 1.07 GB, free: 7.238 MB / 0.8262 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.0006072/0.2607, allocations: 0.8033 MB / 1.071 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003133/0.261, allocations: 196.7 kB / 1.071 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.2611, allocations: 7.938 kB / 1.071 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.2612, allocations: 75.95 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.2614, allocations: 19.92 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/0.2633, allocations: 1.688 MB / 1.073 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.2636, allocations: 0.6924 MB / 1.074 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.21e-05/0.2637, allocations: 8.547 kB / 1.074 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.529e-05/0.2637, allocations: 24.19 kB / 1.074 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of SimCode: time 6.52e-07/0.2637, allocations: 0 / 1.074 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7036/0.9673, allocations: 2.738 MB / 1.077 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.815/9.782, allocations: 21.41 kB / 1.077 GB, free: 0.9297 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime_fmu --startTime=-10 --stopTime=5 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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