Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.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.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_11_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_11_Buildings_Controls_Continuous_Examples_OffTimer",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.00676/0.00676, allocations: 97.47 kB / 15.73 MB, free: 6.055 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.001829/0.001829, allocations: 195.4 kB / 16.68 MB, free: 5.977 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 4.301 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.632/2.632, allocations: 469.8 MB / 0.7425 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001723/0.001723, allocations: 68.11 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2594, allocations: 159.1 MB / 1.22 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002314/0.2618, allocations: 1.479 MB / 1.222 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0006348/0.2624, allocations: 434.9 kB / 1.222 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.199e-05/0.2625, allocations: 4 kB / 1.222 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.343e-05/0.2625, allocations: 7.938 kB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.148e-05/0.2626, allocations: 3.938 kB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001225/0.2627, allocations: 27.91 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.886e-05/0.2628, allocations: 47.91 kB / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.888e-05/0.2629, allocations: 11.98 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.664e-05/0.263, allocations: 23.86 kB / 1.222 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.058e-05/0.263, allocations: 19.92 kB / 1.222 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.263, allocations: 4 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.291e-05/0.263, allocations: 8 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.512e-05/0.2631, allocations: 19.91 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.648e-05/0.2631, allocations: 15.94 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.2632, allocations: 51.75 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.2632, allocations: 0 / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.051e-06/0.2632, allocations: 0 / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.2632, allocations: 0 / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004731/0.2637, allocations: 359.3 kB / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.2638, allocations: 16.03 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.26e-05/0.2638, allocations: 30.75 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.46e-05/0.2638, allocations: 8.938 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.264, allocations: 184.2 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.264, allocations: 384 / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.264, allocations: 4.375 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.2641, allocations: 61.81 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.2641, allocations: 0 / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.2642, allocations: 3.984 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.2642, allocations: 0 / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.73e-05/0.2642, allocations: 27.92 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000432/0.2647, allocations: 300.8 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.2648, allocations: 58.59 kB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.69e-05/0.2648, allocations: 24.94 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.702e-06/0.2648, allocations: 3.938 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001372/0.265, allocations: 75.34 kB / 1.223 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.265, allocations: 3.938 kB / 1.223 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0002005/0.2652, allocations: 97.61 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.2653, allocations: 55.41 kB / 1.223 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.573e-05/0.2653, allocations: 109.8 kB / 1.224 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.2654, allocations: 25.7 kB / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.209e-05/0.2654, allocations: 88.14 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.2654, allocations: 27.84 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.181e-05/0.2655, allocations: 25.72 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.2656, allocations: 318.8 kB / 1.224 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.454e-05/0.2657, allocations: 23.94 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.203e-05/0.2657, allocations: 39.42 kB / 1.224 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.765e-05/0.2658, allocations: 71.36 kB / 1.224 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2658, allocations: 0 / 1.224 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001447/0.266, allocations: 101.9 kB / 1.224 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.266, allocations: 8 kB / 1.224 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.266, allocations: 0 / 1.224 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.707e-06/0.266, allocations: 0 / 1.224 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.864e-05/0.2661, allocations: 8 kB / 1.224 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.2661, allocations: 7.938 kB / 1.224 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.181e-05/0.2662, allocations: 11.92 kB / 1.224 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.2662, allocations: 19.95 kB / 1.224 GB, free: 9.746 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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 7.972e-05/0.2663, allocations: 113.8 kB / 1.224 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.453e-05/0.2663, allocations: 7.953 kB / 1.224 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.46e-05/0.2663, allocations: 7.969 kB / 1.224 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.2663, allocations: 3.984 kB / 1.224 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.2663, allocations: 0 / 1.224 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.2663, allocations: 384 / 1.224 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003947/0.2667, allocations: 366.4 kB / 1.225 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.2667, allocations: 0 / 1.225 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.512e-05/0.2668, allocations: 11.88 kB / 1.225 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2668, allocations: 0 / 1.225 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.2668, allocations: 0 / 1.225 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.2668, allocations: 3.938 kB / 1.225 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2668, allocations: 0 / 1.225 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001696/0.267, allocations: 183.4 kB / 1.225 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.372e-05/0.267, allocations: 81.11 kB / 1.225 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.267, allocations: 7.984 kB / 1.225 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.178e-05/0.2671, allocations: 11.94 kB / 1.225 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.212e-05/0.2672, allocations: 7.984 kB / 1.225 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.359e-06/0.2672, allocations: 0 / 1.225 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.305e-05/0.2672, allocations: 83.28 kB / 1.225 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.2672, allocations: 0 / 1.225 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002212/0.2675, allocations: 19.89 kB / 1.225 GB, free: 8.746 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004479/0.2679, allocations: 0.7208 MB / 1.226 GB, free: 8 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001179/0.268, allocations: 51.92 kB / 1.226 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.268, allocations: 288 / 1.226 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.125e-05/0.2681, allocations: 31.86 kB / 1.226 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.2684, allocations: 13.66 kB / 1.226 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.2697, allocations: 1.384 MB / 1.227 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/0.27, allocations: 0.6845 MB / 1.228 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.432e-05/0.27, allocations: 7.938 kB / 1.228 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.157e-05/0.2701, allocations: 27.42 kB / 1.228 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of SimCode: time 2.4e-07/0.2701, allocations: 0 / 1.228 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.212/1.482, allocations: 1.757 MB / 1.23 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.17/11.66, allocations: 10.2 kB / 1.23 GB, free: 4.004 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_Continuous_Examples_OffTimer.fmu > Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches