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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008597/0.0008596, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.005316/0.005316, allocations: 170.8 kB / 16.26 MB, free: 6.613 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.243/1.243, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.41/2.41, allocations: 437.8 MB / 0.7121 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002909/0.0002909, allocations: 8 kB / 0.8729 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4985/0.4988, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.004381/0.5032, allocations: 4.373 MB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002603/0.5058, allocations: 2.691 MB / 1.03 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.62e-05/0.5059, allocations: 0 / 1.03 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002012/0.5061, allocations: 39.8 kB / 1.03 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002139/0.5063, allocations: 83.48 kB / 1.03 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.5074, allocations: 474 kB / 1.031 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002783/0.5076, allocations: 299.9 kB / 1.031 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.295e-05/0.5077, allocations: 17.55 kB / 1.031 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001849/0.5079, allocations: 107.6 kB / 1.031 GB, free: 7.746 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.508, allocations: 91.66 kB / 1.031 GB, free: 7.656 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.508, allocations: 8 kB / 1.031 GB, free: 7.648 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006244/0.5087, allocations: 375.1 kB / 1.031 GB, free: 7.281 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.184e-05/0.5087, allocations: 39.83 kB / 1.031 GB, free: 7.242 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.334e-05/0.5088, allocations: 101.4 kB / 1.032 GB, free: 7.137 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005039/0.5093, allocations: 357.4 kB / 1.032 GB, free: 6.789 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.5094, allocations: 0 / 1.032 GB, free: 6.789 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.615e-06/0.5094, allocations: 0 / 1.032 GB, free: 6.789 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.5094, allocations: 3.938 kB / 1.032 GB, free: 6.785 MB / 0.7794 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.0005707/0.5099, allocations: 467.4 kB / 1.032 GB, free: 6.277 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.51, allocations: 12.03 kB / 1.032 GB, free: 6.266 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.09e-05/0.51, allocations: 62.67 kB / 1.032 GB, free: 6.195 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.5102, allocations: 24.75 kB / 1.032 GB, free: 6.172 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.5104, allocations: 212 kB / 1.033 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.5104, allocations: 8.703 kB / 1.033 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.5104, allocations: 20.38 kB / 1.033 GB, free: 5.898 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003151/0.5107, allocations: 240.1 kB / 1.033 GB, free: 5.645 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.5108, allocations: 11.94 kB / 1.033 GB, free: 5.633 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.418e-05/0.5108, allocations: 8 kB / 1.033 GB, free: 5.625 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.277e-05/0.5108, allocations: 11.94 kB / 1.033 GB, free: 5.613 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004267/0.5112, allocations: 431.3 kB / 1.033 GB, free: 5.191 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009732/0.5122, allocations: 0.945 MB / 1.034 GB, free: 4.156 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002463/0.5125, allocations: 153.5 kB / 1.034 GB, free: 4 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.198e-05/0.5126, allocations: 66.41 kB / 1.034 GB, free: 3.934 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001179/0.5138, allocations: 1.821 MB / 1.036 GB, free: 1.754 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.5138, allocations: 46.48 kB / 1.036 GB, free: 1.699 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.163e-06/0.5138, allocations: 0 / 1.036 GB, free: 1.699 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0002733/0.5141, allocations: 151.6 kB / 1.036 GB, free: 1.547 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.5141, allocations: 51.41 kB / 1.037 GB, free: 1.484 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.5143, allocations: 169.4 kB / 1.037 GB, free: 1.309 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.5143, allocations: 33.7 kB / 1.037 GB, free: 1.27 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.377e-05/0.5144, allocations: 147.7 kB / 1.037 GB, free: 1.121 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.352e-05/0.5144, allocations: 55.2 kB / 1.037 GB, free: 1.066 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.265e-05/0.5144, allocations: 25.7 kB / 1.037 GB, free: 1.035 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.41e-05/0.5145, allocations: 322.8 kB / 1.037 GB, free: 0.7109 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.025e-05/0.5146, allocations: 35.98 kB / 1.037 GB, free: 0.6758 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.5147, allocations: 145.6 kB / 1.037 GB, free: 496 kB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/0.5149, allocations: 193.5 kB / 1.038 GB, free: 252 kB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.5149, allocations: 0 / 1.038 GB, free: 252 kB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002889/0.5152, allocations: 218.7 kB / 1.038 GB, free: 28 kB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.5153, allocations: 11.98 kB / 1.038 GB, free: 16 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.5153, allocations: 7.984 kB / 1.038 GB, free: 8 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.5153, allocations: 7.938 kB / 1.038 GB, free: 0 / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.5155, allocations: 51.92 kB / 1.038 GB, free: 15.95 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.5155, allocations: 7.938 kB / 1.038 GB, free: 15.94 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.5156, allocations: 28.17 kB / 1.038 GB, free: 15.91 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.5156, allocations: 16 kB / 1.038 GB, free: 15.9 MB / 0.795 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.609e-05/0.5157, allocations: 134.2 kB / 1.038 GB, free: 15.76 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.061e-05/0.5158, allocations: 11.91 kB / 1.038 GB, free: 15.75 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002544/0.516, allocations: 151 kB / 1.038 GB, free: 15.6 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.516, allocations: 7.938 kB / 1.038 GB, free: 15.59 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.516, allocations: 3.938 kB / 1.038 GB, free: 15.59 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.5161, allocations: 3.984 kB / 1.038 GB, free: 15.58 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002117/0.5163, allocations: 209.6 kB / 1.038 GB, free: 15.33 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.5163, allocations: 0 / 1.038 GB, free: 15.33 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.299e-05/0.5164, allocations: 31.92 kB / 1.038 GB, free: 15.3 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.5164, allocations: 0 / 1.038 GB, free: 15.3 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.5164, allocations: 8 kB / 1.038 GB, free: 15.29 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.5164, allocations: 3.938 kB / 1.038 GB, free: 15.29 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.5164, allocations: 0 / 1.038 GB, free: 15.29 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002061/0.5166, allocations: 220.7 kB / 1.039 GB, free: 15.05 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 7.973e-05/0.5167, allocations: 116.8 kB / 1.039 GB, free: 14.92 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.5167, allocations: 8 kB / 1.039 GB, free: 14.91 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/0.5169, allocations: 19.92 kB / 1.039 GB, free: 14.89 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.398e-05/0.517, allocations: 11.98 kB / 1.039 GB, free: 14.88 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.266e-05/0.517, allocations: 23.91 kB / 1.039 GB, free: 14.86 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.391e-05/0.5171, allocations: 118.3 kB / 1.039 GB, free: 14.75 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5171, allocations: 0 / 1.039 GB, free: 14.75 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003514/0.5174, allocations: 75.98 kB / 1.039 GB, free: 14.67 MB / 0.795 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.0005973/0.5181, allocations: 0.8182 MB / 1.04 GB, free: 13.83 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001942/0.5183, allocations: 120.8 kB / 1.04 GB, free: 13.71 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5183, allocations: 4 kB / 1.04 GB, free: 13.71 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 6.089e-05/0.5183, allocations: 50.16 kB / 1.04 GB, free: 13.66 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004223/0.5188, allocations: 54.88 kB / 1.04 GB, free: 13.61 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/0.5207, allocations: 2.118 MB / 1.042 GB, free: 11.32 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.5209, allocations: 0.717 MB / 1.043 GB, free: 10.58 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001619/0.5211, allocations: 49.78 kB / 1.043 GB, free: 10.53 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.36e-05/0.5211, allocations: 47.42 kB / 1.043 GB, free: 10.48 MB / 0.795 GB Notification: Performance of SimCode: time 2.6e-07/0.5211, allocations: 0 / 1.043 GB, free: 10.48 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.589/2.11, allocations: 4.917 MB / 1.048 GB, free: 5.703 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002859/2.11, allocations: 187.3 kB / 1.048 GB, free: 5.445 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.558/4.668, allocations: 0 / 1.048 GB, free: 5.445 MB / 0.795 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=50 --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