Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.WaterProperties.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.001333/0.001333, allocations: 109.2 kB / 16.46 MB, free: 6.504 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.001337/0.001337, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.419/1.419, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.621/2.621, allocations: 443.5 MB / 0.7287 GB, free: 13.29 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Examples.WaterProperties,fileNamePrefix="Buildings_10_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_10_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 63.89 kB / 1.056 GB, free: 5.895 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7505/0.7525, allocations: 160.7 MB / 1.213 GB, free: 3.871 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.007562/0.76, allocations: 4.758 MB / 1.218 GB, free: 8 kB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004875/0.7649, allocations: 2.708 MB / 1.22 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002115/0.7651, allocations: 1.906 kB / 1.22 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004013/0.7655, allocations: 50.73 kB / 1.22 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004337/0.7659, allocations: 92.16 kB / 1.22 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001994/0.7679, allocations: 0.5111 MB / 1.221 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004232/0.7684, allocations: 236.2 kB / 1.221 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 7.901e-05/0.7684, allocations: 6.594 kB / 1.221 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003233/0.7688, allocations: 126 kB / 1.221 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001982/0.769, allocations: 90.41 kB / 1.221 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.118e-05/0.769, allocations: 15.41 kB / 1.221 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001074/0.7701, allocations: 370.3 kB / 1.222 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.7702, allocations: 42.16 kB / 1.222 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.7703, allocations: 80.06 kB / 1.222 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008673/0.7712, allocations: 362.1 kB / 1.222 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.7712, allocations: 0 / 1.222 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7712, allocations: 0.7188 kB / 1.222 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.762e-06/0.7712, allocations: 3.938 kB / 1.222 GB, free: 12.6 MB / 0.9356 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.00108/0.7722, allocations: 0.5015 MB / 1.223 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.662e-05/0.7723, allocations: 14.03 kB / 1.223 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.953e-05/0.7724, allocations: 53.7 kB / 1.223 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002417/0.7726, allocations: 21.06 kB / 1.223 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003945/0.773, allocations: 210 kB / 1.223 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.773, allocations: 10.95 kB / 1.223 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.421e-05/0.7731, allocations: 18.58 kB / 1.223 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005426/0.7736, allocations: 253.4 kB / 1.223 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.7736, allocations: 0.9062 kB / 1.223 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.505e-05/0.7737, allocations: 7.312 kB / 1.223 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.31e-05/0.7737, allocations: 13.3 kB / 1.223 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007467/0.7745, allocations: 429.2 kB / 1.224 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001727/0.7762, allocations: 0.9528 MB / 1.225 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003933/0.7766, allocations: 154.7 kB / 1.225 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/0.7767, allocations: 54.42 kB / 1.225 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002364/0.7791, allocations: 1.826 MB / 1.227 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.41e-05/0.7791, allocations: 37.88 kB / 1.227 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=15): time 2.044e-06/0.7791, allocations: 0 / 1.227 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15): time 0.000595/0.7797, allocations: 155.6 kB / 1.227 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/0.7798, allocations: 52.44 kB / 1.227 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002806/0.7801, allocations: 172 kB / 1.227 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.7801, allocations: 31.14 kB / 1.227 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.7802, allocations: 146.7 kB / 1.227 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.897e-05/0.7803, allocations: 55.25 kB / 1.227 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.995e-05/0.7804, allocations: 53.47 kB / 1.227 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001801/0.7806, allocations: 321.4 kB / 1.228 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.416e-05/0.7806, allocations: 37.22 kB / 1.228 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002165/0.7809, allocations: 146.2 kB / 1.228 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003357/0.7812, allocations: 202.2 kB / 1.228 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.7812, allocations: 1.844 kB / 1.228 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004677/0.7817, allocations: 216.1 kB / 1.228 GB, free: 6.891 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.7817, allocations: 6.469 kB / 1.228 GB, free: 6.891 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.7817, allocations: 3.281 kB / 1.228 GB, free: 6.891 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/0.7817, allocations: 13.53 kB / 1.228 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002597/0.782, allocations: 56.3 kB / 1.228 GB, free: 6.867 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.561e-05/0.782, allocations: 9.484 kB / 1.228 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/0.7822, allocations: 28.84 kB / 1.228 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.769e-05/0.7822, allocations: 19.34 kB / 1.228 GB, free: 6.836 MB / 0.9356 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.0002233/0.7824, allocations: 129.9 kB / 1.228 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.257e-05/0.7825, allocations: 16.03 kB / 1.228 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004231/0.7829, allocations: 157.2 kB / 1.228 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.9e-05/0.783, allocations: 10.58 kB / 1.229 GB, free: 6.59 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.783, allocations: 0 / 1.229 GB, free: 6.59 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.783, allocations: 0 / 1.229 GB, free: 6.59 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003723/0.7833, allocations: 206.2 kB / 1.229 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.7833, allocations: 4 kB / 1.229 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.7835, allocations: 27.52 kB / 1.229 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.7835, allocations: 1.5 kB / 1.229 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.7835, allocations: 1.594 kB / 1.229 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.005e-06/0.7835, allocations: 9.359 kB / 1.229 GB, free: 6.348 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.7835, allocations: 0 / 1.229 GB, free: 6.348 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003644/0.7839, allocations: 227.2 kB / 1.229 GB, free: 6.168 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/0.784, allocations: 113 kB / 1.229 GB, free: 6.047 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.35e-05/0.784, allocations: 9.438 kB / 1.229 GB, free: 6.039 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002923/0.7843, allocations: 15.98 kB / 1.229 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.272e-05/0.7844, allocations: 12.8 kB / 1.229 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.3e-05/0.7844, allocations: 11.17 kB / 1.229 GB, free: 6.02 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001383/0.7845, allocations: 119.5 kB / 1.229 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7845, allocations: 0 / 1.229 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0006341/0.7852, allocations: 77.69 kB / 1.229 GB, free: 5.906 MB / 0.9356 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.001064/0.7862, allocations: 0.8286 MB / 1.23 GB, free: 5.16 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003782/0.7866, allocations: 119.2 kB / 1.23 GB, free: 5.113 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.7866, allocations: 1.406 kB / 1.23 GB, free: 5.113 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.51e-05/0.7867, allocations: 41.14 kB / 1.23 GB, free: 5.098 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006111/0.7873, allocations: 60.66 kB / 1.23 GB, free: 5.062 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003231/0.7905, allocations: 2.032 MB / 1.232 GB, free: 3.285 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004224/0.791, allocations: 0.7154 MB / 1.233 GB, free: 2.57 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002445/0.7912, allocations: 51.95 kB / 1.233 GB, free: 2.539 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.7913, allocations: 45.52 kB / 1.233 GB, free: 2.508 MB / 0.9356 GB Notification: Performance of SimCode: time 7.51e-07/0.7913, allocations: 0 / 1.233 GB, free: 2.508 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03527/0.8266, allocations: 5.287 MB / 1.238 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.411/9.238, allocations: 8.781 kB / 1.238 GB, free: 13.35 MB / 0.9512 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_10_Buildings.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Examples.WaterProperties_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Media_Examples_WaterProperties.fmu > Buildings_10_Buildings.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.941075676120818]