Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 108.2 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 186.7 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 225.6 MB / 249.3 MB, free: 3.309 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.475/2.475, allocations: 476.7 MB / 0.7628 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_11_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_11_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 63.91 kB / 1.107 GB, free: 5.078 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8041/0.8061, allocations: 168.7 MB / 1.271 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01281/0.8189, allocations: 13.08 MB / 1.284 GB, free: 14.71 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002875/0.8218, allocations: 2.692 MB / 1.287 GB, free: 12.8 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.796e-05/0.8218, allocations: 3.688 kB / 1.287 GB, free: 12.8 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002377/0.8221, allocations: 44.78 kB / 1.287 GB, free: 12.78 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002476/0.8223, allocations: 98.19 kB / 1.287 GB, free: 12.72 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.8235, allocations: 0.5104 MB / 1.287 GB, free: 12.45 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002838/0.8238, allocations: 234.6 kB / 1.288 GB, free: 12.34 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.075e-05/0.8239, allocations: 7.781 kB / 1.288 GB, free: 12.34 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008983/0.8328, allocations: 3.591 MB / 1.291 GB, free: 10.89 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001747/0.833, allocations: 90.17 kB / 1.291 GB, free: 10.86 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.455e-05/0.833, allocations: 8.188 kB / 1.291 GB, free: 10.86 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002675/0.8357, allocations: 1.098 MB / 1.292 GB, free: 10.45 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.045e-05/0.8358, allocations: 42.06 kB / 1.292 GB, free: 10.43 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 9.341e-05/0.8359, allocations: 79.56 kB / 1.292 GB, free: 10.39 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000736/0.8366, allocations: 371.5 kB / 1.293 GB, free: 10.27 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.8366, allocations: 0 / 1.293 GB, free: 10.27 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8366, allocations: 0 / 1.293 GB, free: 10.27 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.257e-06/0.8366, allocations: 1.375 kB / 1.293 GB, free: 10.27 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007306/0.8374, allocations: 0.5069 MB / 1.293 GB, free: 9.809 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.8374, allocations: 9.406 kB / 1.293 GB, free: 9.809 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.683e-05/0.8374, allocations: 56.17 kB / 1.293 GB, free: 9.754 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/0.8376, allocations: 24.23 kB / 1.293 GB, free: 9.746 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002625/0.8379, allocations: 215.4 kB / 1.294 GB, free: 9.527 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.8379, allocations: 11.61 kB / 1.294 GB, free: 9.523 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.8379, allocations: 15.33 kB / 1.294 GB, free: 9.52 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003653/0.8383, allocations: 252.2 kB / 1.294 GB, free: 9.375 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.8383, allocations: 3.984 kB / 1.294 GB, free: 9.371 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.181e-05/0.8383, allocations: 8.297 kB / 1.294 GB, free: 9.367 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.189e-05/0.8383, allocations: 6.031 kB / 1.294 GB, free: 9.367 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004714/0.8388, allocations: 430.2 kB / 1.294 GB, free: 9.289 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.8399, allocations: 0.9592 MB / 1.295 GB, free: 8.441 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002581/0.8401, allocations: 147.3 kB / 1.295 GB, free: 8.387 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.551e-05/0.8402, allocations: 56.58 kB / 1.295 GB, free: 8.363 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001545/0.8418, allocations: 1.838 MB / 1.297 GB, free: 6.316 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.8418, allocations: 43.84 kB / 1.297 GB, free: 6.27 MB / 1.014 GB Notification: Performance of pre-optimization done (n=15): time 1.283e-06/0.8418, allocations: 0 / 1.297 GB, free: 6.27 MB / 1.014 GB Notification: Performance of matching and sorting (n=15): time 0.0003084/0.8421, allocations: 147.6 kB / 1.297 GB, free: 6.199 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.8422, allocations: 54.22 kB / 1.297 GB, free: 6.137 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.8424, allocations: 176.6 kB / 1.298 GB, free: 6.004 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.61e-05/0.8424, allocations: 35.05 kB / 1.298 GB, free: 5.965 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.8425, allocations: 142 kB / 1.298 GB, free: 5.836 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.359e-05/0.8426, allocations: 55.3 kB / 1.298 GB, free: 5.793 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.65e-05/0.8426, allocations: 54.48 kB / 1.298 GB, free: 5.758 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.8428, allocations: 326.4 kB / 1.298 GB, free: 5.438 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.599e-05/0.8428, allocations: 34.89 kB / 1.298 GB, free: 5.43 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.843, allocations: 139.7 kB / 1.298 GB, free: 5.285 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002271/0.8432, allocations: 200.2 kB / 1.299 GB, free: 5.102 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.8432, allocations: 1.438 kB / 1.299 GB, free: 5.102 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003289/0.8435, allocations: 216 kB / 1.299 GB, free: 5.004 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.8435, allocations: 5.375 kB / 1.299 GB, free: 5.004 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.8435, allocations: 2.094 kB / 1.299 GB, free: 5.004 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.8436, allocations: 10.45 kB / 1.299 GB, free: 5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.8437, allocations: 54.62 kB / 1.299 GB, free: 4.992 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.8437, allocations: 9.672 kB / 1.299 GB, free: 4.988 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.8438, allocations: 29.38 kB / 1.299 GB, free: 4.969 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.8439, allocations: 12.95 kB / 1.299 GB, free: 4.969 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001105/0.844, allocations: 141.6 kB / 1.299 GB, free: 4.828 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.92e-05/0.844, allocations: 16.97 kB / 1.299 GB, free: 4.82 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002852/0.8443, allocations: 157.3 kB / 1.299 GB, free: 4.738 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.8443, allocations: 5.344 kB / 1.299 GB, free: 4.734 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.8443, allocations: 4.938 kB / 1.299 GB, free: 4.73 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.8443, allocations: 1.359 kB / 1.299 GB, free: 4.73 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002463/0.8446, allocations: 216.5 kB / 1.299 GB, free: 4.516 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.8446, allocations: 0 / 1.299 GB, free: 4.516 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.37e-05/0.8447, allocations: 27.91 kB / 1.299 GB, free: 4.512 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.8447, allocations: 0 / 1.299 GB, free: 4.512 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.8447, allocations: 6.562 kB / 1.299 GB, free: 4.508 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.8447, allocations: 7.188 kB / 1.299 GB, free: 4.504 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.8447, allocations: 0 / 1.299 GB, free: 4.504 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002425/0.8449, allocations: 224.6 kB / 1.3 GB, free: 4.332 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.094e-05/0.845, allocations: 108.8 kB / 1.3 GB, free: 4.227 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.845, allocations: 6.391 kB / 1.3 GB, free: 4.223 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001938/0.8452, allocations: 25.78 kB / 1.3 GB, free: 4.207 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.999e-05/0.8452, allocations: 8.953 kB / 1.3 GB, free: 4.207 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/0.8453, allocations: 13.34 kB / 1.3 GB, free: 4.203 MB / 1.014 GB Notification: Performance of sorting global known variables: time 8.591e-05/0.8454, allocations: 123 kB / 1.3 GB, free: 4.117 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.8454, allocations: 0 / 1.3 GB, free: 4.117 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003528/0.8457, allocations: 80.47 kB / 1.3 GB, free: 4.094 MB / 1.014 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0007069/0.8464, allocations: 0.8284 MB / 1.301 GB, free: 3.383 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002163/0.8466, allocations: 115.9 kB / 1.301 GB, free: 3.348 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.8466, allocations: 0 / 1.301 GB, free: 3.348 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 6.451e-05/0.8467, allocations: 43.95 kB / 1.301 GB, free: 3.336 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/0.8471, allocations: 61.72 kB / 1.301 GB, free: 3.309 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002326/0.8494, allocations: 2.049 MB / 1.303 GB, free: 1.613 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.8497, allocations: 0.7148 MB / 1.304 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001651/0.8499, allocations: 48.86 kB / 1.304 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.166e-05/0.85, allocations: 49.86 kB / 1.304 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of SimCode: time 3.71e-07/0.85, allocations: 0 / 1.304 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02747/0.8775, allocations: 5.493 MB / 1.309 GB, free: 88 kB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.052/7.93, allocations: 10.81 kB / 1.309 GB, free: 80 kB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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: 13.242361345000973]