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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007241/0.007241, allocations: 96.66 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00211/0.00211, allocations: 192.2 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.207/1.207, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.249/2.249, allocations: 437.1 MB / 0.7106 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001588, allocations: 64.05 kB / 1.018 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2286, allocations: 151.6 MB / 1.166 GB, free: 7.176 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.00518/0.2338, allocations: 4.717 MB / 1.171 GB, free: 2.422 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002591/0.2364, allocations: 2.691 MB / 1.173 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.252e-05/0.2365, allocations: 0 / 1.173 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001971/0.2367, allocations: 55.67 kB / 1.174 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002038/0.2369, allocations: 95.34 kB / 1.174 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008872/0.2378, allocations: 0.501 MB / 1.174 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000226/0.238, allocations: 235.9 kB / 1.174 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.734e-05/0.2381, allocations: 21.48 kB / 1.174 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001595/0.2382, allocations: 115.6 kB / 1.174 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.2384, allocations: 95.58 kB / 1.175 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.264e-05/0.2384, allocations: 8 kB / 1.175 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000578/0.239, allocations: 359.3 kB / 1.175 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.982e-05/0.239, allocations: 39.89 kB / 1.175 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.836e-05/0.2391, allocations: 79.64 kB / 1.175 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005019/0.2396, allocations: 363.1 kB / 1.175 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.2397, allocations: 8 kB / 1.175 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2397, allocations: 0 / 1.175 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.2397, allocations: 0 / 1.175 GB, free: 13.77 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.0006305/0.2403, allocations: 0.5024 MB / 1.176 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.2403, allocations: 12.03 kB / 1.176 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.755e-05/0.2404, allocations: 50.73 kB / 1.176 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001357/0.2405, allocations: 28.83 kB / 1.176 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.2408, allocations: 208.2 kB / 1.176 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.2408, allocations: 12.7 kB / 1.176 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.2408, allocations: 16.38 kB / 1.176 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003331/0.2411, allocations: 244.1 kB / 1.176 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.2412, allocations: 3.938 kB / 1.176 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.2412, allocations: 4 kB / 1.176 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.038e-05/0.2412, allocations: 8 kB / 1.176 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004586/0.2417, allocations: 427.5 kB / 1.177 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00099/0.2427, allocations: 0.9527 MB / 1.178 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002537/0.2429, allocations: 169.6 kB / 1.178 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.758e-05/0.243, allocations: 72.8 kB / 1.178 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001301/0.2443, allocations: 1.821 MB / 1.18 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.2444, allocations: 34.56 kB / 1.18 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=15): time 1.152e-06/0.2444, allocations: 4 kB / 1.18 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15): time 0.0002839/0.2447, allocations: 151.3 kB / 1.18 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.2447, allocations: 59.34 kB / 1.18 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.2449, allocations: 172.9 kB / 1.18 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.2449, allocations: 29.7 kB / 1.18 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.207e-05/0.245, allocations: 144.1 kB / 1.18 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.712e-05/0.245, allocations: 55.56 kB / 1.18 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.877e-05/0.2451, allocations: 49.7 kB / 1.18 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.2452, allocations: 326.8 kB / 1.181 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.756e-05/0.2453, allocations: 35.98 kB / 1.181 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.2454, allocations: 150.6 kB / 1.181 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002227/0.2456, allocations: 201.5 kB / 1.181 GB, free: 7.148 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.2457, allocations: 0 / 1.181 GB, free: 7.148 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002938/0.246, allocations: 215.3 kB / 1.181 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.246, allocations: 8.469 kB / 1.181 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.246, allocations: 8 kB / 1.181 GB, free: 6.918 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.246, allocations: 15.92 kB / 1.181 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.2462, allocations: 51.92 kB / 1.181 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.2462, allocations: 7.938 kB / 1.181 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.339e-05/0.2463, allocations: 23.78 kB / 1.181 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.2463, allocations: 16 kB / 1.181 GB, free: 6.805 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 9.987e-05/0.2464, allocations: 133.7 kB / 1.182 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.351e-05/0.2465, allocations: 15.91 kB / 1.182 GB, free: 6.648 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002606/0.2467, allocations: 159 kB / 1.182 GB, free: 6.484 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.2467, allocations: 3.938 kB / 1.182 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.2467, allocations: 4 kB / 1.182 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2468, allocations: 0 / 1.182 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002219/0.247, allocations: 209.6 kB / 1.182 GB, free: 6.223 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.247, allocations: 0 / 1.182 GB, free: 6.223 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.673e-05/0.2471, allocations: 31.92 kB / 1.182 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2471, allocations: 0 / 1.182 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.2471, allocations: 0 / 1.182 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.2471, allocations: 11.88 kB / 1.182 GB, free: 6.18 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.2471, allocations: 0 / 1.182 GB, free: 6.18 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/0.2474, allocations: 225.2 kB / 1.182 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.393e-05/0.2474, allocations: 108.9 kB / 1.182 GB, free: 5.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.2475, allocations: 11.94 kB / 1.182 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.2477, allocations: 11.92 kB / 1.182 GB, free: 5.797 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.367e-05/0.2477, allocations: 15.98 kB / 1.182 GB, free: 5.781 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.2477, allocations: 4 kB / 1.182 GB, free: 5.777 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.904e-05/0.2478, allocations: 132.9 kB / 1.182 GB, free: 5.648 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2478, allocations: 0 / 1.182 GB, free: 5.648 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003261/0.2481, allocations: 79.88 kB / 1.183 GB, free: 5.57 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.0006495/0.2488, allocations: 0.837 MB / 1.183 GB, free: 4.703 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002012/0.249, allocations: 114.5 kB / 1.183 GB, free: 4.594 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.249, allocations: 0 / 1.183 GB, free: 4.594 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.346e-05/0.2491, allocations: 40.86 kB / 1.184 GB, free: 4.555 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00037/0.2495, allocations: 65.55 kB / 1.184 GB, free: 4.492 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/0.2514, allocations: 2.042 MB / 1.186 GB, free: 2.281 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.2517, allocations: 0.7128 MB / 1.186 GB, free: 1.543 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001361/0.2519, allocations: 41.83 kB / 1.186 GB, free: 1.5 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.488e-05/0.2519, allocations: 47.42 kB / 1.186 GB, free: 1.453 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.2519, allocations: 0 / 1.186 GB, free: 1.453 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.471/2.723, allocations: 5.243 MB / 1.191 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/14.92, allocations: 8.594 kB / 1.191 GB, free: 12.3 MB / 0.9512 GB (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 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Media_Examples_WaterProperties.fmu > Buildings_10_Buildings.Media.Examples.WaterProperties.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.WaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches