Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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: translateModel(Buildings.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, 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.001165/0.001165, allocations: 195.9 kB / 16.14 MB, free: 6.711 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.47/1.47, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.763/2.763, allocations: 461.8 MB / 0.7342 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 64.59 kB / 0.8984 GB, free: 37.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4053/0.4067, allocations: 157.4 MB / 1.052 GB, free: 8.883 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.006799/0.4135, allocations: 4.481 MB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003019/0.4166, allocations: 2.718 MB / 1.059 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.599e-05/0.4167, allocations: 4 kB / 1.059 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003092/0.4171, allocations: 39.73 kB / 1.059 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002831/0.4174, allocations: 91.48 kB / 1.059 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.4186, allocations: 443.3 kB / 1.06 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004119/0.419, allocations: 307.8 kB / 1.06 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.069e-05/0.4191, allocations: 17.55 kB / 1.06 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001069/0.4202, allocations: 398.8 kB / 1.06 GB, free: 384 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.4203, allocations: 87.66 kB / 1.06 GB, free: 296 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.652e-05/0.4203, allocations: 8 kB / 1.06 GB, free: 288 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001076/0.4214, allocations: 0.4911 MB / 1.061 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.276e-05/0.4215, allocations: 39.89 kB / 1.061 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.129e-05/0.4216, allocations: 75.59 kB / 1.061 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005685/0.4222, allocations: 355.4 kB / 1.061 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.4222, allocations: 0 / 1.061 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.91e-07/0.4222, allocations: 0 / 1.061 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.4222, allocations: 0 / 1.061 GB, free: 15.33 MB / 0.8262 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.0007326/0.4229, allocations: 0.4992 MB / 1.062 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.423, allocations: 12.03 kB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001608/0.4231, allocations: 20.75 kB / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002107/0.4234, allocations: 212.1 kB / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.4234, allocations: 12.7 kB / 1.062 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.548e-05/0.4234, allocations: 16.38 kB / 1.062 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003616/0.4238, allocations: 253 kB / 1.062 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.4238, allocations: 0 / 1.062 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.649e-05/0.4238, allocations: 15.98 kB / 1.062 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.175e-05/0.4239, allocations: 7.938 kB / 1.062 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004773/0.4244, allocations: 439.4 kB / 1.063 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.4255, allocations: 0.9998 MB / 1.064 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002774/0.4257, allocations: 152.6 kB / 1.064 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.4259, allocations: 68.88 kB / 1.064 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001366/0.4272, allocations: 1.821 MB / 1.066 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.4273, allocations: 34.56 kB / 1.066 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.342e-06/0.4273, allocations: 0 / 1.066 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.0003242/0.4276, allocations: 141.4 kB / 1.066 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.4277, allocations: 63.34 kB / 1.066 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.4278, allocations: 168 kB / 1.066 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.298e-05/0.4279, allocations: 33.7 kB / 1.066 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.725e-05/0.4279, allocations: 139.8 kB / 1.066 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.786e-05/0.428, allocations: 51.2 kB / 1.066 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.881e-05/0.4281, allocations: 53.61 kB / 1.066 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.4282, allocations: 330.8 kB / 1.067 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.855e-05/0.4283, allocations: 43.91 kB / 1.067 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.4284, allocations: 138.2 kB / 1.067 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002476/0.4287, allocations: 203.9 kB / 1.067 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.4287, allocations: 0 / 1.067 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003134/0.429, allocations: 213.2 kB / 1.067 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.429, allocations: 4 kB / 1.067 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.429, allocations: 8 kB / 1.067 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.4291, allocations: 8.469 kB / 1.067 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.4292, allocations: 59.86 kB / 1.067 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/0.4293, allocations: 11.97 kB / 1.067 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.4294, allocations: 27.69 kB / 1.067 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.53e-05/0.4294, allocations: 16 kB / 1.067 GB, free: 8.371 MB / 0.8262 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 0.0001109/0.4296, allocations: 133.7 kB / 1.068 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.774e-05/0.4296, allocations: 15.81 kB / 1.068 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003023/0.4299, allocations: 166 kB / 1.068 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.4299, allocations: 7.938 kB / 1.068 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.4299, allocations: 4 kB / 1.068 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.43, allocations: 0 / 1.068 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002326/0.4302, allocations: 209.5 kB / 1.068 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.4302, allocations: 3.984 kB / 1.068 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.701e-05/0.4303, allocations: 27.94 kB / 1.068 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.4303, allocations: 0 / 1.068 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.4303, allocations: 7.969 kB / 1.068 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.4303, allocations: 3.938 kB / 1.068 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.4303, allocations: 4 kB / 1.068 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/0.4306, allocations: 219.3 kB / 1.068 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.616e-05/0.4307, allocations: 101 kB / 1.068 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.624e-05/0.4307, allocations: 3.984 kB / 1.068 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002094/0.4309, allocations: 19.92 kB / 1.068 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.498e-05/0.431, allocations: 15.92 kB / 1.068 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.116e-05/0.431, allocations: 11.98 kB / 1.068 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.68e-05/0.4311, allocations: 120 kB / 1.068 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4311, allocations: 4 kB / 1.068 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004083/0.4315, allocations: 79.91 kB / 1.069 GB, free: 7.141 MB / 0.8262 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.0003881/0.4319, allocations: 171.1 kB / 1.069 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002214/0.4321, allocations: 124.5 kB / 1.069 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.4321, allocations: 0 / 1.069 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.433e-05/0.4322, allocations: 43.97 kB / 1.069 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004601/0.4327, allocations: 51.91 kB / 1.069 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007104/0.4334, allocations: 400 kB / 1.069 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/0.4337, allocations: 0.7131 MB / 1.07 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000176/0.4339, allocations: 49.73 kB / 1.07 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.454e-05/0.4339, allocations: 23.44 kB / 1.07 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.4339, allocations: 0 / 1.07 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of Templates: time 0.006519/0.4404, allocations: 3.242 MB / 1.073 GB, free: 2.316 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & ./Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches