Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.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.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_9_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_9_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater",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.007664/0.007664, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001847/0.001847, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.285/1.285, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.165/2.165, allocations: 390.3 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 59.91 kB / 0.9504 GB, free: 8.188 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6225/0.6237, allocations: 140.4 MB / 1.087 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002164/0.6259, allocations: 1.395 MB / 1.089 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002921/0.6289, allocations: 2.9 MB / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.943e-05/0.6289, allocations: 1.156 kB / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 8.094e-05/0.629, allocations: 11.22 kB / 1.092 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001036/0.6291, allocations: 46.09 kB / 1.092 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005693/0.6297, allocations: 188 kB / 1.092 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002655/0.63, allocations: 238.7 kB / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.783e-05/0.63, allocations: 4.656 kB / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.6302, allocations: 91.03 kB / 1.092 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001522/0.6303, allocations: 126.9 kB / 1.092 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.463e-05/0.6304, allocations: 10.66 kB / 1.092 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003973/0.6308, allocations: 135 kB / 1.092 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.77e-05/0.6309, allocations: 89.05 kB / 1.093 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.631, allocations: 96.36 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003977/0.6314, allocations: 270.3 kB / 1.093 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.6314, allocations: 4.688 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6314, allocations: 0 / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.6314, allocations: 0 / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.000795/0.6322, allocations: 0.5252 MB / 1.093 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.6323, allocations: 10.34 kB / 1.093 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.608e-05/0.6323, allocations: 56.36 kB / 1.093 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.6324, allocations: 19.48 kB / 1.093 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002326/0.6327, allocations: 235.3 kB / 1.094 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.697e-05/0.6327, allocations: 28.48 kB / 1.094 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.842e-05/0.6328, allocations: 13.53 kB / 1.094 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006892/0.6335, allocations: 300.4 kB / 1.094 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.6335, allocations: 0 / 1.094 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.449e-05/0.6335, allocations: 9.281 kB / 1.094 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.6335, allocations: 4.641 kB / 1.094 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00161/0.6351, allocations: 0.746 MB / 1.095 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003283/0.6355, allocations: 297.6 kB / 1.095 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001775/0.6373, allocations: 0.6832 MB / 1.096 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005389/0.6378, allocations: 228.4 kB / 1.096 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003269/0.6382, allocations: 407.1 kB / 1.096 GB, free: 240 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.451e-05/0.6382, allocations: 33.53 kB / 1.096 GB, free: 200 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=37): time 1.603e-06/0.6382, allocations: 0 / 1.096 GB, free: 200 kB / 0.8575 GB Notification: Performance of matching and sorting (n=37): time 0.001726/0.6399, allocations: 0.6462 MB / 1.097 GB, free: 64 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.64, allocations: 55.52 kB / 1.097 GB, free: 16 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.6401, allocations: 128.1 kB / 1.097 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.196e-05/0.6401, allocations: 35.64 kB / 1.097 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 4.762e-05/0.6402, allocations: 87.95 kB / 1.097 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.6403, allocations: 128.2 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.6404, allocations: 70.88 kB / 1.097 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.6405, allocations: 328.9 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005387/0.6411, allocations: 194.2 kB / 1.098 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005302/0.6416, allocations: 204.5 kB / 1.098 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009814/0.6426, allocations: 358 kB / 1.099 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.6426, allocations: 0 / 1.099 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001184/0.6438, allocations: 467.7 kB / 1.099 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.6438, allocations: 7.875 kB / 1.099 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.6438, allocations: 0.8125 kB / 1.099 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.6438, allocations: 5.812 kB / 1.099 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003874/0.6442, allocations: 93.67 kB / 1.099 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.6443, allocations: 2.281 kB / 1.099 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002188/0.6445, allocations: 52.02 kB / 1.099 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.172e-05/0.6445, allocations: 12.06 kB / 1.099 GB, free: 15.04 MB / 0.8731 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 (37): * Single equations (assignments): 37 * 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.0001299/0.6447, allocations: 146.7 kB / 1.099 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.03e-05/0.6447, allocations: 20.88 kB / 1.099 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001335/0.646, allocations: 0.5084 MB / 1.1 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.6461, allocations: 3.781 kB / 1.1 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.6461, allocations: 1.766 kB / 1.1 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.6461, allocations: 1.406 kB / 1.1 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003735/0.6465, allocations: 313.5 kB / 1.1 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.6465, allocations: 8.922 kB / 1.1 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004019/0.6469, allocations: 102.1 kB / 1.1 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.6469, allocations: 1.906 kB / 1.1 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.228e-05/0.6469, allocations: 14.64 kB / 1.1 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.6469, allocations: 1.688 kB / 1.1 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.6469, allocations: 1.156 kB / 1.1 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.6482, allocations: 497.5 kB / 1.101 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.188e-05/0.6482, allocations: 99.17 kB / 1.101 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.783e-05/0.6483, allocations: 7.688 kB / 1.101 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.6485, allocations: 37.45 kB / 1.101 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002417/0.6487, allocations: 120.9 kB / 1.101 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.188e-05/0.6488, allocations: 18.8 kB / 1.101 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 6.06e-05/0.6488, allocations: 104.8 kB / 1.101 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6488, allocations: 0 / 1.101 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003964/0.6492, allocations: 120 kB / 1.101 GB, free: 14.09 MB / 0.8731 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 (37): * Single equations (assignments): 37 * 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.00166/0.6509, allocations: 1.117 MB / 1.102 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001184/0.6521, allocations: 476 kB / 1.103 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.6521, allocations: 5.156 kB / 1.103 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0005866/0.6527, allocations: 259 kB / 1.103 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004109/0.6531, allocations: 80.78 kB / 1.103 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004371/0.6575, allocations: 2.682 MB / 1.106 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.6578, allocations: 0.7306 MB / 1.106 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0004344/0.6583, allocations: 182.4 kB / 1.107 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.6584, allocations: 61.03 kB / 1.107 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of SimCode: time 3.21e-07/0.6584, allocations: 0 / 1.107 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02461/0.683, allocations: 7.422 MB / 1.114 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.411/8.094, allocations: 14.39 kB / 1.114 GB, free: 10.19 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_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_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches