Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.WaterProperties.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.0008462/0.0008462, 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.001/0.001, allocations: 165.9 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.8806/0.8806, 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.709/1.709, allocations: 389 MB / 0.633 GB, free: 12.7 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.Examples.WaterProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.63e-05/1.772e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.003915/0.003932, allocations: 4.49 MB / 1.004 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001701/0.005633, allocations: 2.465 MB / 1.006 GB, free: 6.508 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.714e-05/0.0057, allocations: 0 / 1.006 GB, free: 6.508 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0002283/0.005929, allocations: 47.67 kB / 1.007 GB, free: 6.461 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001955/0.006124, allocations: 103.3 kB / 1.007 GB, free: 6.359 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007165/0.006841, allocations: 0.5407 MB / 1.007 GB, free: 5.82 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001904/0.007031, allocations: 239.8 kB / 1.007 GB, free: 5.586 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.771e-05/0.007069, allocations: 9.797 kB / 1.007 GB, free: 5.578 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001712/0.00724, allocations: 159.5 kB / 1.008 GB, free: 5.422 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.007344, allocations: 79.77 kB / 1.008 GB, free: 5.344 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.261e-05/0.007366, allocations: 8 kB / 1.008 GB, free: 5.336 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003717/0.007738, allocations: 315.1 kB / 1.008 GB, free: 5.027 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.27e-05/0.007801, allocations: 43.83 kB / 1.008 GB, free: 4.984 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.08e-05/0.007852, allocations: 59.89 kB / 1.008 GB, free: 4.926 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003767/0.008228, allocations: 382.8 kB / 1.008 GB, free: 4.551 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.00823, allocations: 0 / 1.008 GB, free: 4.551 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.81e-07/0.008231, allocations: 0 / 1.008 GB, free: 4.551 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.008235, allocations: 4 kB / 1.008 GB, free: 4.547 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005277/0.008763, allocations: 445.4 kB / 1.009 GB, free: 4.078 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.008798, allocations: 12.75 kB / 1.009 GB, free: 4.066 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.784e-05/0.008836, allocations: 50.73 kB / 1.009 GB, free: 4.008 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.451e-05/0.008931, allocations: 28.83 kB / 1.009 GB, free: 3.98 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.009113, allocations: 153.6 kB / 1.009 GB, free: 3.805 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.009126, allocations: 12.7 kB / 1.009 GB, free: 3.793 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.00914, allocations: 12.38 kB / 1.009 GB, free: 3.781 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003307/0.009471, allocations: 487.9 kB / 1.01 GB, free: 3.23 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.00948, allocations: 4.188 kB / 1.01 GB, free: 3.227 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.009496, allocations: 11.94 kB / 1.01 GB, free: 3.215 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.094e-05/0.009517, allocations: 8 kB / 1.01 GB, free: 3.207 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002931/0.009811, allocations: 420.1 kB / 1.01 GB, free: 2.797 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007011/0.01051, allocations: 0.8085 MB / 1.011 GB, free: 1.93 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002228/0.01073, allocations: 160 kB / 1.011 GB, free: 1.766 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.727e-05/0.0108, allocations: 48.88 kB / 1.011 GB, free: 1.715 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004236/0.01123, allocations: 459.8 kB / 1.011 GB, free: 1.246 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.01124, allocations: 42.5 kB / 1.011 GB, free: 1.195 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=15): time 9.32e-07/0.01124, allocations: 0 / 1.011 GB, free: 1.195 MB / 0.9636 GB Notification: Performance of matching and sorting (n=15): time 0.0002305/0.01147, allocations: 147.8 kB / 1.012 GB, free: 1.047 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.438e-05/0.0115, allocations: 55.41 kB / 1.012 GB, free: 0.9805 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.91e-05/0.0116, allocations: 179.1 kB / 1.012 GB, free: 0.793 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.01161, allocations: 25.7 kB / 1.012 GB, free: 0.7617 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.739e-05/0.01167, allocations: 148.1 kB / 1.012 GB, free: 0.6133 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/0.01169, allocations: 55.53 kB / 1.012 GB, free: 0.5586 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.456e-05/0.01174, allocations: 53.66 kB / 1.012 GB, free: 0.5 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.966e-05/0.01181, allocations: 322.8 kB / 1.012 GB, free: 180 kB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.296e-05/0.01185, allocations: 35.98 kB / 1.012 GB, free: 144 kB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001594/0.01201, allocations: 141.6 kB / 1.013 GB, free: 15.95 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.01216, allocations: 193.5 kB / 1.013 GB, free: 15.71 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.01216, allocations: 0 / 1.013 GB, free: 15.71 MB / 0.9792 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002037/0.01236, allocations: 223.9 kB / 1.013 GB, free: 15.49 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.01237, allocations: 4 kB / 1.013 GB, free: 15.49 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.01238, allocations: 4 kB / 1.013 GB, free: 15.48 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.01239, allocations: 8 kB / 1.013 GB, free: 15.48 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.0125, allocations: 59.86 kB / 1.013 GB, free: 15.42 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.0125, allocations: 7.984 kB / 1.013 GB, free: 15.41 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.273e-05/0.01257, allocations: 40.08 kB / 1.013 GB, free: 15.37 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.01258, allocations: 16 kB / 1.013 GB, free: 15.36 MB / 0.9792 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 6.836e-05/0.01265, allocations: 125.8 kB / 1.013 GB, free: 15.22 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/0.01267, allocations: 15.95 kB / 1.013 GB, free: 15.21 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001816/0.01285, allocations: 166.8 kB / 1.013 GB, free: 15.04 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.01286, allocations: 0 / 1.013 GB, free: 15.04 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.01286, allocations: 0 / 1.013 GB, free: 15.04 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.01287, allocations: 7.938 kB / 1.013 GB, free: 15.03 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001383/0.013, allocations: 176.7 kB / 1.014 GB, free: 14.82 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.01301, allocations: 0 / 1.014 GB, free: 14.82 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.38e-05/0.01306, allocations: 31.98 kB / 1.014 GB, free: 14.79 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.01306, allocations: 7.984 kB / 1.014 GB, free: 14.78 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.01307, allocations: 4 kB / 1.014 GB, free: 14.77 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.01307, allocations: 4 kB / 1.014 GB, free: 14.77 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.01307, allocations: 0 / 1.014 GB, free: 14.77 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.01321, allocations: 221.2 kB / 1.014 GB, free: 14.54 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 4.264e-05/0.01326, allocations: 35.86 kB / 1.014 GB, free: 14.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.01327, allocations: 4 kB / 1.014 GB, free: 14.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.556e-05/0.01337, allocations: 11.98 kB / 1.014 GB, free: 14.49 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.807e-05/0.01338, allocations: 11.98 kB / 1.014 GB, free: 14.48 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.0134, allocations: 11.94 kB / 1.014 GB, free: 14.46 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 5.326e-05/0.01345, allocations: 124 kB / 1.014 GB, free: 14.34 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01345, allocations: 0 / 1.014 GB, free: 14.34 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002435/0.01369, allocations: 79.86 kB / 1.014 GB, free: 14.27 MB / 0.9792 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.0004615/0.01416, allocations: 0.8332 MB / 1.015 GB, free: 13.41 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0001632/0.01432, allocations: 125.8 kB / 1.015 GB, free: 13.29 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01432, allocations: 0 / 1.015 GB, free: 13.29 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 4.336e-05/0.01436, allocations: 39.92 kB / 1.015 GB, free: 13.25 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.01464, allocations: 60.67 kB / 1.015 GB, free: 13.19 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.016, allocations: 2.016 MB / 1.017 GB, free: 10.99 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.033e-05/0.01606, allocations: 99.27 kB / 1.017 GB, free: 10.88 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 9.774e-05/0.01616, allocations: 45.81 kB / 1.017 GB, free: 10.83 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.588e-05/0.01622, allocations: 48.48 kB / 1.017 GB, free: 10.79 MB / 0.9792 GB Notification: Performance of SimCode: time 5.21e-07/0.01622, allocations: 0 / 1.017 GB, free: 10.79 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0165/0.03272, allocations: 6.237 MB / 1.023 GB, free: 4.754 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.522/6.555, allocations: 6.062 kB / 1.023 GB, free: 4.75 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.WaterProperties_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_WaterProperties.fmu > Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.WaterProperties.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.470898576080799]