Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_9_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.001233/0.001233, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00123/0.00123, allocations: 197.9 kB / 16.14 MB, free: 6.719 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.252/1.252, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.26/2.26, allocations: 390.2 MB / 0.6643 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 59.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5173/0.5186, allocations: 140.4 MB / 0.949 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.004388/0.523, allocations: 4.758 MB / 0.9537 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002055/0.5251, allocations: 2.723 MB / 0.9563 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.646e-05/0.5252, allocations: 1.125 kB / 0.9563 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002746/0.5255, allocations: 43 kB / 0.9564 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002254/0.5257, allocations: 86.62 kB / 0.9565 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.5269, allocations: 453.4 kB / 0.9569 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003093/0.5272, allocations: 308.9 kB / 0.9572 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.701e-05/0.5273, allocations: 10.06 kB / 0.9572 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001806/0.5274, allocations: 112.6 kB / 0.9573 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.5276, allocations: 93.12 kB / 0.9574 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/0.5276, allocations: 3.562 kB / 0.9574 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007025/0.5283, allocations: 376.5 kB / 0.9578 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.586e-05/0.5284, allocations: 39.7 kB / 0.9578 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.5285, allocations: 83.58 kB / 0.9579 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005483/0.5291, allocations: 349.9 kB / 0.9582 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.5291, allocations: 0 / 0.9582 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.994e-06/0.5291, allocations: 0 / 0.9582 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.5291, allocations: 5.469 kB / 0.9582 GB, free: 1.879 MB / 0.7169 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.0006556/0.5298, allocations: 0.5045 MB / 0.9587 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.5298, allocations: 10 kB / 0.9587 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.479e-05/0.5299, allocations: 57.2 kB / 0.9588 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001516/0.53, allocations: 22.81 kB / 0.9588 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.5302, allocations: 211.5 kB / 0.959 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.5302, allocations: 16.52 kB / 0.959 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.5302, allocations: 13.56 kB / 0.959 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003115/0.5305, allocations: 249.1 kB / 0.9593 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.5306, allocations: 5.125 kB / 0.9593 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.205e-05/0.5306, allocations: 11.42 kB / 0.9593 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.423e-05/0.5306, allocations: 13.02 kB / 0.9593 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003994/0.531, allocations: 425.2 kB / 0.9597 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008939/0.5319, allocations: 0.9488 MB / 0.9606 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002731/0.5322, allocations: 162.8 kB / 0.9608 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.79e-05/0.5323, allocations: 58.83 kB / 0.9608 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001162/0.5335, allocations: 1.824 MB / 0.9626 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.5335, allocations: 44.72 kB / 0.9627 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.192e-06/0.5335, allocations: 0 / 0.9627 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0003046/0.5338, allocations: 149.4 kB / 0.9628 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.5339, allocations: 52.47 kB / 0.9628 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.534, allocations: 179.3 kB / 0.963 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.534, allocations: 34.92 kB / 0.963 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.848e-05/0.5341, allocations: 139.7 kB / 0.9632 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.175e-05/0.5341, allocations: 47.05 kB / 0.9632 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.271e-05/0.5342, allocations: 52.23 kB / 0.9633 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.702e-05/0.5343, allocations: 326.3 kB / 0.9636 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.568e-05/0.5344, allocations: 33.64 kB / 0.9636 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.5345, allocations: 145 kB / 0.9638 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002088/0.5347, allocations: 197.8 kB / 0.9639 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.5347, allocations: 1.062 kB / 0.9639 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003078/0.535, allocations: 225.1 kB / 0.9642 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.5351, allocations: 6.5 kB / 0.9642 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/0.5351, allocations: 3.375 kB / 0.9642 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.5351, allocations: 9.062 kB / 0.9642 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.5353, allocations: 52.36 kB / 0.9642 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.198e-06/0.5353, allocations: 5.094 kB / 0.9642 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.5354, allocations: 33.83 kB / 0.9643 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.5354, allocations: 18.81 kB / 0.9643 GB, free: 12.13 MB / 0.7325 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.696e-05/0.5355, allocations: 136.8 kB / 0.9644 GB, free: 12 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.932e-05/0.5356, allocations: 12.38 kB / 0.9644 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002823/0.5359, allocations: 160.7 kB / 0.9646 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/0.5359, allocations: 6.312 kB / 0.9646 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.5359, allocations: 3.984 kB / 0.9646 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.5359, allocations: 1.156 kB / 0.9646 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002157/0.5362, allocations: 213.1 kB / 0.9648 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.5362, allocations: 1.125 kB / 0.9648 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.515e-05/0.5363, allocations: 22.92 kB / 0.9648 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.5363, allocations: 1.156 kB / 0.9648 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.5363, allocations: 5.438 kB / 0.9648 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/0.5363, allocations: 4.906 kB / 0.9648 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.5363, allocations: 7.922 kB / 0.9648 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002204/0.5365, allocations: 223.7 kB / 0.9651 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.828e-05/0.5366, allocations: 118.6 kB / 0.9652 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.5366, allocations: 0 / 0.9652 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/0.5368, allocations: 20.7 kB / 0.9652 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.254e-05/0.5369, allocations: 9.297 kB / 0.9652 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-05/0.5369, allocations: 15.14 kB / 0.9652 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.384e-05/0.537, allocations: 119 kB / 0.9653 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.537, allocations: 0 / 0.9653 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003607/0.5374, allocations: 70.62 kB / 0.9654 GB, free: 11.2 MB / 0.7325 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.0006454/0.538, allocations: 0.8362 MB / 0.9662 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002011/0.5382, allocations: 127.8 kB / 0.9663 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.5382, allocations: 3.219 kB / 0.9663 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.909e-05/0.5383, allocations: 44.77 kB / 0.9664 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004301/0.5387, allocations: 63.56 kB / 0.9664 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.5407, allocations: 2.06 MB / 0.9684 GB, free: 8.527 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/0.5409, allocations: 0.7164 MB / 0.9691 GB, free: 7.812 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001658/0.5411, allocations: 42.94 kB / 0.9692 GB, free: 7.793 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.623e-05/0.5411, allocations: 49.42 kB / 0.9692 GB, free: 7.758 MB / 0.7325 GB Notification: Performance of SimCode: time 3.61e-07/0.5411, allocations: 0 / 0.9692 GB, free: 7.758 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3261/0.8672, allocations: 4.987 MB / 0.9741 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002596/0.8675, allocations: 183.9 kB / 0.9743 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.765/2.633, allocations: 0 / 0.9743 GB, free: 5.012 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_9_Buildings.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.WaterProperties_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Examples_WaterProperties.fmu > Buildings_9_Buildings.Media.Examples.WaterProperties.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.WaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches