Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_latest_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.001236/0.001236, allocations: 108 kB / 15.61 MB, free: 152 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.001234/0.001234, allocations: 196.1 kB / 16.53 MB, free: 6.664 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.256/1.256, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.54/2.54, allocations: 461.9 MB / 0.7346 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 65.42 kB / 0.8992 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2392, allocations: 157.4 MB / 1.053 GB, free: 8.352 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002342/0.2415, allocations: 1.383 MB / 1.054 GB, free: 6.957 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003211/0.2448, allocations: 2.922 MB / 1.057 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.186e-05/0.2448, allocations: 0 / 1.057 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.88e-05/0.2449, allocations: 7.922 kB / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001197/0.2451, allocations: 35.81 kB / 1.057 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006769/0.2457, allocations: 187.1 kB / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002767/0.246, allocations: 247.5 kB / 1.058 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.357e-05/0.2461, allocations: 4 kB / 1.058 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.2462, allocations: 95.78 kB / 1.058 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001504/0.2464, allocations: 119.8 kB / 1.058 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.706e-05/0.2464, allocations: 12 kB / 1.058 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004121/0.2468, allocations: 139.8 kB / 1.058 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.886e-05/0.247, allocations: 95.81 kB / 1.058 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001091/0.2471, allocations: 91.52 kB / 1.058 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003943/0.2475, allocations: 267.6 kB / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2475, allocations: 3.984 kB / 1.058 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2475, allocations: 0 / 1.058 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.2475, allocations: 0 / 1.058 GB, free: 2.738 MB / 0.8106 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.0007619/0.2483, allocations: 0.5377 MB / 1.059 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.2483, allocations: 8.625 kB / 1.059 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.004e-05/0.2484, allocations: 46.73 kB / 1.059 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.2485, allocations: 20.75 kB / 1.059 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002192/0.2487, allocations: 240 kB / 1.059 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.965e-05/0.2487, allocations: 24.36 kB / 1.059 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.552e-05/0.2488, allocations: 12.38 kB / 1.059 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006075/0.2494, allocations: 293.1 kB / 1.059 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.2494, allocations: 4 kB / 1.059 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/0.2494, allocations: 4 kB / 1.059 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.2494, allocations: 4 kB / 1.059 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001339/0.2508, allocations: 0.7452 MB / 1.06 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003165/0.2511, allocations: 309 kB / 1.061 GB, free: 368 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00159/0.2527, allocations: 0.6799 MB / 1.061 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004838/0.2532, allocations: 230.2 kB / 1.061 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003681/0.2536, allocations: 400.3 kB / 1.062 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.2536, allocations: 34.56 kB / 1.062 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=37): time 1.493e-06/0.2536, allocations: 0 / 1.062 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37): time 0.001589/0.2552, allocations: 0.6573 MB / 1.062 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/0.2553, allocations: 55.41 kB / 1.063 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.2554, allocations: 137.1 kB / 1.063 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.675e-05/0.2554, allocations: 29.7 kB / 1.063 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.466e-05/0.2555, allocations: 96.78 kB / 1.063 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.2556, allocations: 122.2 kB / 1.063 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.615e-05/0.2557, allocations: 61.67 kB / 1.063 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.784e-05/0.2558, allocations: 330.8 kB / 1.063 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004688/0.2563, allocations: 195.8 kB / 1.063 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004564/0.2568, allocations: 199.6 kB / 1.064 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008544/0.2576, allocations: 362.2 kB / 1.064 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2576, allocations: 0 / 1.064 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001034/0.2587, allocations: 468.5 kB / 1.064 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.2587, allocations: 4 kB / 1.064 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.2587, allocations: 4 kB / 1.064 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.2587, allocations: 0 / 1.064 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003408/0.2591, allocations: 99.84 kB / 1.065 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.2591, allocations: 0 / 1.065 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001827/0.2593, allocations: 55.7 kB / 1.065 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.2593, allocations: 12 kB / 1.065 GB, free: 12.03 MB / 0.8262 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.0001097/0.2594, allocations: 141.8 kB / 1.065 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.149e-05/0.2595, allocations: 19.75 kB / 1.065 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001165/0.2607, allocations: 0.5103 MB / 1.065 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.2607, allocations: 4 kB / 1.065 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.2607, allocations: 8 kB / 1.065 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.2607, allocations: 3.984 kB / 1.065 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002698/0.261, allocations: 313.2 kB / 1.066 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.261, allocations: 7.938 kB / 1.066 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003191/0.2613, allocations: 95.86 kB / 1.066 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.2613, allocations: 0 / 1.066 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/0.2613, allocations: 11.98 kB / 1.066 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.2613, allocations: 4 kB / 1.066 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2614, allocations: 0 / 1.066 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.2624, allocations: 500 kB / 1.066 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.348e-05/0.2625, allocations: 100.8 kB / 1.066 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.411e-05/0.2625, allocations: 8 kB / 1.066 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/0.2627, allocations: 39.95 kB / 1.066 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000208/0.2629, allocations: 115.8 kB / 1.066 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.612e-05/0.263, allocations: 15.92 kB / 1.066 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.003e-05/0.263, allocations: 99.27 kB / 1.067 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.263, allocations: 0 / 1.067 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000365/0.2634, allocations: 115.9 kB / 1.067 GB, free: 9.848 MB / 0.8262 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.001481/0.2649, allocations: 1.123 MB / 1.068 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001157/0.2661, allocations: 0.5539 MB / 1.068 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2661, allocations: 0 / 1.068 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005193/0.2666, allocations: 263.7 kB / 1.069 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/0.267, allocations: 73.33 kB / 1.069 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003768/0.2708, allocations: 2.645 MB / 1.071 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.271, allocations: 0.7328 MB / 1.072 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0004101/0.2714, allocations: 191.6 kB / 1.072 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.2715, allocations: 63.41 kB / 1.072 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of SimCode: time 2.9e-07/0.2715, allocations: 3.938 kB / 1.072 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4454/0.7169, allocations: 7.367 MB / 1.079 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.528/9.245, allocations: 5.438 kB / 1.079 GB, free: 12.87 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches