Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterProperties",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.001496/0.001496, 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.00211/0.00211, allocations: 193.2 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.352/1.352, allocations: 222.9 MB / 239.8 MB, free: 4.621 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.264/2.264, allocations: 390.3 MB / 0.6643 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 59.91 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5169/0.5182, allocations: 140.4 MB / 0.949 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.004283/0.5225, allocations: 4.494 MB / 0.9534 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001877/0.5244, allocations: 2.705 MB / 0.9561 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.045e-05/0.5244, allocations: 0.9688 kB / 0.9561 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002039/0.5246, allocations: 37.84 kB / 0.9561 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001709/0.5248, allocations: 87.41 kB / 0.9562 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007332/0.5256, allocations: 455.3 kB / 0.9566 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001932/0.5258, allocations: 314.7 kB / 0.9569 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.632e-05/0.5258, allocations: 8.562 kB / 0.9569 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007327/0.5266, allocations: 397.4 kB / 0.9573 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.483e-05/0.5267, allocations: 90.81 kB / 0.9574 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.5267, allocations: 6.906 kB / 0.9574 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007544/0.5274, allocations: 0.4954 MB / 0.9579 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.139e-05/0.5275, allocations: 38.3 kB / 0.9579 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.29e-05/0.5276, allocations: 79.72 kB / 0.958 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004373/0.528, allocations: 357.2 kB / 0.9583 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.528, allocations: 1.375 kB / 0.9583 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.81e-07/0.528, allocations: 0 / 0.9583 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.5281, allocations: 0 / 0.9583 GB, free: 1.945 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.0005171/0.5286, allocations: 0.4923 MB / 0.9588 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.5286, allocations: 9.594 kB / 0.9588 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.841e-05/0.5287, allocations: 53.36 kB / 0.9589 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001395/0.5288, allocations: 26.09 kB / 0.9589 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.5289, allocations: 211 kB / 0.9591 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.529, allocations: 15.61 kB / 0.9591 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.529, allocations: 14.25 kB / 0.9591 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002987/0.5293, allocations: 248.9 kB / 0.9594 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.5293, allocations: 0 / 0.9594 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.5293, allocations: 15.84 kB / 0.9594 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.154e-05/0.5294, allocations: 4.75 kB / 0.9594 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004104/0.5298, allocations: 438.1 kB / 0.9598 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007955/0.5306, allocations: 0.999 MB / 0.9608 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002655/0.5309, allocations: 165.3 kB / 0.9609 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.648e-05/0.531, allocations: 60.58 kB / 0.961 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001171/0.5321, allocations: 1.827 MB / 0.9628 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.5322, allocations: 36.84 kB / 0.9628 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.5322, allocations: 0 / 0.9628 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0003/0.5325, allocations: 144.4 kB / 0.963 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.5325, allocations: 57.47 kB / 0.963 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.5327, allocations: 170.3 kB / 0.9632 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.5327, allocations: 35.95 kB / 0.9632 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.716e-05/0.5328, allocations: 138.6 kB / 0.9633 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.544e-05/0.5328, allocations: 57.97 kB / 0.9634 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.305e-05/0.5329, allocations: 49.67 kB / 0.9634 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.085e-05/0.533, allocations: 326 kB / 0.9637 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.543e-05/0.533, allocations: 29.58 kB / 0.9638 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.5332, allocations: 147.2 kB / 0.9639 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002087/0.5334, allocations: 195.4 kB / 0.9641 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.5334, allocations: 1.031 kB / 0.9641 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003086/0.5337, allocations: 217.4 kB / 0.9643 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.5337, allocations: 5.938 kB / 0.9643 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.5337, allocations: 7.516 kB / 0.9643 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.5338, allocations: 9.75 kB / 0.9643 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.5339, allocations: 51.8 kB / 0.9644 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.5339, allocations: 17.66 kB / 0.9644 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.5341, allocations: 29.53 kB / 0.9644 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.5341, allocations: 18.3 kB / 0.9644 GB, free: 12.14 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.533e-05/0.5342, allocations: 130.6 kB / 0.9646 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.903e-05/0.5342, allocations: 16.06 kB / 0.9646 GB, free: 12 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002767/0.5345, allocations: 152.4 kB / 0.9647 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/0.5345, allocations: 5.219 kB / 0.9647 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.5346, allocations: 1.031 kB / 0.9647 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.5346, allocations: 3.984 kB / 0.9647 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002179/0.5348, allocations: 218.2 kB / 0.9649 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.5348, allocations: 4 kB / 0.965 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.069e-05/0.5349, allocations: 30.8 kB / 0.965 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.5349, allocations: 1.062 kB / 0.965 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.5349, allocations: 6.219 kB / 0.965 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/0.5349, allocations: 3.938 kB / 0.965 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.5349, allocations: 1.188 kB / 0.965 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002097/0.5351, allocations: 221 kB / 0.9652 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.792e-05/0.5352, allocations: 110.6 kB / 0.9653 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.5353, allocations: 4 kB / 0.9653 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.5355, allocations: 20.8 kB / 0.9653 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.518e-05/0.5355, allocations: 12.2 kB / 0.9653 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.5355, allocations: 10.25 kB / 0.9654 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.919e-05/0.5356, allocations: 132.3 kB / 0.9655 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5356, allocations: 0 / 0.9655 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003646/0.536, allocations: 77.66 kB / 0.9656 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.0006265/0.5366, allocations: 0.8218 MB / 0.9664 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002052/0.5369, allocations: 129 kB / 0.9665 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.5369, allocations: 0 / 0.9665 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.544e-05/0.5369, allocations: 45.11 kB / 0.9665 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004204/0.5374, allocations: 57.16 kB / 0.9666 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001903/0.5393, allocations: 2.063 MB / 0.9686 GB, free: 8.547 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/0.5395, allocations: 0.7126 MB / 0.9693 GB, free: 7.836 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000162/0.5397, allocations: 48.5 kB / 0.9693 GB, free: 7.809 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.798e-05/0.5397, allocations: 49.11 kB / 0.9694 GB, free: 7.773 MB / 0.7325 GB Notification: Performance of SimCode: time 3e-07/0.5397, allocations: 3.938 kB / 0.9694 GB, free: 7.77 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4223/0.962, allocations: 4.918 MB / 0.9742 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002055/0.9623, allocations: 202.9 kB / 0.9744 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.184/3.147, allocations: 0.8438 kB / 0.9744 GB, free: 5.07 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterProperties.fmu > Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches