Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008401/0.0008401, allocations: 76.44 kB / 19.17 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.0008408/0.0008408, allocations: 169.9 kB / 22.46 MB, free: 2.094 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.8409/0.8409, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.67/1.67, allocations: 377.9 MB / 0.6221 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_12_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.981 GB, free: 2.562 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.941e-05/2.08e-05, allocations: 12.89 kB / 0.981 GB, free: 2.551 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.004615/0.004636, allocations: 4.497 MB / 0.9854 GB, free: 14.03 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.001929/0.006565, allocations: 2.457 MB / 0.9878 GB, free: 11.57 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001415/0.006706, allocations: 0 / 0.9878 GB, free: 11.57 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.00029/0.006996, allocations: 51.56 kB / 0.9878 GB, free: 11.52 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002417/0.007238, allocations: 103.2 kB / 0.9879 GB, free: 11.41 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.008291, allocations: 0.5382 MB / 0.9884 GB, free: 10.88 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002484/0.00854, allocations: 239.8 kB / 0.9887 GB, free: 10.64 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.341e-05/0.008583, allocations: 17.73 kB / 0.9887 GB, free: 10.62 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002011/0.008784, allocations: 163.5 kB / 0.9888 GB, free: 10.46 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.008896, allocations: 75.77 kB / 0.9889 GB, free: 10.39 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.479e-05/0.00892, allocations: 8 kB / 0.9889 GB, free: 10.38 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005075/0.009428, allocations: 319.1 kB / 0.9892 GB, free: 10.07 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 8.186e-05/0.00951, allocations: 39.88 kB / 0.9893 GB, free: 10.03 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 6.381e-05/0.009574, allocations: 59.89 kB / 0.9893 GB, free: 9.969 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005247/0.0101, allocations: 378.9 kB / 0.9897 GB, free: 9.598 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.0101, allocations: 0 / 0.9897 GB, free: 9.598 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.593e-06/0.0101, allocations: 0 / 0.9897 GB, free: 9.598 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.01011, allocations: 0 / 0.9897 GB, free: 9.598 MB / 0.948 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.0007193/0.01083, allocations: 449.4 kB / 0.9901 GB, free: 9.125 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.01088, allocations: 11.97 kB / 0.9901 GB, free: 9.113 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.999e-05/0.01093, allocations: 54.73 kB / 0.9902 GB, free: 9.051 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001241/0.01105, allocations: 20.84 kB / 0.9902 GB, free: 9.031 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003025/0.01135, allocations: 161.5 kB / 0.9904 GB, free: 8.848 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.01137, allocations: 8.703 kB / 0.9904 GB, free: 8.84 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.724e-05/0.01139, allocations: 16.38 kB / 0.9904 GB, free: 8.824 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006756/0.01206, allocations: 487.9 kB / 0.9908 GB, free: 8.273 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.01207, allocations: 192 / 0.9908 GB, free: 8.273 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/0.01209, allocations: 11.94 kB / 0.9909 GB, free: 8.262 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.736e-05/0.01212, allocations: 11.98 kB / 0.9909 GB, free: 8.25 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003081/0.01243, allocations: 423.5 kB / 0.9913 GB, free: 7.836 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000836/0.01326, allocations: 0.8123 MB / 0.9921 GB, free: 6.965 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002573/0.01352, allocations: 150 kB / 0.9922 GB, free: 6.812 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.115e-05/0.01359, allocations: 52.88 kB / 0.9923 GB, free: 6.758 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005169/0.01411, allocations: 451.9 kB / 0.9927 GB, free: 6.297 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.01414, allocations: 38.5 kB / 0.9927 GB, free: 6.25 MB / 0.948 GB Notification: Performance of pre-optimization done (n=15): time 1.333e-06/0.01414, allocations: 0 / 0.9927 GB, free: 6.25 MB / 0.948 GB Notification: Performance of matching and sorting (n=15): time 0.0002714/0.01441, allocations: 143.8 kB / 0.9929 GB, free: 6.105 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.01444, allocations: 51.41 kB / 0.9929 GB, free: 6.043 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.01457, allocations: 185.4 kB / 0.9931 GB, free: 5.852 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.01459, allocations: 33.7 kB / 0.9931 GB, free: 5.812 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.083e-05/0.01466, allocations: 140.2 kB / 0.9933 GB, free: 5.672 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.948e-05/0.01469, allocations: 55.48 kB / 0.9933 GB, free: 5.617 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.517e-05/0.01474, allocations: 49.7 kB / 0.9934 GB, free: 5.562 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.01484, allocations: 334.8 kB / 0.9937 GB, free: 5.227 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.325e-05/0.0149, allocations: 31.98 kB / 0.9937 GB, free: 5.195 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.015, allocations: 145.6 kB / 0.9938 GB, free: 5.004 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001942/0.0152, allocations: 197.5 kB / 0.994 GB, free: 4.762 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.441e-06/0.0152, allocations: 4 kB / 0.994 GB, free: 4.758 MB / 0.948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002721/0.01548, allocations: 216 kB / 0.9942 GB, free: 4.543 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.0155, allocations: 10.34 kB / 0.9943 GB, free: 4.535 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.01551, allocations: 4 kB / 0.9943 GB, free: 4.531 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.01553, allocations: 4 kB / 0.9943 GB, free: 4.527 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.01567, allocations: 59.91 kB / 0.9943 GB, free: 4.469 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.01568, allocations: 8 kB / 0.9943 GB, free: 4.461 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.25e-05/0.01576, allocations: 31.72 kB / 0.9944 GB, free: 4.43 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.01578, allocations: 12.34 kB / 0.9944 GB, free: 4.418 MB / 0.948 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 8.696e-05/0.01586, allocations: 141.7 kB / 0.9945 GB, free: 4.27 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.996e-05/0.01589, allocations: 15.91 kB / 0.9945 GB, free: 4.254 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002193/0.01611, allocations: 158.8 kB / 0.9947 GB, free: 4.086 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.01612, allocations: 0 / 0.9947 GB, free: 4.086 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.01612, allocations: 0 / 0.9947 GB, free: 4.086 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.01613, allocations: 3.938 kB / 0.9947 GB, free: 4.082 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001637/0.01629, allocations: 184.7 kB / 0.9948 GB, free: 3.859 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.0163, allocations: 0 / 0.9948 GB, free: 3.859 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.181e-05/0.01636, allocations: 27.98 kB / 0.9949 GB, free: 3.832 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.01636, allocations: 4 kB / 0.9949 GB, free: 3.828 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.106e-06/0.01637, allocations: 8 kB / 0.9949 GB, free: 3.82 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.01637, allocations: 0 / 0.9949 GB, free: 3.82 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.01637, allocations: 3.938 kB / 0.9949 GB, free: 3.816 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001738/0.01655, allocations: 227.3 kB / 0.9951 GB, free: 3.578 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.758e-05/0.01659, allocations: 27.88 kB / 0.9951 GB, free: 3.551 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.01661, allocations: 8 kB / 0.9951 GB, free: 3.543 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.01672, allocations: 11.98 kB / 0.9952 GB, free: 3.531 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.994e-05/0.01674, allocations: 11.98 kB / 0.9952 GB, free: 3.52 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.01675, allocations: 15.92 kB / 0.9952 GB, free: 3.504 MB / 0.948 GB Notification: Performance of sorting global known variables: time 6.224e-05/0.01682, allocations: 118.3 kB / 0.9953 GB, free: 3.391 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01682, allocations: 4 kB / 0.9953 GB, free: 3.387 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000293/0.01711, allocations: 87.8 kB / 0.9954 GB, free: 3.301 MB / 0.948 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.0005554/0.01766, allocations: 0.8359 MB / 0.9962 GB, free: 2.438 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002001/0.01786, allocations: 112 kB / 0.9963 GB, free: 2.328 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01787, allocations: 4 kB / 0.9963 GB, free: 2.324 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.972e-05/0.01791, allocations: 39.92 kB / 0.9963 GB, free: 2.285 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/0.0182, allocations: 52.62 kB / 0.9964 GB, free: 2.234 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001764/0.01996, allocations: 2.01 MB / 0.9984 GB, free: 60 kB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.055e-05/0.02003, allocations: 95.34 kB / 0.9984 GB, free: 15.95 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001147/0.02015, allocations: 49.73 kB / 0.9985 GB, free: 15.9 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.955e-05/0.02021, allocations: 52.42 kB / 0.9985 GB, free: 15.85 MB / 0.9636 GB Notification: Performance of SimCode: time 5.91e-07/0.02021, allocations: 0 / 0.9985 GB, free: 15.85 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0171/0.03731, allocations: 6.241 MB / 1.005 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.52/6.558, allocations: 3.984 kB / 1.005 GB, free: 9.828 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_12_Buildings.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Examples.WaterProperties_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Media_Examples_WaterProperties.fmu > Buildings_12_Buildings.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.429416012018919]