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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007853/0.0007853, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007958/0.0007958, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8732/0.8732, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.702/1.702, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.9996 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.694e-05/1.843e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001783/0.001801, allocations: 1.368 MB / 1.001 GB, free: 12.13 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001001/0.002802, allocations: 0.9821 MB / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.075e-05/0.002833, allocations: 0 / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 7.179e-05/0.002905, allocations: 7.922 kB / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 9.806e-05/0.003003, allocations: 47.69 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000318/0.003321, allocations: 107.5 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001681/0.003489, allocations: 251.4 kB / 1.002 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.583e-05/0.003525, allocations: 0 / 1.002 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.484e-05/0.00361, allocations: 115.8 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 9.564e-05/0.003705, allocations: 119.8 kB / 1.003 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.409e-05/0.003729, allocations: 16 kB / 1.003 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000221/0.00395, allocations: 115.8 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.815e-05/0.004019, allocations: 83.84 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.993e-05/0.004078, allocations: 79.81 kB / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002145/0.004293, allocations: 259.3 kB / 1.003 GB, free: 9.965 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.004295, allocations: 0 / 1.003 GB, free: 9.965 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.52e-07/0.004296, allocations: 0 / 1.003 GB, free: 9.965 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.0043, allocations: 0 / 1.003 GB, free: 9.965 MB / 0.9636 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.0005102/0.00481, allocations: 453.3 kB / 1.004 GB, free: 9.492 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.004847, allocations: 16.69 kB / 1.004 GB, free: 9.477 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.548e-05/0.004882, allocations: 46.73 kB / 1.004 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.2e-05/0.004954, allocations: 20.84 kB / 1.004 GB, free: 9.402 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.005118, allocations: 185.5 kB / 1.004 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.307e-05/0.005151, allocations: 24.36 kB / 1.004 GB, free: 9.172 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.005171, allocations: 12.38 kB / 1.004 GB, free: 9.16 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003576/0.005528, allocations: 289.7 kB / 1.004 GB, free: 8.871 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.527e-06/0.005537, allocations: 192 / 1.004 GB, free: 8.871 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.005553, allocations: 12.12 kB / 1.004 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.005558, allocations: 4 kB / 1.004 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009114/0.00647, allocations: 0.7217 MB / 1.005 GB, free: 8.133 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002296/0.006699, allocations: 256.5 kB / 1.005 GB, free: 7.84 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008747/0.007574, allocations: 0.6447 MB / 1.006 GB, free: 7.18 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002745/0.007849, allocations: 209.6 kB / 1.006 GB, free: 6.973 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001706/0.008019, allocations: 79.94 kB / 1.006 GB, free: 6.895 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.00804, allocations: 42.31 kB / 1.006 GB, free: 6.844 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=37): time 1.011e-06/0.008041, allocations: 0 / 1.006 GB, free: 6.844 MB / 0.9636 GB Notification: Performance of matching and sorting (n=37): time 0.0009728/0.009014, allocations: 0.6474 MB / 1.007 GB, free: 6.191 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/0.009042, allocations: 55.41 kB / 1.007 GB, free: 6.125 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.612e-05/0.009108, allocations: 130 kB / 1.007 GB, free: 5.988 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.009124, allocations: 37.64 kB / 1.007 GB, free: 5.945 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.229e-05/0.009156, allocations: 92.78 kB / 1.007 GB, free: 5.848 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 6.95e-05/0.009226, allocations: 130.8 kB / 1.007 GB, free: 5.719 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.266e-05/0.009288, allocations: 69.44 kB / 1.007 GB, free: 5.645 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.358e-05/0.009362, allocations: 330.8 kB / 1.007 GB, free: 5.312 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002652/0.009627, allocations: 187.8 kB / 1.008 GB, free: 5.129 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002646/0.009892, allocations: 201 kB / 1.008 GB, free: 4.934 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004824/0.01037, allocations: 364.7 kB / 1.008 GB, free: 4.574 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.01038, allocations: 0 / 1.008 GB, free: 4.574 MB / 0.9636 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005886/0.01096, allocations: 460.7 kB / 1.009 GB, free: 4.117 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.01098, allocations: 8 kB / 1.009 GB, free: 4.109 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.319e-06/0.01098, allocations: 0 / 1.009 GB, free: 4.109 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.01099, allocations: 3.938 kB / 1.009 GB, free: 4.105 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001918/0.01119, allocations: 103.8 kB / 1.009 GB, free: 4.004 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.01119, allocations: 4 kB / 1.009 GB, free: 4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.01e-05/0.01128, allocations: 43.81 kB / 1.009 GB, free: 3.957 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.0113, allocations: 11.98 kB / 1.009 GB, free: 3.945 MB / 0.9636 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 8.094e-05/0.01138, allocations: 145.8 kB / 1.009 GB, free: 3.793 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.371e-05/0.0114, allocations: 15.91 kB / 1.009 GB, free: 3.777 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00065/0.01205, allocations: 0.5178 MB / 1.009 GB, free: 3.254 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.01206, allocations: 7.938 kB / 1.009 GB, free: 3.246 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.01206, allocations: 0 / 1.009 GB, free: 3.246 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.01206, allocations: 4 kB / 1.009 GB, free: 3.242 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001954/0.01226, allocations: 272.4 kB / 1.01 GB, free: 2.934 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.01226, allocations: 0 / 1.01 GB, free: 2.934 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001654/0.01242, allocations: 99.84 kB / 1.01 GB, free: 2.836 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.01243, allocations: 4 kB / 1.01 GB, free: 2.832 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.01244, allocations: 11.98 kB / 1.01 GB, free: 2.82 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.01244, allocations: 7.922 kB / 1.01 GB, free: 2.812 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.01244, allocations: 0 / 1.01 GB, free: 2.812 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007046/0.01315, allocations: 0.4929 MB / 1.01 GB, free: 2.301 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.577e-05/0.01316, allocations: 19.84 kB / 1.01 GB, free: 2.281 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.01318, allocations: 11.94 kB / 1.01 GB, free: 2.27 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.547e-05/0.01327, allocations: 43.83 kB / 1.01 GB, free: 2.227 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/0.0134, allocations: 123.5 kB / 1.01 GB, free: 2.105 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.01342, allocations: 15.98 kB / 1.011 GB, free: 2.09 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.613e-05/0.01345, allocations: 95.27 kB / 1.011 GB, free: 1.996 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.01345, allocations: 0 / 1.011 GB, free: 1.996 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002103/0.01366, allocations: 99.86 kB / 1.011 GB, free: 1.898 MB / 0.9636 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.0008704/0.01453, allocations: 1.088 MB / 1.012 GB, free: 0.7812 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000586/0.01512, allocations: 463.4 kB / 1.012 GB, free: 336 kB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.01512, allocations: 0 / 1.012 GB, free: 336 kB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.000283/0.0154, allocations: 243.7 kB / 1.012 GB, free: 92 kB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.01564, allocations: 71.88 kB / 1.012 GB, free: 20 kB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002372/0.01801, allocations: 2.659 MB / 1.015 GB, free: 13.28 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.829e-05/0.01808, allocations: 118.6 kB / 1.015 GB, free: 13.14 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0002437/0.01833, allocations: 185.8 kB / 1.015 GB, free: 12.96 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.107e-05/0.01842, allocations: 68.45 kB / 1.015 GB, free: 12.89 MB / 0.9792 GB Notification: Performance of SimCode: time 4.31e-07/0.01842, allocations: 0 / 1.015 GB, free: 12.89 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01694/0.03536, allocations: 8.058 MB / 1.023 GB, free: 5.074 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.435/6.471, allocations: 11.81 kB / 1.023 GB, free: 5.062 MB / 0.9792 GB " [Timeout remaining time 293] (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 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.4434828851372]