Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_10_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_10_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.001217/0.001217, 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.001205/0.001205, allocations: 193.9 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.249/1.249, 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 10.1.1-maint.10.0.x/package.mo): time 2.36/2.36, allocations: 437 MB / 0.7104 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 55.91 kB / 0.8693 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.535/0.5363, allocations: 151.6 MB / 1.017 GB, free: 2.496 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002682/0.539, allocations: 1.466 MB / 1.019 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007195/0.5398, allocations: 450.9 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.249e-05/0.5399, allocations: 0 / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.011e-05/0.5399, allocations: 3.938 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.701e-05/0.54, allocations: 11.91 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.00016/0.5402, allocations: 15.98 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.361e-05/0.5403, allocations: 51.84 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.5404, allocations: 12 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.397e-05/0.5404, allocations: 27.91 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.753e-05/0.5405, allocations: 19.92 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.5405, allocations: 4 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.302e-05/0.5405, allocations: 4 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.126e-05/0.5406, allocations: 15.92 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.895e-05/0.5406, allocations: 27.91 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.204e-05/0.5407, allocations: 46.06 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.5407, allocations: 3.938 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5407, allocations: 0 / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.5408, allocations: 0 / 1.019 GB, free: 340 kB / 0.7637 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.0004636/0.5412, allocations: 367.3 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.5413, allocations: 8.031 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.856e-05/0.5413, allocations: 42.73 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.641e-05/0.5413, allocations: 0.9375 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.5415, allocations: 168.3 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.5415, allocations: 4.375 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.5415, allocations: 8.375 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.5416, allocations: 61.73 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.862e-06/0.5416, allocations: 0 / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.637e-06/0.5416, allocations: 4 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.5416, allocations: 4 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.023e-05/0.5417, allocations: 23.98 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004436/0.5422, allocations: 300.7 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.991e-05/0.5423, allocations: 58.56 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.168e-05/0.5423, allocations: 20.95 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-06/0.5423, allocations: 0 / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001671/0.5425, allocations: 83.25 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.5425, allocations: 0 / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0002044/0.5427, allocations: 97.62 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.5428, allocations: 59.39 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.29e-05/0.5428, allocations: 105.9 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.5429, allocations: 33.69 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.676e-05/0.5429, allocations: 84.05 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.5429, allocations: 19.8 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.131e-05/0.543, allocations: 33.64 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.069e-05/0.5431, allocations: 322.8 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.205e-05/0.5431, allocations: 15.98 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.111e-05/0.5432, allocations: 55.42 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.829e-05/0.5433, allocations: 59.56 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.5433, allocations: 4 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001328/0.5434, allocations: 97.5 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.5434, allocations: 4 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.5434, allocations: 0 / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.5435, allocations: 11.97 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.664e-05/0.5435, allocations: 11.98 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.5435, allocations: 0 / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.621e-05/0.5436, allocations: 11.94 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.5436, allocations: 7.938 kB / 1.022 GB, free: 13.93 MB / 0.7794 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.592e-05/0.5437, allocations: 118.5 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.259e-05/0.5437, allocations: 11.84 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.049e-05/0.5438, allocations: 7.969 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.5438, allocations: 4 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.5438, allocations: 4 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.5438, allocations: 0 / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000349/0.5441, allocations: 354.8 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.5442, allocations: 0 / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.747e-05/0.5442, allocations: 4 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.5442, allocations: 3.984 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.5442, allocations: 4 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.5442, allocations: 3.938 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5442, allocations: 4 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001433/0.5444, allocations: 179.4 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.536e-05/0.5444, allocations: 85 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.5444, allocations: 12.06 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.434e-05/0.5445, allocations: 7.875 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.876e-05/0.5446, allocations: 7.984 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.5446, allocations: 4 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.715e-05/0.5446, allocations: 91.27 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5446, allocations: 0 / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002299/0.5449, allocations: 16 kB / 1.022 GB, free: 12.92 MB / 0.7794 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.0003702/0.5452, allocations: 0.7085 MB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001254/0.5454, allocations: 55.92 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.5454, allocations: 8.062 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.087e-05/0.5454, allocations: 32.14 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/0.5457, allocations: 17.33 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.5469, allocations: 1.362 MB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001986/0.5471, allocations: 0.6885 MB / 1.025 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.679e-05/0.5471, allocations: 7.938 kB / 1.025 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.149e-05/0.5472, allocations: 27.36 kB / 1.025 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.5472, allocations: 0 / 1.025 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01668/0.5638, allocations: 1.727 MB / 1.027 GB, free: 8.215 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.725/7.289, allocations: 7.078 kB / 1.027 GB, free: 8.211 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_Continuous_Examples_OffTimer.fmu > Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches