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.001391/0.001391, 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.001589/0.001589, allocations: 199.7 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.184/1.184, allocations: 222.9 MB / 240.2 MB, free: 4.395 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 2.07/2.07, allocations: 390.3 MB / 0.6647 GB, free: 232 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001105, allocations: 63.91 kB / 0.8126 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4732/0.4743, allocations: 140.4 MB / 0.9497 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001998/0.4764, allocations: 1.374 MB / 0.951 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002394/0.4788, allocations: 2.921 MB / 0.9539 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.703e-05/0.4788, allocations: 3.938 kB / 0.9539 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.057e-05/0.4789, allocations: 5.109 kB / 0.9539 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.393e-05/0.479, allocations: 40.94 kB / 0.9539 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004064/0.4794, allocations: 183.6 kB / 0.9541 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001743/0.4796, allocations: 245.1 kB / 0.9544 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.52e-05/0.4796, allocations: 3.719 kB / 0.9544 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.904e-05/0.4797, allocations: 97.62 kB / 0.9545 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.4798, allocations: 119.2 kB / 0.9546 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.058e-05/0.4798, allocations: 10.56 kB / 0.9546 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002917/0.4801, allocations: 141.6 kB / 0.9547 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.051e-05/0.4802, allocations: 93.03 kB / 0.9548 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.173e-05/0.4803, allocations: 89 kB / 0.9549 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002698/0.4806, allocations: 279.8 kB / 0.9552 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.4806, allocations: 1.094 kB / 0.9552 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.62e-07/0.4806, allocations: 4 kB / 0.9552 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.4806, allocations: 0 / 0.9552 GB, free: 5.035 MB / 0.7169 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.00063/0.4812, allocations: 0.5171 MB / 0.9557 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.998e-05/0.4813, allocations: 18.44 kB / 0.9557 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.077e-05/0.4813, allocations: 51.83 kB / 0.9557 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.166e-05/0.4814, allocations: 17.97 kB / 0.9557 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.4816, allocations: 241.6 kB / 0.956 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.854e-05/0.4816, allocations: 24.2 kB / 0.956 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.4817, allocations: 14.25 kB / 0.956 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005521/0.4822, allocations: 289.6 kB / 0.9563 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.4822, allocations: 4 kB / 0.9563 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.4823, allocations: 5.031 kB / 0.9563 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.4823, allocations: 4.219 kB / 0.9563 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001183/0.4834, allocations: 0.7501 MB / 0.957 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002563/0.4837, allocations: 310.1 kB / 0.9573 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/0.4852, allocations: 0.673 MB / 0.958 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004431/0.4856, allocations: 227.7 kB / 0.9582 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002577/0.4859, allocations: 397.7 kB / 0.9586 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.577e-05/0.4859, allocations: 40.19 kB / 0.9586 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=37): time 1.373e-06/0.4859, allocations: 0 / 0.9586 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37): time 0.001427/0.4873, allocations: 0.6491 MB / 0.9593 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.984e-05/0.4874, allocations: 54.28 kB / 0.9593 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.029e-05/0.4874, allocations: 128.5 kB / 0.9594 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.4875, allocations: 34.98 kB / 0.9595 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.891e-05/0.4875, allocations: 91.31 kB / 0.9596 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.549e-05/0.4876, allocations: 122.1 kB / 0.9597 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.552e-05/0.4876, allocations: 68.2 kB / 0.9597 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.73e-05/0.4877, allocations: 327.8 kB / 0.96 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004197/0.4881, allocations: 195 kB / 0.9602 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004044/0.4885, allocations: 195.2 kB / 0.9604 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007946/0.4893, allocations: 362 kB / 0.9608 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.4893, allocations: 1.219 kB / 0.9608 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009657/0.4903, allocations: 475.5 kB / 0.9612 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.4903, allocations: 4.969 kB / 0.9612 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/0.4903, allocations: 0 / 0.9612 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.4903, allocations: 6.562 kB / 0.9612 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003221/0.4907, allocations: 99.5 kB / 0.9613 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.4907, allocations: 4.922 kB / 0.9613 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/0.4909, allocations: 58.2 kB / 0.9614 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-05/0.4909, allocations: 8.906 kB / 0.9614 GB, free: 0.9453 MB / 0.7169 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 8.237e-05/0.491, allocations: 147.9 kB / 0.9615 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.177e-05/0.491, allocations: 27.45 kB / 0.9616 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001029/0.4921, allocations: 0.5098 MB / 0.9621 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.4921, allocations: 8.094 kB / 0.9621 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.4921, allocations: 0 / 0.9621 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4921, allocations: 3.984 kB / 0.9621 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002197/0.4923, allocations: 305.9 kB / 0.9624 GB, free: 256 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.4923, allocations: 4.844 kB / 0.9624 GB, free: 252 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003093/0.4926, allocations: 99.95 kB / 0.9625 GB, free: 220 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.4926, allocations: 1.094 kB / 0.9625 GB, free: 220 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.4927, allocations: 12.3 kB / 0.9625 GB, free: 212 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.4927, allocations: 1.125 kB / 0.9625 GB, free: 212 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.4927, allocations: 1.094 kB / 0.9625 GB, free: 212 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009973/0.4937, allocations: 0.494 MB / 0.963 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.79e-05/0.4937, allocations: 102 kB / 0.9631 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.305e-05/0.4938, allocations: 6.625 kB / 0.9631 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.4939, allocations: 39.98 kB / 0.9631 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001964/0.4941, allocations: 115.2 kB / 0.9632 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.508e-05/0.4942, allocations: 15.64 kB / 0.9632 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.53e-05/0.4942, allocations: 102.6 kB / 0.9633 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4942, allocations: 0 / 0.9633 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003261/0.4946, allocations: 116.9 kB / 0.9634 GB, free: 15.63 MB / 0.7325 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.001432/0.496, allocations: 1.125 MB / 0.9645 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001114/0.4971, allocations: 0.5572 MB / 0.9651 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4971, allocations: 0 / 0.9651 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005106/0.4977, allocations: 259.8 kB / 0.9653 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.498, allocations: 76.33 kB / 0.9654 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003687/0.5017, allocations: 2.655 MB / 0.968 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.502, allocations: 0.73 MB / 0.9687 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003863/0.5024, allocations: 180.8 kB / 0.9689 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.5025, allocations: 63.91 kB / 0.9689 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of SimCode: time 5.26e-06/0.5025, allocations: 0 / 0.9689 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.232/1.735, allocations: 7.371 MB / 0.9761 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.46/12.2, allocations: 12.03 kB / 0.9761 GB, free: 6.309 MB / 0.7325 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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