Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|proSouXi.port_b.h_outflow|proSouH.port_b.h_outflow|proSouC.port_b.h_outflow|proSouXi.port_a.h_outflow|proSouH.port_a.h_outflow|proSouC.port_a.h_outflow|proSouXi.port_b.Xi_outflow.1.|proSouH.port_b.Xi_outflow.1.|proSouC.port_b.Xi_outflow.1.|proSouXi.port_a.Xi_outflow.1.|proSouH.port_a.Xi_outflow.1.|proSouC.port_a.Xi_outflow.1.|proSouH.port_a.C_outflow.1.|proSouH.port_b.C_outflow.1.|proSouC.port_a.C_outflow.1.|proSouC.port_b.C_outflow.1.|proSouXi.port_a.C_outflow.1.|proSouXi.port_b.C_outflow.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h") translateModel(Buildings.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|proSouXi.port_b.h_outflow|proSouH.port_b.h_outflow|proSouC.port_b.h_outflow|proSouXi.port_a.h_outflow|proSouH.port_a.h_outflow|proSouC.port_a.h_outflow|proSouXi.port_b.Xi_outflow.1.|proSouH.port_b.Xi_outflow.1.|proSouC.port_b.Xi_outflow.1.|proSouXi.port_a.Xi_outflow.1.|proSouH.port_a.Xi_outflow.1.|proSouC.port_a.Xi_outflow.1.|proSouH.port_a.C_outflow.1.|proSouH.port_b.C_outflow.1.|proSouC.port_a.C_outflow.1.|proSouC.port_b.C_outflow.1.|proSouXi.port_a.C_outflow.1.|proSouXi.port_b.C_outflow.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001998/0.001998, allocations: 104.6 kB / 16.27 MB, free: 6.414 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.002113/0.002113, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.376/1.376, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.715/2.715, allocations: 482.4 MB / 0.7553 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 72.59 kB / 0.9245 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7543/0.7563, allocations: 162.2 MB / 1.083 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.2108/0.9672, allocations: 176 MB / 1.255 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01059/0.9778, allocations: 8.718 MB / 1.263 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006904/0.9786, allocations: 19.88 kB / 1.263 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000808/0.9794, allocations: 297.8 kB / 1.264 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0007849/0.9802, allocations: 302.4 kB / 1.264 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009857/0.9812, allocations: 371.1 kB / 1.264 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001263/0.9825, allocations: 1.137 MB / 1.265 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008562/0.9834, allocations: 0.5921 MB / 1.266 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004637/0.988, allocations: 2.058 MB / 1.268 GB, free: 0.8203 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004792/0.9885, allocations: 338.5 kB / 1.268 GB, free: 500 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.123e-05/0.9886, allocations: 40 kB / 1.268 GB, free: 460 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002207/0.9888, allocations: 75.95 kB / 1.268 GB, free: 384 kB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000263/0.9891, allocations: 251.4 kB / 1.269 GB, free: 132 kB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003216/0.9894, allocations: 286.4 kB / 1.269 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007025/0.9902, allocations: 0.6112 MB / 1.27 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.9902, allocations: 8 kB / 1.27 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.9902, allocations: 0 / 1.27 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.235e-06/0.9902, allocations: 4 kB / 1.27 GB, free: 15.22 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.00109/0.9913, allocations: 0.8107 MB / 1.27 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.9913, allocations: 8.031 kB / 1.27 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001226/0.9915, allocations: 71.09 kB / 1.27 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005485/0.992, allocations: 414.2 kB / 1.271 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.199e-05/0.9921, allocations: 45.3 kB / 1.271 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.726e-05/0.9921, allocations: 52 kB / 1.271 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/0.9932, allocations: 0.7027 MB / 1.272 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.9932, allocations: 3.938 kB / 1.272 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.094e-05/0.9933, allocations: 24 kB / 1.272 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.473e-05/0.9934, allocations: 35.92 kB / 1.272 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006429/0.994, allocations: 375.4 kB / 1.272 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002789/0.9968, allocations: 3.235 MB / 1.275 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000289/0.9971, allocations: 226.4 kB / 1.275 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002081/0.9973, allocations: 128.6 kB / 1.275 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.9974, allocations: 0 / 1.275 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/0.9974, allocations: 54.44 kB / 1.276 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 2.986e-06/0.9974, allocations: 7.984 kB / 1.276 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0007108/0.9981, allocations: 249.7 kB / 1.276 GB, free: 8.359 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001641/0.9983, allocations: 290.7 kB / 1.276 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007923/0.9991, allocations: 0.6839 MB / 1.277 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.9991, allocations: 33.64 kB / 1.277 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002302/0.9994, allocations: 272.1 kB / 1.277 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.625e-05/0.9994, allocations: 35.58 kB / 1.277 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.876e-05/0.9995, allocations: 33.7 kB / 1.277 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.9997, allocations: 362.8 kB / 1.277 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.9998, allocations: 39.95 kB / 1.277 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/1, allocations: 93.11 kB / 1.278 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002513/1, allocations: 125 kB / 1.278 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/1, allocations: 8 kB / 1.278 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003531/1.001, allocations: 184.8 kB / 1.278 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/1.001, allocations: 6.031 kB / 1.278 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/1.001, allocations: 3.938 kB / 1.278 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/1.001, allocations: 4 kB / 1.278 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/1.001, allocations: 48.08 kB / 1.278 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/1.001, allocations: 0 / 1.278 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/1.001, allocations: 59.27 kB / 1.278 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.51e-05/1.001, allocations: 8 kB / 1.278 GB, free: 5.957 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * 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.0002098/1.001, allocations: 202.6 kB / 1.278 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002156/1.002, allocations: 59.34 kB / 1.278 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.198e-05/1.002, allocations: 60.27 kB / 1.278 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/1.002, allocations: 4 kB / 1.278 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/1.002, allocations: 11.98 kB / 1.278 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/1.002, allocations: 4 kB / 1.278 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001426/1.003, allocations: 1.297 MB / 1.28 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/1.003, allocations: 4 kB / 1.28 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/1.003, allocations: 43.89 kB / 1.28 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/1.003, allocations: 4 kB / 1.28 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/1.003, allocations: 0 / 1.28 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/1.003, allocations: 4 kB / 1.28 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/1.003, allocations: 4.281 kB / 1.28 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004294/1.004, allocations: 346.5 kB / 1.28 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001573/1.004, allocations: 156.3 kB / 1.28 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.59e-05/1.004, allocations: 4.094 kB / 1.28 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/1.004, allocations: 8 kB / 1.28 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.268e-05/1.004, allocations: 23.92 kB / 1.28 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/1.004, allocations: 8 kB / 1.28 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005613/1.005, allocations: 0.4912 MB / 1.281 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.005, allocations: 0 / 1.281 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003787/1.005, allocations: 79.91 kB / 1.281 GB, free: 3.004 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * 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.0003463/1.006, allocations: 143 kB / 1.281 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003201/1.006, allocations: 107.8 kB / 1.281 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/1.006, allocations: 0 / 1.281 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001438/1.006, allocations: 60.78 kB / 1.281 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/1.007, allocations: 280.1 kB / 1.281 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/1.009, allocations: 0.9366 MB / 1.282 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005292/1.009, allocations: 0.8972 MB / 1.283 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.93e-05/1.009, allocations: 35.44 kB / 1.283 GB, free: 476 kB / 0.9981 GB Notification: Performance of SimCode: time 2.7e-07/1.009, allocations: 4 kB / 1.283 GB, free: 472 kB / 0.9981 GB Notification: Performance of Templates: time 0.01245/1.022, allocations: 7.797 MB / 1.291 GB, free: 8.73 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches