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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.00103/0.00103, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.13/2.13, allocations: 390.2 MB / 0.6647 GB, free: 488 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 63.89 kB / 0.8126 GB, free: 14.4 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5837/0.5851, allocations: 140.4 MB / 0.9497 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.004633/0.5898, allocations: 4.436 MB / 0.954 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001949/0.5917, allocations: 2.692 MB / 0.9567 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.5e-05/0.5918, allocations: 2.094 kB / 0.9567 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002111/0.592, allocations: 47 kB / 0.9567 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002025/0.5923, allocations: 90.45 kB / 0.9568 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008064/0.5931, allocations: 499.3 kB / 0.9573 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001834/0.5933, allocations: 239.2 kB / 0.9575 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.766e-05/0.5933, allocations: 9.188 kB / 0.9575 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007163/0.594, allocations: 411.8 kB / 0.9579 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.38e-05/0.5941, allocations: 89.3 kB / 0.958 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.5942, allocations: 12.03 kB / 0.958 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007419/0.5949, allocations: 490 kB / 0.9585 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.263e-05/0.595, allocations: 37.09 kB / 0.9585 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.546e-05/0.5951, allocations: 79.61 kB / 0.9586 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004798/0.5955, allocations: 355.8 kB / 0.9589 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.5956, allocations: 0 / 0.9589 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5956, allocations: 0 / 0.9589 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.5956, allocations: 1.062 kB / 0.9589 GB, free: 2.07 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.0005539/0.5961, allocations: 0.4977 MB / 0.9594 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.5962, allocations: 9.469 kB / 0.9594 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.365e-05/0.5962, allocations: 52.86 kB / 0.9595 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001418/0.5964, allocations: 21.78 kB / 0.9595 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.5965, allocations: 207.9 kB / 0.9597 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.5965, allocations: 15.39 kB / 0.9597 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.5966, allocations: 22.98 kB / 0.9597 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002974/0.5969, allocations: 251.7 kB / 0.96 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.5969, allocations: 0.8438 kB / 0.96 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/0.5969, allocations: 7.094 kB / 0.96 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.174e-05/0.5969, allocations: 5.344 kB / 0.96 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004102/0.5973, allocations: 430.1 kB / 0.9604 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008033/0.5982, allocations: 1.012 MB / 0.9614 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002715/0.5984, allocations: 165.5 kB / 0.9615 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.786e-05/0.5985, allocations: 60.42 kB / 0.9616 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001224/0.5998, allocations: 1.815 MB / 0.9634 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.5998, allocations: 36.78 kB / 0.9634 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.132e-06/0.5998, allocations: 0 / 0.9634 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0003047/0.6001, allocations: 150.7 kB / 0.9635 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.6002, allocations: 54.12 kB / 0.9636 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.6003, allocations: 173.5 kB / 0.9638 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.6003, allocations: 35.8 kB / 0.9638 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.922e-05/0.6004, allocations: 134.3 kB / 0.9639 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.046e-05/0.6005, allocations: 62.27 kB / 0.964 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.169e-05/0.6005, allocations: 49.2 kB / 0.964 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.6007, allocations: 326 kB / 0.9643 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.407e-05/0.6007, allocations: 38.02 kB / 0.9644 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.6009, allocations: 137.4 kB / 0.9645 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002173/0.6011, allocations: 197.8 kB / 0.9647 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.6011, allocations: 5.188 kB / 0.9647 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002907/0.6014, allocations: 216.3 kB / 0.9649 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.6014, allocations: 6.406 kB / 0.9649 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.6014, allocations: 4.312 kB / 0.9649 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.6015, allocations: 13.19 kB / 0.9649 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.6016, allocations: 55.81 kB / 0.965 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.6016, allocations: 5 kB / 0.965 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.6018, allocations: 28.69 kB / 0.965 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.6018, allocations: 14.36 kB / 0.965 GB, free: 12.27 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.654e-05/0.6019, allocations: 134.7 kB / 0.9652 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.974e-05/0.6019, allocations: 16.75 kB / 0.9652 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002693/0.6022, allocations: 149.9 kB / 0.9653 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.6022, allocations: 10.5 kB / 0.9653 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.6022, allocations: 4 kB / 0.9653 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.6023, allocations: 3.938 kB / 0.9653 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/0.6025, allocations: 222.5 kB / 0.9655 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.6025, allocations: 0 / 0.9655 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.211e-05/0.6026, allocations: 22.64 kB / 0.9656 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.6026, allocations: 5.062 kB / 0.9656 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.6026, allocations: 6.344 kB / 0.9656 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.6026, allocations: 3.938 kB / 0.9656 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.6026, allocations: 1.094 kB / 0.9656 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002203/0.6028, allocations: 224.9 kB / 0.9658 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.634e-05/0.6029, allocations: 109.9 kB / 0.9659 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.603, allocations: 1.062 kB / 0.9659 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/0.6032, allocations: 19.67 kB / 0.9659 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.009e-05/0.6032, allocations: 9.391 kB / 0.9659 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.6032, allocations: 10.16 kB / 0.9659 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.212e-05/0.6033, allocations: 119.5 kB / 0.966 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6033, allocations: 4 kB / 0.9661 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003836/0.6037, allocations: 85.41 kB / 0.9661 GB, free: 11.32 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.0006396/0.6043, allocations: 0.8249 MB / 0.9669 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002194/0.6046, allocations: 126.2 kB / 0.9671 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.6046, allocations: 1.25 kB / 0.9671 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.598e-05/0.6047, allocations: 47.62 kB / 0.9671 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004149/0.6051, allocations: 62.55 kB / 0.9672 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00196/0.607, allocations: 2.027 MB / 0.9691 GB, free: 8.707 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/0.6073, allocations: 0.7127 MB / 0.9698 GB, free: 7.996 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001815/0.6075, allocations: 48.33 kB / 0.9699 GB, free: 7.969 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.19e-05/0.6076, allocations: 45.17 kB / 0.9699 GB, free: 7.938 MB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/0.6076, allocations: 0 / 0.9699 GB, free: 7.938 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8524/1.46, allocations: 5.125 MB / 0.9749 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.43/9.89, allocations: 9.812 kB / 0.9749 GB, free: 5.312 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