Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.Timer,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",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.001121/0.001121, 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.00113/0.00113, allocations: 193 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.286/1.286, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.602/2.602, allocations: 469.8 MB / 0.7424 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00177/0.00177, allocations: 71.2 kB / 0.9087 GB, free: 34.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2609, allocations: 159.2 MB / 1.064 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001756/0.2627, allocations: 0.7337 MB / 1.065 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001458/0.2641, allocations: 1.266 MB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.109e-05/0.2642, allocations: 0 / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.063e-05/0.2642, allocations: 7.922 kB / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.181e-05/0.2643, allocations: 23.8 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005926/0.2649, allocations: 246.8 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000263/0.2652, allocations: 255.6 kB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.93e-05/0.2653, allocations: 28.14 kB / 1.067 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.2654, allocations: 95.86 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.2655, allocations: 83.77 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.205e-05/0.2655, allocations: 24 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.548e-05/0.2656, allocations: 39.97 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.534e-05/0.2657, allocations: 27.92 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.2658, allocations: 91.73 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002463/0.266, allocations: 215.7 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.2661, allocations: 7.938 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.72e-07/0.2661, allocations: 0 / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.2661, allocations: 4 kB / 1.067 GB, free: 11.05 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006545/0.2667, allocations: 0.4908 MB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.2668, allocations: 8.031 kB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.369e-05/0.2668, allocations: 42.73 kB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.796e-05/0.2669, allocations: 20.78 kB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005751/0.2675, allocations: 256.2 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.2675, allocations: 16.36 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.028e-05/0.2675, allocations: 20.36 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002202/0.2678, allocations: 132.5 kB / 1.068 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.2678, allocations: 3.938 kB / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.2678, allocations: 7.984 kB / 1.068 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.2678, allocations: 3.984 kB / 1.068 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.2679, allocations: 59.95 kB / 1.068 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000746/0.2687, allocations: 0.5124 MB / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002504/0.269, allocations: 157.2 kB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.2691, allocations: 61.7 kB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.2691, allocations: 7.938 kB / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003169/0.2694, allocations: 213 kB / 1.069 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 1.323e-06/0.2694, allocations: 0 / 1.069 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22): time 0.0005158/0.2699, allocations: 310.5 kB / 1.069 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.582e-05/0.27, allocations: 93.03 kB / 1.069 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.674e-05/0.2701, allocations: 127.2 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.684e-05/0.2702, allocations: 45.69 kB / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.41e-05/0.2702, allocations: 96.61 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.76e-05/0.2703, allocations: 51.44 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.2704, allocations: 77.67 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.2705, allocations: 322.8 kB / 1.07 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.2707, allocations: 84.23 kB / 1.07 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000217/0.2709, allocations: 156.9 kB / 1.07 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003063/0.2713, allocations: 256.2 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2713, allocations: 0 / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005535/0.2718, allocations: 361.2 kB / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.724e-05/0.2719, allocations: 63.39 kB / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.2719, allocations: 4 kB / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.2719, allocations: 4 kB / 1.071 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.123e-05/0.272, allocations: 24.08 kB / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.272, allocations: 4 kB / 1.071 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003331/0.2723, allocations: 67.78 kB / 1.071 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-05/0.2724, allocations: 19.98 kB / 1.071 GB, free: 6.562 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.0001248/0.2725, allocations: 148 kB / 1.071 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/0.2726, allocations: 15.81 kB / 1.071 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.486e-05/0.2726, allocations: 12.5 kB / 1.071 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.2726, allocations: 7.938 kB / 1.071 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.2726, allocations: 0 / 1.071 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.2726, allocations: 3.984 kB / 1.071 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006139/0.2732, allocations: 0.6075 MB / 1.072 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2733, allocations: 4 kB / 1.072 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.717e-05/0.2733, allocations: 8 kB / 1.072 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.2733, allocations: 3.938 kB / 1.072 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.2733, allocations: 11.98 kB / 1.072 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.2733, allocations: 3.938 kB / 1.072 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/0.2733, allocations: 4 kB / 1.072 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004103/0.2738, allocations: 416.2 kB / 1.072 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.877e-05/0.2738, allocations: 96.86 kB / 1.072 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.56e-05/0.2739, allocations: 16.02 kB / 1.072 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.274, allocations: 15.92 kB / 1.072 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.201e-05/0.2741, allocations: 23.97 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.2741, allocations: 11.98 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.687e-05/0.2741, allocations: 97.64 kB / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.874e-06/0.2742, allocations: 0 / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003277/0.2745, allocations: 59.92 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0007454/0.2752, allocations: 0.9698 MB / 1.074 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004806/0.2757, allocations: 351.1 kB / 1.074 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2757, allocations: 4.438 kB / 1.074 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001627/0.2759, allocations: 119.8 kB / 1.074 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.2763, allocations: 31.97 kB / 1.074 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002481/0.2787, allocations: 2.259 MB / 1.076 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.2791, allocations: 0.7086 MB / 1.077 GB, free: 280 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.818e-05/0.2791, allocations: 17.55 kB / 1.077 GB, free: 264 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.907e-05/0.2792, allocations: 35.42 kB / 1.077 GB, free: 228 kB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2792, allocations: 4 kB / 1.077 GB, free: 224 kB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.679/1.958, allocations: 4.066 MB / 1.081 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.323/11.28, allocations: 8.203 kB / 1.081 GB, free: 12.23 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches