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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.003926/0.003926, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.001099/0.001099, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.478/2.478, allocations: 482.6 MB / 0.7551 GB, free: 6.609 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001745, allocations: 71.44 kB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2691, allocations: 162.3 MB / 1.242 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002168/0.2713, allocations: 1.393 MB / 1.243 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003223/0.2745, allocations: 2.907 MB / 1.246 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.47e-05/0.2746, allocations: 0 / 1.246 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 6.386e-05/0.2746, allocations: 11.92 kB / 1.246 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.133e-05/0.2747, allocations: 35.81 kB / 1.246 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004595/0.2752, allocations: 187.1 kB / 1.246 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000248/0.2755, allocations: 235.5 kB / 1.246 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.644e-05/0.2755, allocations: 7.984 kB / 1.246 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.315e-05/0.2756, allocations: 99.78 kB / 1.247 GB, free: 4 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.2758, allocations: 123.8 kB / 1.247 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.867e-05/0.2758, allocations: 8 kB / 1.247 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000324/0.2761, allocations: 135.9 kB / 1.247 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.564e-05/0.2762, allocations: 91.75 kB / 1.247 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.995e-05/0.2763, allocations: 83.66 kB / 1.247 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000345/0.2767, allocations: 287.2 kB / 1.247 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.2767, allocations: 3.938 kB / 1.247 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2767, allocations: 0 / 1.247 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.2767, allocations: 0 / 1.247 GB, free: 3.281 MB / 0.9669 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.0007762/0.2775, allocations: 0.5374 MB / 1.248 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 2.933e-05/0.2775, allocations: 8.031 kB / 1.248 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.85e-05/0.2776, allocations: 46.73 kB / 1.248 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.91e-05/0.2777, allocations: 20.84 kB / 1.248 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.2779, allocations: 244 kB / 1.248 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.968e-05/0.2779, allocations: 24.36 kB / 1.248 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.738e-05/0.278, allocations: 16.38 kB / 1.248 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006135/0.2786, allocations: 286.3 kB / 1.248 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.2786, allocations: 4 kB / 1.248 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.882e-05/0.2786, allocations: 4 kB / 1.248 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.525e-06/0.2786, allocations: 4 kB / 1.248 GB, free: 2 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001393/0.28, allocations: 0.7497 MB / 1.249 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003422/0.2804, allocations: 313.1 kB / 1.249 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001623/0.282, allocations: 0.6765 MB / 1.25 GB, free: 212 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005136/0.2826, allocations: 229.4 kB / 1.25 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003835/0.2829, allocations: 396.2 kB / 1.251 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.283, allocations: 38.56 kB / 1.251 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=37): time 1.342e-06/0.283, allocations: 0 / 1.251 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of matching and sorting (n=37): time 0.001603/0.2846, allocations: 0.6613 MB / 1.251 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.2846, allocations: 55.41 kB / 1.251 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.607e-05/0.2847, allocations: 129.2 kB / 1.252 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.2848, allocations: 33.64 kB / 1.252 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.378e-05/0.2848, allocations: 92.8 kB / 1.252 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.2849, allocations: 134.8 kB / 1.252 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.002e-05/0.285, allocations: 61.69 kB / 1.252 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.2852, allocations: 334.8 kB / 1.252 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004658/0.2856, allocations: 191.8 kB / 1.252 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004682/0.2861, allocations: 201 kB / 1.253 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008762/0.287, allocations: 364.7 kB / 1.253 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.287, allocations: 0 / 1.253 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001081/0.2881, allocations: 468.6 kB / 1.253 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.2881, allocations: 4 kB / 1.253 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.2881, allocations: 7.938 kB / 1.253 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.2881, allocations: 0 / 1.253 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003406/0.2885, allocations: 95.86 kB / 1.253 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.2885, allocations: 4 kB / 1.253 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001805/0.2887, allocations: 51.8 kB / 1.254 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.801e-05/0.2887, allocations: 15.98 kB / 1.254 GB, free: 12.55 MB / 0.9825 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.0001197/0.2888, allocations: 137.8 kB / 1.254 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.088e-05/0.2889, allocations: 23.83 kB / 1.254 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001175/0.2901, allocations: 0.5103 MB / 1.254 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.2901, allocations: 0 / 1.254 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.2901, allocations: 8 kB / 1.254 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.2901, allocations: 0 / 1.254 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000315/0.2904, allocations: 313.3 kB / 1.255 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.2904, allocations: 3.938 kB / 1.255 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003283/0.2908, allocations: 99.84 kB / 1.255 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2908, allocations: 0 / 1.255 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.367e-05/0.2908, allocations: 11.98 kB / 1.255 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.2908, allocations: 4 kB / 1.255 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2908, allocations: 4 kB / 1.255 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.2919, allocations: 496.1 kB / 1.255 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.894e-05/0.292, allocations: 104.9 kB / 1.255 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.135e-05/0.292, allocations: 7.984 kB / 1.255 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.2922, allocations: 35.97 kB / 1.255 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002137/0.2924, allocations: 119.8 kB / 1.255 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.519e-05/0.2924, allocations: 11.98 kB / 1.255 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.169e-05/0.2925, allocations: 103.3 kB / 1.255 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2925, allocations: 0 / 1.255 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003265/0.2928, allocations: 119.8 kB / 1.256 GB, free: 10.37 MB / 0.9825 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.001554/0.2944, allocations: 1.12 MB / 1.257 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001072/0.2955, allocations: 479.1 kB / 1.257 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2955, allocations: 0 / 1.257 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000549/0.296, allocations: 260.7 kB / 1.257 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.2964, allocations: 81.73 kB / 1.257 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00405/0.3005, allocations: 2.692 MB / 1.26 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.3008, allocations: 0.7289 MB / 1.261 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003804/0.3012, allocations: 183.8 kB / 1.261 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.3013, allocations: 63.41 kB / 1.261 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of SimCode: time 2.7e-07/0.3013, allocations: 0 / 1.261 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.596/1.898, allocations: 7.429 MB / 1.268 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.52/17.42, allocations: 10.88 kB / 1.268 GB, free: 13.38 MB / 0.9981 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=400 --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