Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_10_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.001579/0.001579, 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.002271/0.00227, allocations: 197 kB / 16.54 MB, free: 6.672 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.311/1.311, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.54/2.54, allocations: 437 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 67.89 kB / 0.8694 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.551/0.5524, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001968/0.5544, allocations: 0.7416 MB / 1.018 GB, free: 1.727 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001511/0.556, allocations: 1.261 MB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.821e-05/0.5561, allocations: 0 / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.541e-05/0.5561, allocations: 3.938 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.065e-05/0.5562, allocations: 23.78 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007156/0.5569, allocations: 250.3 kB / 1.02 GB, free: 188 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002811/0.5572, allocations: 255.7 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.5573, allocations: 24.11 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.5575, allocations: 99.81 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.5576, allocations: 91.69 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.303e-05/0.5577, allocations: 24 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.772e-05/0.5578, allocations: 39.98 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.541e-05/0.5578, allocations: 31.91 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.558, allocations: 91.73 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.5582, allocations: 213.7 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.5582, allocations: 4 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.106e-06/0.5582, allocations: 0 / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.5583, allocations: 3.938 kB / 1.02 GB, free: 15.32 MB / 0.7794 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.0006851/0.5589, allocations: 0.4946 MB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.559, allocations: 8.031 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.17e-05/0.559, allocations: 42.67 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.85e-05/0.5591, allocations: 20.84 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005881/0.5597, allocations: 248.3 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.02e-05/0.5597, allocations: 20.36 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.389e-05/0.5598, allocations: 16.38 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002214/0.56, allocations: 144.8 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.56, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.5601, allocations: 7.984 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.5601, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.5602, allocations: 59.95 kB / 1.022 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007448/0.5609, allocations: 0.5201 MB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002512/0.5612, allocations: 157.2 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.238e-05/0.5613, allocations: 65.73 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.5613, allocations: 4 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003066/0.5616, allocations: 213.5 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=22): time 1.593e-06/0.5617, allocations: 0 / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22): time 0.0005152/0.5622, allocations: 309.4 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.5622, allocations: 89.42 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.197e-05/0.5623, allocations: 127.8 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.655e-05/0.5624, allocations: 45.69 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.395e-05/0.5625, allocations: 88.7 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.851e-05/0.5625, allocations: 59.28 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.5626, allocations: 81.67 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.963e-05/0.5627, allocations: 322.8 kB / 1.024 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.5629, allocations: 88.23 kB / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001945/0.5631, allocations: 152.2 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002921/0.5634, allocations: 246.9 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.5634, allocations: 4 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005324/0.564, allocations: 356.5 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.83e-05/0.564, allocations: 67.39 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.564, allocations: 4 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.5641, allocations: 4 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.658e-05/0.5642, allocations: 23.86 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.5642, allocations: 4 kB / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003525/0.5645, allocations: 68 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.414e-05/0.5646, allocations: 19.98 kB / 1.025 GB, free: 10.84 MB / 0.7794 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.0001227/0.5647, allocations: 140 kB / 1.025 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.079e-05/0.5647, allocations: 15.89 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.96e-05/0.5648, allocations: 16.5 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.5648, allocations: 7.938 kB / 1.025 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.5648, allocations: 0 / 1.025 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.5648, allocations: 0 / 1.025 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005762/0.5654, allocations: 0.6263 MB / 1.025 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.5654, allocations: 0 / 1.025 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.188e-05/0.5654, allocations: 8 kB / 1.025 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.5655, allocations: 7.938 kB / 1.025 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/0.5655, allocations: 11.92 kB / 1.025 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.5655, allocations: 0 / 1.025 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.5655, allocations: 4 kB / 1.025 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000379/0.5659, allocations: 418.7 kB / 1.026 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.201e-05/0.5659, allocations: 88.92 kB / 1.026 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.778e-05/0.566, allocations: 15.92 kB / 1.026 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.5661, allocations: 15.98 kB / 1.026 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.341e-05/0.5662, allocations: 19.97 kB / 1.026 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.5662, allocations: 15.98 kB / 1.026 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.785e-05/0.5663, allocations: 95.27 kB / 1.026 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5663, allocations: 3.938 kB / 1.026 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003517/0.5666, allocations: 52 kB / 1.026 GB, free: 9.195 MB / 0.7794 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.0006922/0.5673, allocations: 0.9693 MB / 1.027 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004729/0.5678, allocations: 354.5 kB / 1.027 GB, free: 7.828 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.5678, allocations: 0 / 1.027 GB, free: 7.828 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001657/0.568, allocations: 121.6 kB / 1.027 GB, free: 7.711 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/0.5684, allocations: 38.28 kB / 1.027 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002377/0.5708, allocations: 2.27 MB / 1.03 GB, free: 5.266 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002244/0.571, allocations: 0.7086 MB / 1.03 GB, free: 4.527 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.913e-05/0.5711, allocations: 17.55 kB / 1.03 GB, free: 4.508 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.246e-05/0.5711, allocations: 35.42 kB / 1.03 GB, free: 4.473 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.5712, allocations: 0 / 1.03 GB, free: 4.473 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0201/0.5913, allocations: 4.065 MB / 1.034 GB, free: 0.4961 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.001/7.592, allocations: 4.844 kB / 1.034 GB, free: 0.4922 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches