Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.Exp,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp",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.00994/0.00994, allocations: 97.19 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.001926/0.001926, allocations: 193.1 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.499/2.499, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 4.226/4.226, allocations: 390.2 MB / 0.6648 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002462/0.002462, allocations: 61.41 kB / 0.9505 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5463/0.5488, allocations: 140.4 MB / 1.088 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp): time 0.00347/0.5524, allocations: 0.6553 MB / 1.088 GB, free: 1.312 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002059/0.5545, allocations: 0.7965 MB / 1.089 GB, free: 0.5039 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.469e-05/0.5546, allocations: 0 / 1.089 GB, free: 0.5039 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 5.39e-05/0.5547, allocations: 7.922 kB / 1.089 GB, free: 0.4961 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.5549, allocations: 0 / 1.089 GB, free: 0.4961 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002362/0.5552, allocations: 11.94 kB / 1.089 GB, free: 496 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.5553, allocations: 23.97 kB / 1.089 GB, free: 472 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/0.5555, allocations: 8 kB / 1.089 GB, free: 464 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.5556, allocations: 19.86 kB / 1.089 GB, free: 444 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.856e-05/0.5557, allocations: 11.98 kB / 1.089 GB, free: 432 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.566e-05/0.5557, allocations: 0 / 1.089 GB, free: 432 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.924e-05/0.5558, allocations: 7.938 kB / 1.089 GB, free: 424 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.464e-05/0.5558, allocations: 3.938 kB / 1.089 GB, free: 420 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.02e-05/0.5559, allocations: 7.938 kB / 1.089 GB, free: 412 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.556, allocations: 19.95 kB / 1.089 GB, free: 392 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.5561, allocations: 0 / 1.089 GB, free: 392 kB / 0.8419 GB Notification: Performance of FrontEnd: time 2.585e-06/0.5561, allocations: 4 kB / 1.089 GB, free: 388 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.5561, allocations: 0 / 1.089 GB, free: 388 kB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000814/0.5569, allocations: 343.9 kB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.743e-05/0.557, allocations: 8.031 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.291e-05/0.5571, allocations: 34.75 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.546e-05/0.5571, allocations: 4.922 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/0.5574, allocations: 164.4 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.5574, allocations: 384 / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.5574, allocations: 12.3 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002789/0.5577, allocations: 57.98 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.5578, allocations: 0 / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.5578, allocations: 0 / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/0.5578, allocations: 0 / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003058/0.5581, allocations: 31.91 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005487/0.5587, allocations: 252.9 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002335/0.559, allocations: 38.56 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001646/0.5591, allocations: 16.91 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.308e-05/0.5592, allocations: 3.984 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.979e-05/0.5592, allocations: 46.5 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.914e-06/0.5593, allocations: 0 / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0006547/0.5599, allocations: 77.61 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.123e-05/0.56, allocations: 55.39 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.5602, allocations: 101.9 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.5602, allocations: 25.7 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.451e-05/0.5603, allocations: 80.14 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.875e-05/0.5603, allocations: 7.953 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.007e-05/0.5604, allocations: 17.7 kB / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002181/0.5606, allocations: 315 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.5608, allocations: 15.98 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.561, allocations: 15.98 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002836/0.5612, allocations: 48.69 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.5613, allocations: 0 / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000381/0.5617, allocations: 65.73 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.313e-05/0.5617, allocations: 11.98 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.5617, allocations: 3.938 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.5618, allocations: 0 / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.5619, allocations: 4 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.562, allocations: 0 / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.137e-05/0.5621, allocations: 7.984 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.5621, allocations: 4.031 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 0.0001262/0.5622, allocations: 113.8 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.328e-05/0.5623, allocations: 0 / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004197/0.5627, allocations: 80.7 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.5627, allocations: 0 / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.5628, allocations: 3.938 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.5628, allocations: 0 / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003031/0.5631, allocations: 165.6 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.5631, allocations: 0 / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.5632, allocations: 11.98 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.5633, allocations: 0 / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.5633, allocations: 0 / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.5633, allocations: 0 / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5633, allocations: 0 / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004394/0.5637, allocations: 171.4 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.164e-05/0.5638, allocations: 81.05 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.5639, allocations: 4 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.564, allocations: 7.984 kB / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.5641, allocations: 192 / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.5641, allocations: 0 / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.141e-05/0.5642, allocations: 91.25 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of sort global known variables: time 4.51e-07/0.5642, allocations: 0 / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005016/0.5647, allocations: 4 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0008382/0.5656, allocations: 0.7007 MB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002936/0.5659, allocations: 36 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.5659, allocations: 0 / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001423/0.5661, allocations: 23.97 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004717/0.5666, allocations: 0 / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006503/0.5672, allocations: 133.4 kB / 1.092 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000563/0.5678, allocations: 0.6807 MB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.534e-05/0.5679, allocations: 4.125 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.06e-05/0.5679, allocations: 11.44 kB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of SimCode: time 6.552e-06/0.5679, allocations: 0 / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1288/0.6967, allocations: 1.278 MB / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.23/14.92, allocations: 4.062 kB / 1.094 GB, free: 10.62 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Exp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches