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.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.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.0009689/0.0009689, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007491/0.007491, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.235/1.235, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.43/2.43, allocations: 462.6 MB / 0.7364 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002599/0.0002599, allocations: 15.86 kB / 0.9029 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2141, allocations: 159.6 MB / 1.059 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001054/0.2152, allocations: 1.111 MB / 1.06 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002684/0.2178, allocations: 2.879 MB / 1.063 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.267e-05/0.2179, allocations: 4 kB / 1.063 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.366e-05/0.2179, allocations: 7.922 kB / 1.063 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.777e-05/0.218, allocations: 39.88 kB / 1.063 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003529/0.2184, allocations: 159.3 kB / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002491/0.2187, allocations: 335.3 kB / 1.063 GB, free: 412 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 2.951e-05/0.2187, allocations: 4 kB / 1.063 GB, free: 408 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.989e-05/0.2188, allocations: 87.92 kB / 1.063 GB, free: 320 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.2189, allocations: 143.6 kB / 1.063 GB, free: 176 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.341e-05/0.2189, allocations: 12 kB / 1.063 GB, free: 164 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002887/0.2192, allocations: 147.8 kB / 1.064 GB, free: 16 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.448e-05/0.2193, allocations: 87.81 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.663e-05/0.2194, allocations: 121.3 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002721/0.2197, allocations: 267.6 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.2197, allocations: 4 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2197, allocations: 0 / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.286e-06/0.2197, allocations: 0 / 1.064 GB, free: 15.54 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.0006534/0.2204, allocations: 0.5223 MB / 1.065 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.2204, allocations: 11.97 kB / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.485e-05/0.2205, allocations: 50.73 kB / 1.065 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.863e-05/0.2205, allocations: 24.69 kB / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001847/0.2207, allocations: 236 kB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.784e-05/0.2208, allocations: 28.36 kB / 1.065 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.2208, allocations: 16.38 kB / 1.065 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00057/0.2214, allocations: 321.1 kB / 1.065 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.2214, allocations: 0 / 1.065 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.2214, allocations: 8 kB / 1.065 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.2214, allocations: 0 / 1.065 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001295/0.2227, allocations: 0.8115 MB / 1.066 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000281/0.223, allocations: 301.1 kB / 1.066 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00153/0.2246, allocations: 0.7776 MB / 1.067 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004733/0.225, allocations: 264.7 kB / 1.067 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003002/0.2254, allocations: 392.3 kB / 1.068 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.2254, allocations: 38.56 kB / 1.068 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=37): time 1.253e-06/0.2254, allocations: 0 / 1.068 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37): time 0.001482/0.2269, allocations: 0.7418 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.2269, allocations: 59.39 kB / 1.068 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.158e-05/0.227, allocations: 122.1 kB / 1.069 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.227, allocations: 33.7 kB / 1.069 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.515e-05/0.2271, allocations: 100.7 kB / 1.069 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.155e-05/0.2272, allocations: 126 kB / 1.069 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.34e-05/0.2272, allocations: 33.7 kB / 1.069 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 7.979e-05/0.2273, allocations: 326.8 kB / 1.069 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004443/0.2277, allocations: 223.8 kB / 1.069 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004394/0.2282, allocations: 231.5 kB / 1.07 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008246/0.229, allocations: 425.2 kB / 1.07 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.229, allocations: 3.938 kB / 1.07 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009763/0.23, allocations: 0.5084 MB / 1.071 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/0.23, allocations: 4 kB / 1.071 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.23, allocations: 8 kB / 1.071 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.23, allocations: 4 kB / 1.071 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003256/0.2304, allocations: 107.9 kB / 1.071 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.2304, allocations: 7.984 kB / 1.071 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.2306, allocations: 63.78 kB / 1.071 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.359e-05/0.2306, allocations: 19.98 kB / 1.071 GB, free: 8.348 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 9.608e-05/0.2307, allocations: 141.8 kB / 1.071 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.022e-05/0.2307, allocations: 19.75 kB / 1.071 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001076/0.2318, allocations: 0.5614 MB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.2318, allocations: 8 kB / 1.071 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.2318, allocations: 0 / 1.071 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2319, allocations: 3.938 kB / 1.071 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002514/0.2321, allocations: 313.2 kB / 1.072 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.2321, allocations: 7.875 kB / 1.072 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003114/0.2324, allocations: 115.9 kB / 1.072 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.2324, allocations: 0 / 1.072 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.2325, allocations: 11.98 kB / 1.072 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2325, allocations: 3.938 kB / 1.072 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2325, allocations: 4 kB / 1.072 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000971/0.2335, allocations: 0.547 MB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.851e-05/0.2335, allocations: 100.8 kB / 1.073 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.605e-05/0.2335, allocations: 4 kB / 1.073 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/0.2337, allocations: 55.95 kB / 1.073 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001832/0.2339, allocations: 115.8 kB / 1.073 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/0.2339, allocations: 12 kB / 1.073 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.797e-05/0.234, allocations: 102.2 kB / 1.073 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.234, allocations: 7.938 kB / 1.073 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002863/0.2343, allocations: 115.9 kB / 1.073 GB, free: 6.023 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.001351/0.2356, allocations: 1.182 MB / 1.074 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0009744/0.2366, allocations: 0.5149 MB / 1.075 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2366, allocations: 0 / 1.075 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0004959/0.2371, allocations: 291.7 kB / 1.075 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.2375, allocations: 63.94 kB / 1.075 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003523/0.241, allocations: 2.885 MB / 1.078 GB, free: 0.9805 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002081/0.2412, allocations: 0.7292 MB / 1.078 GB, free: 224 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000364/0.2416, allocations: 182.4 kB / 1.079 GB, free: 48 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.2417, allocations: 67.45 kB / 1.079 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.2417, allocations: 0 / 1.079 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.565/1.806, allocations: 6.784 MB / 1.085 GB, free: 9.41 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000214/1.807, allocations: 213.8 kB / 1.085 GB, free: 9.152 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.178/3.985, allocations: 0 / 1.085 GB, free: 9.152 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