Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_11_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.001428/0.001428, 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.001392/0.001392, allocations: 194.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.307/1.307, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.594/2.594, allocations: 469.8 MB / 0.7424 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 68.69 kB / 0.9086 GB, free: 34.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2459, allocations: 159.2 MB / 1.064 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002402/0.2484, allocations: 1.382 MB / 1.065 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003308/0.2517, allocations: 2.907 MB / 1.068 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.472e-05/0.2517, allocations: 4 kB / 1.068 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.862e-05/0.2518, allocations: 7.922 kB / 1.068 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.723e-05/0.2519, allocations: 39.81 kB / 1.068 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004646/0.2524, allocations: 183.1 kB / 1.068 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002409/0.2526, allocations: 251.4 kB / 1.069 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 2.934e-05/0.2527, allocations: 0 / 1.069 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.028e-05/0.2528, allocations: 91.84 kB / 1.069 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/0.2529, allocations: 127.7 kB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.273e-05/0.2529, allocations: 15.98 kB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003241/0.2533, allocations: 135.9 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.2534, allocations: 83.83 kB / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.2535, allocations: 91.58 kB / 1.069 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003341/0.2538, allocations: 271.6 kB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.2538, allocations: 0 / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2539, allocations: 4 kB / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.2539, allocations: 0 / 1.07 GB, free: 8.648 MB / 0.8262 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.0007764/0.2546, allocations: 0.5274 MB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.2547, allocations: 15.97 kB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.242e-05/0.2547, allocations: 50.67 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.8e-05/0.2548, allocations: 24.75 kB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/0.2551, allocations: 240 kB / 1.07 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.396e-05/0.2551, allocations: 24.36 kB / 1.07 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.598e-05/0.2552, allocations: 20.36 kB / 1.07 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006147/0.2558, allocations: 289.1 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.904e-06/0.2558, allocations: 0 / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/0.2558, allocations: 8 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.2559, allocations: 4 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001394/0.2573, allocations: 0.7491 MB / 1.071 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003614/0.2576, allocations: 305.1 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001617/0.2593, allocations: 0.6792 MB / 1.072 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005001/0.2598, allocations: 228.7 kB / 1.073 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003936/0.2602, allocations: 392.3 kB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.2602, allocations: 34.56 kB / 1.073 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=37): time 1.283e-06/0.2602, allocations: 0 / 1.073 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37): time 0.001598/0.2618, allocations: 0.6559 MB / 1.074 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.2619, allocations: 59.39 kB / 1.074 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.262, allocations: 123.8 kB / 1.074 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/0.262, allocations: 33.7 kB / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.021e-05/0.2621, allocations: 104.6 kB / 1.074 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.2622, allocations: 122.1 kB / 1.074 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.2623, allocations: 73.67 kB / 1.074 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.2624, allocations: 322.8 kB / 1.074 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006571/0.2631, allocations: 195.8 kB / 1.075 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004998/0.2636, allocations: 203.5 kB / 1.075 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008784/0.2645, allocations: 361.2 kB / 1.075 GB, free: 2.566 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2645, allocations: 0 / 1.075 GB, free: 2.566 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001064/0.2656, allocations: 460.6 kB / 1.076 GB, free: 2.109 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.2656, allocations: 4 kB / 1.076 GB, free: 2.105 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.2656, allocations: 0 / 1.076 GB, free: 2.105 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.2656, allocations: 4 kB / 1.076 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003461/0.266, allocations: 103.8 kB / 1.076 GB, free: 2 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.266, allocations: 3.984 kB / 1.076 GB, free: 1.996 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.2662, allocations: 47.8 kB / 1.076 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.453e-05/0.2662, allocations: 12 kB / 1.076 GB, free: 1.938 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.0001198/0.2663, allocations: 137.8 kB / 1.076 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.491e-05/0.2664, allocations: 23.75 kB / 1.076 GB, free: 1.77 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001165/0.2675, allocations: 0.5114 MB / 1.076 GB, free: 1.258 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.2676, allocations: 7.938 kB / 1.076 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.2676, allocations: 4 kB / 1.076 GB, free: 1.246 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.2676, allocations: 7.969 kB / 1.076 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003209/0.2679, allocations: 325.2 kB / 1.077 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.2679, allocations: 3.938 kB / 1.077 GB, free: 0.8672 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003353/0.2682, allocations: 95.86 kB / 1.077 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.2683, allocations: 0 / 1.077 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.593e-05/0.2683, allocations: 11.98 kB / 1.077 GB, free: 0.7617 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2683, allocations: 0 / 1.077 GB, free: 0.7617 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.2683, allocations: 8 kB / 1.077 GB, free: 0.7539 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.2694, allocations: 0.4922 MB / 1.077 GB, free: 248 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.828e-05/0.2695, allocations: 96.8 kB / 1.077 GB, free: 132 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.464e-05/0.2695, allocations: 12 kB / 1.077 GB, free: 120 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.2697, allocations: 35.95 kB / 1.077 GB, free: 84 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000221/0.2699, allocations: 119.9 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.331e-05/0.2699, allocations: 12 kB / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.816e-05/0.27, allocations: 104 kB / 1.078 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.27, allocations: 3.938 kB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003238/0.2703, allocations: 115.9 kB / 1.078 GB, free: 15.73 MB / 0.8419 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.001566/0.2719, allocations: 1.119 MB / 1.079 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001175/0.2731, allocations: 0.5461 MB / 1.079 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.2731, allocations: 0 / 1.079 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005523/0.2737, allocations: 263.7 kB / 1.08 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.274, allocations: 77.48 kB / 1.08 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003954/0.278, allocations: 2.649 MB / 1.082 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.2783, allocations: 0.7367 MB / 1.083 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003876/0.2787, allocations: 183.8 kB / 1.083 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.2788, allocations: 59.59 kB / 1.083 GB, free: 9.98 MB / 0.8419 GB Notification: Performance of SimCode: time 2.7e-07/0.2788, allocations: 4 kB / 1.083 GB, free: 9.977 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.412/1.691, allocations: 7.356 MB / 1.09 GB, free: 2.762 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/12.85, allocations: 12.47 kB / 1.09 GB, free: 2.754 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches