Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Antifreeze.Functions.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.0008815/0.0008815, allocations: 80.44 kB / 19.16 MB, free: 0.7305 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.0009481/0.0009481, allocations: 173.9 kB / 22.45 MB, free: 2.09 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.8708/0.8708, allocations: 177.2 MB / 202.8 MB, free: 5.746 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.698/1.698, allocations: 388.8 MB / 0.6328 GB, free: 13.03 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.Functions.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_latest_Buildings_Media_Antifreeze_Functions_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_latest_Buildings_Media_Antifreeze_Functions_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.9992 GB, free: 14.25 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.7e-05/2.845e-05, allocations: 6.281 kB / 0.9992 GB, free: 14.25 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater): time 0.001809/0.001837, allocations: 1.304 MB / 1 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.003123, allocations: 1.107 MB / 1.002 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.884e-05/0.003152, allocations: 4 kB / 1.002 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.107e-05/0.003173, allocations: 0 / 1.002 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.945e-05/0.003253, allocations: 15.86 kB / 1.002 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004891/0.003742, allocations: 159.2 kB / 1.002 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.125e-05/0.003803, allocations: 43.83 kB / 1.002 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.159e-05/0.003845, allocations: 4 kB / 1.002 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.987e-05/0.003895, allocations: 27.92 kB / 1.002 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.575e-05/0.00392, allocations: 19.91 kB / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.003935, allocations: 4 kB / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002827/0.004218, allocations: 139.8 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 9.708e-06/0.004227, allocations: 3.984 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.016e-05/0.004248, allocations: 8 kB / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001782/0.004426, allocations: 139.6 kB / 1.002 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.004428, allocations: 0 / 1.002 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.82e-07/0.004429, allocations: 0 / 1.002 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 7.824e-06/0.004437, allocations: 3.938 kB / 1.002 GB, free: 11.26 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003373/0.004774, allocations: 294 kB / 1.002 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.004815, allocations: 8.75 kB / 1.002 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.822e-05/0.004843, allocations: 42.75 kB / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.202e-05/0.004865, allocations: 4.875 kB / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.368e-05/0.004949, allocations: 117.7 kB / 1.003 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.004959, allocations: 4.375 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.004969, allocations: 4.375 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.005077, allocations: 67.95 kB / 1.003 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.005084, allocations: 192 / 1.003 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.005093, allocations: 4.125 kB / 1.003 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-06/0.005098, allocations: 0 / 1.003 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.896e-05/0.005157, allocations: 47.89 kB / 1.003 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001357/0.005292, allocations: 145.6 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.254e-05/0.005375, allocations: 73.08 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.667e-05/0.005412, allocations: 29.77 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004986/0.00591, allocations: 247.8 kB / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.00593, allocations: 34.56 kB / 1.003 GB, free: 10 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=9): time 1.123e-06/0.005931, allocations: 0 / 1.003 GB, free: 10 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9): time 0.0001739/0.006105, allocations: 101.8 kB / 1.003 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.006138, allocations: 81.11 kB / 1.003 GB, free: 9.801 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.177e-05/0.00619, allocations: 93.86 kB / 1.003 GB, free: 9.699 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.006201, allocations: 29.7 kB / 1.003 GB, free: 9.664 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 1.938e-05/0.00622, allocations: 84.09 kB / 1.004 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.006251, allocations: 31.73 kB / 1.004 GB, free: 9.547 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.732e-05/0.006278, allocations: 25.7 kB / 1.004 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.019e-05/0.006348, allocations: 310.8 kB / 1.004 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.071e-05/0.006369, allocations: 12 kB / 1.004 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.622e-05/0.006395, allocations: 29.64 kB / 1.004 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.515e-05/0.00645, allocations: 58.12 kB / 1.004 GB, free: 9.094 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.006452, allocations: 192 / 1.004 GB, free: 9.094 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9) (initialization): time 7.878e-05/0.006531, allocations: 69.62 kB / 1.004 GB, free: 9.02 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.006542, allocations: 7.938 kB / 1.004 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.006546, allocations: 0 / 1.004 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.006558, allocations: 7.938 kB / 1.004 GB, free: 9.004 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.271e-05/0.006621, allocations: 15.98 kB / 1.004 GB, free: 8.988 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.006625, allocations: 0 / 1.004 GB, free: 8.988 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.755e-05/0.006643, allocations: 11.89 kB / 1.004 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.006649, allocations: 8.031 kB / 1.004 GB, free: 8.969 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * 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 4.91e-05/0.006698, allocations: 113.8 kB / 1.004 GB, free: 8.848 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.412e-06/0.006704, allocations: 7.875 kB / 1.004 GB, free: 8.84 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001276/0.006832, allocations: 101.7 kB / 1.004 GB, free: 8.73 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.006836, allocations: 7.938 kB / 1.004 GB, free: 8.723 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.00684, allocations: 0 / 1.004 GB, free: 8.723 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.006844, allocations: 4 kB / 1.004 GB, free: 8.719 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.622e-05/0.00692, allocations: 132.7 kB / 1.004 GB, free: 8.547 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.006921, allocations: 0 / 1.004 GB, free: 8.547 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.721e-05/0.006948, allocations: 15.94 kB / 1.004 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.00695, allocations: 8.031 kB / 1.004 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.006958, allocations: 7.984 kB / 1.004 GB, free: 8.516 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.00696, allocations: 3.938 kB / 1.004 GB, free: 8.512 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.006962, allocations: 4 kB / 1.004 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.415e-05/0.007046, allocations: 97.92 kB / 1.005 GB, free: 8.391 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.396e-05/0.00707, allocations: 15.88 kB / 1.005 GB, free: 8.375 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.011e-05/0.00708, allocations: 8 kB / 1.005 GB, free: 8.367 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.057e-05/0.00709, allocations: 4.125 kB / 1.005 GB, free: 8.363 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.625e-05/0.007107, allocations: 7.984 kB / 1.005 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.00711, allocations: 3.984 kB / 1.005 GB, free: 8.352 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.36e-05/0.007134, allocations: 87.27 kB / 1.005 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.007134, allocations: 4 kB / 1.005 GB, free: 8.262 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001711/0.007305, allocations: 55.81 kB / 1.005 GB, free: 8.207 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * 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.0003777/0.007683, allocations: 0.7145 MB / 1.005 GB, free: 7.461 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 9.419e-05/0.007777, allocations: 47.86 kB / 1.005 GB, free: 7.414 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.007779, allocations: 4.062 kB / 1.005 GB, free: 7.41 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.222e-05/0.007801, allocations: 27.92 kB / 1.006 GB, free: 7.383 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001771/0.007978, allocations: 11.98 kB / 1.006 GB, free: 7.371 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003366/0.008315, allocations: 223 kB / 1.006 GB, free: 7.109 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.632e-05/0.008351, allocations: 63.34 kB / 1.006 GB, free: 7.027 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.205e-05/0.008383, allocations: 20.12 kB / 1.006 GB, free: 7.008 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.557e-05/0.008408, allocations: 12.5 kB / 1.006 GB, free: 6.996 MB / 0.9636 GB Notification: Performance of SimCode: time 3.71e-07/0.008409, allocations: 0 / 1.006 GB, free: 6.996 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0143/0.02271, allocations: 3.31 MB / 1.009 GB, free: 3.828 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.364/6.387, allocations: 9.609 kB / 1.009 GB, free: 3.824 MB / 0.9636 GB " [Timeout remaining time 294] (rm -f Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Antifreeze_Functions_Validation_EthyleneGlycolWater_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Antifreeze_Functions_Validation_EthyleneGlycolWater.fmu > Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Functions_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Antifreeze.Functions.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.354356265626848]