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.000798/0.000798, 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.000783/0.000783, allocations: 165.9 kB / 22.45 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.8556/0.8556, allocations: 177.1 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.723/1.723, allocations: 389 MB / 0.633 GB, free: 12.68 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.443e-06/1.443e-06, allocations: 0 / 0.9996 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.681e-05/2.825e-05, allocations: 6.281 kB / 0.9996 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater): time 0.00186/0.001888, allocations: 1.298 MB / 1.001 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001262/0.00315, allocations: 1.111 MB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.243e-05/0.003183, allocations: 7.938 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.08e-05/0.003204, allocations: 3.938 kB / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.305e-05/0.003277, allocations: 15.92 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000502/0.003779, allocations: 151.2 kB / 1.002 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.107e-05/0.00385, allocations: 47.72 kB / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.888e-05/0.003889, allocations: 7.984 kB / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.066e-05/0.003969, allocations: 23.98 kB / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.726e-05/0.003996, allocations: 19.91 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.004009, allocations: 4 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003045/0.004314, allocations: 143.7 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.023e-05/0.004324, allocations: 3.938 kB / 1.002 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.532e-05/0.004349, allocations: 15.98 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.004531, allocations: 135.6 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.004534, allocations: 0 / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.343e-06/0.004535, allocations: 0 / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.004539, allocations: 0 / 1.003 GB, free: 10.54 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.0002991/0.004838, allocations: 290 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.004875, allocations: 12.73 kB / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.411e-05/0.004909, allocations: 42.75 kB / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.54e-05/0.004935, allocations: 4.922 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.698e-05/0.005012, allocations: 109.8 kB / 1.003 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.005022, allocations: 4.375 kB / 1.003 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.246e-06/0.005031, allocations: 4.375 kB / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.00514, allocations: 71.89 kB / 1.003 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.005147, allocations: 192 / 1.003 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.005156, allocations: 4.125 kB / 1.003 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.00516, allocations: 0 / 1.003 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.246e-05/0.005223, allocations: 43.95 kB / 1.003 GB, free: 9.895 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001351/0.005358, allocations: 149.5 kB / 1.003 GB, free: 9.703 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.952e-05/0.005437, allocations: 65.14 kB / 1.003 GB, free: 9.621 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.442e-05/0.005472, allocations: 33.77 kB / 1.003 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004864/0.005958, allocations: 247.8 kB / 1.004 GB, free: 9.34 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.005982, allocations: 42.5 kB / 1.004 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.005983, allocations: 0 / 1.004 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9): time 0.0001963/0.006179, allocations: 98 kB / 1.004 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.006212, allocations: 81.05 kB / 1.004 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.163e-05/0.006264, allocations: 93.86 kB / 1.004 GB, free: 8.988 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.006276, allocations: 33.7 kB / 1.004 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.236e-05/0.006298, allocations: 80.14 kB / 1.004 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.551e-05/0.006334, allocations: 39.62 kB / 1.004 GB, free: 8.828 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.786e-05/0.006362, allocations: 17.72 kB / 1.004 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.037e-05/0.006442, allocations: 318.8 kB / 1.004 GB, free: 8.484 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.169e-05/0.006464, allocations: 16 kB / 1.004 GB, free: 8.469 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.872e-05/0.006492, allocations: 25.7 kB / 1.004 GB, free: 8.438 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.763e-05/0.00655, allocations: 53.84 kB / 1.004 GB, free: 8.379 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.006552, allocations: 0 / 1.004 GB, free: 8.379 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9) (initialization): time 8.759e-05/0.00664, allocations: 73.67 kB / 1.005 GB, free: 8.301 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.006652, allocations: 4 kB / 1.005 GB, free: 8.297 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.006657, allocations: 0 / 1.005 GB, free: 8.297 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.006669, allocations: 3.938 kB / 1.005 GB, free: 8.293 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.143e-05/0.006731, allocations: 19.94 kB / 1.005 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.006735, allocations: 0 / 1.005 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.746e-05/0.006753, allocations: 11.94 kB / 1.005 GB, free: 8.262 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.006759, allocations: 4 kB / 1.005 GB, free: 8.258 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 6.409e-05/0.006823, allocations: 121.8 kB / 1.005 GB, free: 8.129 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.464e-06/0.00683, allocations: 0 / 1.005 GB, free: 8.129 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000139/0.006969, allocations: 113.7 kB / 1.005 GB, free: 8.008 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.006973, allocations: 3.938 kB / 1.005 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.006977, allocations: 0 / 1.005 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.006979, allocations: 0 / 1.005 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.406e-05/0.007063, allocations: 132.8 kB / 1.005 GB, free: 7.832 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.007064, allocations: 0 / 1.005 GB, free: 7.832 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.787e-05/0.007092, allocations: 12 kB / 1.005 GB, free: 7.82 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.007095, allocations: 8.031 kB / 1.005 GB, free: 7.812 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.007103, allocations: 4 kB / 1.005 GB, free: 7.809 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.007105, allocations: 3.938 kB / 1.005 GB, free: 7.805 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.007107, allocations: 3.938 kB / 1.005 GB, free: 7.801 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.67e-05/0.007203, allocations: 102 kB / 1.005 GB, free: 7.68 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.834e-05/0.007232, allocations: 16.06 kB / 1.005 GB, free: 7.664 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.056e-05/0.007242, allocations: 8 kB / 1.005 GB, free: 7.656 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.131e-05/0.007253, allocations: 3.938 kB / 1.005 GB, free: 7.652 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.576e-05/0.007269, allocations: 11.97 kB / 1.005 GB, free: 7.641 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.007272, allocations: 0 / 1.005 GB, free: 7.641 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.394e-05/0.007296, allocations: 83.28 kB / 1.005 GB, free: 7.559 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.007296, allocations: 4 kB / 1.005 GB, free: 7.555 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001985/0.007495, allocations: 63.67 kB / 1.005 GB, free: 7.492 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.0004455/0.00794, allocations: 0.7185 MB / 1.006 GB, free: 6.742 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001008/0.008041, allocations: 43.86 kB / 1.006 GB, free: 6.699 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.008043, allocations: 8.062 kB / 1.006 GB, free: 6.691 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.355e-05/0.008067, allocations: 23.92 kB / 1.006 GB, free: 6.668 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.008286, allocations: 19.98 kB / 1.006 GB, free: 6.648 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003729/0.008659, allocations: 215.1 kB / 1.006 GB, free: 6.395 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.98e-05/0.008699, allocations: 71.28 kB / 1.006 GB, free: 6.305 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 7.541e-05/0.008774, allocations: 12.09 kB / 1.006 GB, free: 6.293 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.642e-05/0.008811, allocations: 16.5 kB / 1.006 GB, free: 6.277 MB / 0.9636 GB Notification: Performance of SimCode: time 5.41e-07/0.008811, allocations: 0 / 1.006 GB, free: 6.277 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01485/0.02367, allocations: 3.315 MB / 1.01 GB, free: 3.125 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.301/6.325, allocations: 4.062 kB / 1.01 GB, free: 3.121 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.253862854093313]