Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.PropyleneGlycolWater,fileNamePrefix="Buildings_latest_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="Buildings_latest_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater",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.001298/0.001298, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001179/0.001179, allocations: 193.7 kB / 16.14 MB, free: 6.711 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.183/1.183, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.378/2.378, allocations: 461.9 MB / 0.7342 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 61.58 kB / 0.8985 GB, free: 36.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2215, allocations: 157.4 MB / 1.052 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.00213/0.2236, allocations: 1.438 MB / 1.054 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002873/0.2265, allocations: 2.925 MB / 1.056 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.314e-05/0.2266, allocations: 0 / 1.056 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.633e-05/0.2266, allocations: 4 kB / 1.056 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.847e-05/0.2267, allocations: 43.81 kB / 1.057 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003835/0.2271, allocations: 159.3 kB / 1.057 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002608/0.2274, allocations: 335.3 kB / 1.057 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 2.955e-05/0.2274, allocations: 7.984 kB / 1.057 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.993e-05/0.2275, allocations: 87.8 kB / 1.057 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.2276, allocations: 135.8 kB / 1.057 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.03e-05/0.2277, allocations: 12 kB / 1.057 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003375/0.228, allocations: 151.7 kB / 1.057 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.85e-05/0.2281, allocations: 79.84 kB / 1.057 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.423e-05/0.2282, allocations: 95.56 kB / 1.058 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003032/0.2285, allocations: 271.5 kB / 1.058 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2285, allocations: 3.984 kB / 1.058 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.92e-07/0.2285, allocations: 0 / 1.058 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.2285, allocations: 4 kB / 1.058 GB, free: 2.484 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.000682/0.2292, allocations: 0.5184 MB / 1.058 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.2293, allocations: 11.97 kB / 1.058 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.57e-05/0.2293, allocations: 50.73 kB / 1.058 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.535e-05/0.2294, allocations: 24.69 kB / 1.058 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002029/0.2296, allocations: 240.1 kB / 1.059 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.555e-05/0.2297, allocations: 28.3 kB / 1.059 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.2297, allocations: 16.38 kB / 1.059 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005845/0.2303, allocations: 289.1 kB / 1.059 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.2303, allocations: 0 / 1.059 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/0.2303, allocations: 11.94 kB / 1.059 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.2304, allocations: 4 kB / 1.059 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001289/0.2316, allocations: 0.753 MB / 1.06 GB, free: 460 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003195/0.232, allocations: 309 kB / 1.06 GB, free: 100 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001482/0.2335, allocations: 0.6759 MB / 1.061 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004485/0.2339, allocations: 232.7 kB / 1.061 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003319/0.2343, allocations: 392.3 kB / 1.061 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.2343, allocations: 42.56 kB / 1.061 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=37): time 1.372e-06/0.2343, allocations: 0 / 1.061 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37): time 0.001419/0.2357, allocations: 0.6481 MB / 1.062 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/0.2358, allocations: 55.41 kB / 1.062 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.073e-05/0.2358, allocations: 128.8 kB / 1.062 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.2359, allocations: 33.7 kB / 1.062 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.534e-05/0.2359, allocations: 96.78 kB / 1.062 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.844e-05/0.236, allocations: 126.1 kB / 1.062 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.71e-05/0.2361, allocations: 69.67 kB / 1.062 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.887e-05/0.2362, allocations: 322.8 kB / 1.063 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004221/0.2366, allocations: 199.8 kB / 1.063 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004189/0.237, allocations: 191.6 kB / 1.063 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007638/0.2378, allocations: 365.2 kB / 1.063 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.2378, allocations: 4 kB / 1.063 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009328/0.2388, allocations: 468.5 kB / 1.064 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.2388, allocations: 4 kB / 1.064 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.217e-06/0.2388, allocations: 0 / 1.064 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.326e-06/0.2388, allocations: 0 / 1.064 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003202/0.2391, allocations: 103.8 kB / 1.064 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.2391, allocations: 4 kB / 1.064 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001591/0.2393, allocations: 47.7 kB / 1.064 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.655e-05/0.2393, allocations: 16 kB / 1.064 GB, free: 11.77 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.0001009/0.2394, allocations: 137.8 kB / 1.064 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.092e-05/0.2395, allocations: 23.75 kB / 1.064 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00105/0.2406, allocations: 0.5144 MB / 1.065 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.2406, allocations: 4 kB / 1.065 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.2406, allocations: 0 / 1.065 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.2406, allocations: 3.984 kB / 1.065 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002742/0.2409, allocations: 313.3 kB / 1.065 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.2409, allocations: 3.938 kB / 1.065 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003057/0.2412, allocations: 95.86 kB / 1.065 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.2412, allocations: 4 kB / 1.065 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.183e-05/0.2412, allocations: 19.92 kB / 1.065 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.2412, allocations: 3.938 kB / 1.065 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2412, allocations: 0 / 1.065 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009385/0.2422, allocations: 0.4923 MB / 1.066 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.468e-05/0.2422, allocations: 100.7 kB / 1.066 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.654e-05/0.2423, allocations: 12 kB / 1.066 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.2424, allocations: 35.95 kB / 1.066 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001943/0.2426, allocations: 115.8 kB / 1.066 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-05/0.2427, allocations: 15.98 kB / 1.066 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.16e-05/0.2427, allocations: 102.4 kB / 1.066 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2427, allocations: 0 / 1.066 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003126/0.243, allocations: 119.9 kB / 1.066 GB, free: 9.582 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.001385/0.2444, allocations: 1.115 MB / 1.067 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0009223/0.2454, allocations: 463.3 kB / 1.068 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2454, allocations: 0 / 1.068 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000488/0.2459, allocations: 263.7 kB / 1.068 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.2462, allocations: 74.17 kB / 1.068 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00353/0.2498, allocations: 2.713 MB / 1.071 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.25, allocations: 0.7331 MB / 1.071 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003963/0.2504, allocations: 178.2 kB / 1.071 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.2505, allocations: 59.41 kB / 1.072 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2505, allocations: 0 / 1.072 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.351/2.601, allocations: 6.874 MB / 1.078 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002926/2.602, allocations: 219.5 kB / 1.078 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.864/4.466, allocations: 0 / 1.078 GB, free: 12.92 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.fmu > Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches