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.001332/0.001332, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001482/0.001482, allocations: 210.5 kB / 22.24 MB, free: 5.262 MB / 14.72 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 1.597/1.597, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.338/3.338, allocations: 0.4892 GB / 0.7943 GB, free: 35.68 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002097/0.002097, allocations: 77.77 kB / 1.153 GB, free: 25.89 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.395/0.3971, allocations: 176.1 MB / 1.325 GB, free: 2.496 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.008446/0.4056, allocations: 4.522 MB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003639/0.4092, allocations: 2.457 MB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001688/0.4094, allocations: 3.938 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003131/0.4097, allocations: 47.69 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003594/0.4101, allocations: 87.42 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001529/0.4116, allocations: 0.5366 MB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003754/0.412, allocations: 227.9 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.214e-05/0.412, allocations: 13.75 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003185/0.4123, allocations: 123.5 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/0.4125, allocations: 79.66 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.169e-05/0.4125, allocations: 8 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007795/0.4133, allocations: 311.4 kB / 1.333 GB, free: 10.06 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.208e-05/0.4134, allocations: 39.89 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.4135, allocations: 79.7 kB / 1.333 GB, free: 9.945 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008733/0.4144, allocations: 359 kB / 1.334 GB, free: 9.594 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.4144, allocations: 0 / 1.334 GB, free: 9.594 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.352e-06/0.4144, allocations: 0 / 1.334 GB, free: 9.594 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.298e-05/0.4144, allocations: 0 / 1.334 GB, free: 9.594 MB / 1.029 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.000972/0.4154, allocations: 449.4 kB / 1.334 GB, free: 9.121 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.4154, allocations: 8.031 kB / 1.334 GB, free: 9.113 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.366e-05/0.4155, allocations: 50.73 kB / 1.334 GB, free: 9.055 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001838/0.4157, allocations: 20.84 kB / 1.334 GB, free: 9.035 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000358/0.416, allocations: 162.2 kB / 1.334 GB, free: 8.852 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.4161, allocations: 12.7 kB / 1.334 GB, free: 8.84 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.667e-05/0.4161, allocations: 12.38 kB / 1.334 GB, free: 8.828 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000595/0.4167, allocations: 495.2 kB / 1.335 GB, free: 8.27 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.4167, allocations: 4 kB / 1.335 GB, free: 8.266 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.295e-05/0.4167, allocations: 4 kB / 1.335 GB, free: 8.262 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.33e-05/0.4167, allocations: 8 kB / 1.335 GB, free: 8.254 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005833/0.4173, allocations: 419.5 kB / 1.335 GB, free: 7.844 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001313/0.4186, allocations: 0.8241 MB / 1.336 GB, free: 6.961 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004141/0.4191, allocations: 145.7 kB / 1.336 GB, free: 6.809 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.4192, allocations: 52.89 kB / 1.336 GB, free: 6.754 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008498/0.42, allocations: 451.9 kB / 1.337 GB, free: 6.293 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/0.4201, allocations: 34.56 kB / 1.337 GB, free: 6.25 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/0.4201, allocations: 3.938 kB / 1.337 GB, free: 6.246 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0004032/0.4205, allocations: 149.4 kB / 1.337 GB, free: 6.094 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.4205, allocations: 55.41 kB / 1.337 GB, free: 6.027 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.4207, allocations: 176.1 kB / 1.337 GB, free: 5.844 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.035e-05/0.4207, allocations: 33.7 kB / 1.337 GB, free: 5.805 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.4208, allocations: 144.1 kB / 1.337 GB, free: 5.66 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.295e-05/0.4209, allocations: 59.5 kB / 1.337 GB, free: 5.602 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.421, allocations: 53.66 kB / 1.337 GB, free: 5.543 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.4212, allocations: 322.8 kB / 1.338 GB, free: 5.219 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.345e-05/0.4213, allocations: 35.98 kB / 1.338 GB, free: 5.184 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001721/0.4214, allocations: 140.2 kB / 1.338 GB, free: 5 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000288/0.4217, allocations: 201.5 kB / 1.338 GB, free: 4.754 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.4217, allocations: 0 / 1.338 GB, free: 4.754 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003866/0.4221, allocations: 217.1 kB / 1.338 GB, free: 4.535 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.4221, allocations: 4 kB / 1.338 GB, free: 4.531 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/0.4221, allocations: 4.469 kB / 1.338 GB, free: 4.527 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.777e-05/0.4222, allocations: 15.94 kB / 1.338 GB, free: 4.512 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/0.4224, allocations: 55.91 kB / 1.338 GB, free: 4.457 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.4224, allocations: 4 kB / 1.338 GB, free: 4.453 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.4225, allocations: 27.78 kB / 1.338 GB, free: 4.426 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.633e-05/0.4225, allocations: 27.86 kB / 1.338 GB, free: 4.398 MB / 1.029 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.0001533/0.4227, allocations: 130.2 kB / 1.339 GB, free: 4.262 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.828e-05/0.4228, allocations: 15.91 kB / 1.339 GB, free: 4.246 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003586/0.4231, allocations: 164.7 kB / 1.339 GB, free: 4.078 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/0.4231, allocations: 3.938 kB / 1.339 GB, free: 4.074 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.4231, allocations: 4 kB / 1.339 GB, free: 4.07 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.4231, allocations: 7.984 kB / 1.339 GB, free: 4.062 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003013/0.4234, allocations: 176.6 kB / 1.339 GB, free: 3.848 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.4234, allocations: 4 kB / 1.339 GB, free: 3.844 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.4236, allocations: 31.98 kB / 1.339 GB, free: 3.812 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.4236, allocations: 0 / 1.339 GB, free: 3.812 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.4236, allocations: 0 / 1.339 GB, free: 3.812 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-06/0.4236, allocations: 7.938 kB / 1.339 GB, free: 3.805 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.4236, allocations: 0 / 1.339 GB, free: 3.805 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002941/0.4239, allocations: 219.4 kB / 1.339 GB, free: 3.574 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.976e-05/0.424, allocations: 31.86 kB / 1.339 GB, free: 3.543 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.175e-05/0.424, allocations: 8 kB / 1.339 GB, free: 3.535 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/0.4242, allocations: 15.92 kB / 1.339 GB, free: 3.52 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.893e-05/0.4243, allocations: 11.98 kB / 1.339 GB, free: 3.508 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.386e-05/0.4243, allocations: 15.92 kB / 1.339 GB, free: 3.492 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001154/0.4244, allocations: 120 kB / 1.339 GB, free: 3.375 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4244, allocations: 0 / 1.339 GB, free: 3.375 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005087/0.4249, allocations: 79.81 kB / 1.339 GB, free: 3.297 MB / 1.029 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.001188/0.4261, allocations: 0.8321 MB / 1.34 GB, free: 2.441 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003647/0.4265, allocations: 111.7 kB / 1.34 GB, free: 2.332 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.4265, allocations: 4.875 kB / 1.34 GB, free: 2.328 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.801e-05/0.4265, allocations: 39.92 kB / 1.34 GB, free: 2.289 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005268/0.4271, allocations: 53.77 kB / 1.34 GB, free: 2.238 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003064/0.4301, allocations: 2.049 MB / 1.342 GB, free: 20 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001813/0.4303, allocations: 107.2 kB / 1.343 GB, free: 15.89 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002135/0.4305, allocations: 49.78 kB / 1.343 GB, free: 15.84 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.4306, allocations: 47.42 kB / 1.343 GB, free: 15.8 MB / 1.045 GB Notification: Performance of SimCode: time 7.32e-07/0.4306, allocations: 0 / 1.343 GB, free: 15.8 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04261/0.4732, allocations: 6.101 MB / 1.349 GB, free: 9.898 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/12.02, allocations: 11.97 kB / 1.349 GB, free: 9.891 MB / 1.045 GB " [Timeout remaining time 288] (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/jenkins1/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: 19.05448153289035]