Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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: 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_9_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_9_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.00174/0.00174, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002287/0.002287, allocations: 195 kB / 16.25 MB, free: 6.633 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.46/1.46, allocations: 222.9 MB / 239.9 MB, free: 4.539 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.351/2.351, allocations: 390.2 MB / 0.6643 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 67.91 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6994/0.7008, allocations: 140.3 MB / 0.9491 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.2087/0.9095, allocations: 173.7 MB / 1.119 GB, free: 3.781 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01049/0.92, allocations: 8.633 MB / 1.127 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009174/0.921, allocations: 23.81 kB / 1.127 GB, free: 11.1 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0009055/0.9219, allocations: 250.4 kB / 1.127 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0008291/0.9228, allocations: 282.7 kB / 1.128 GB, free: 10.58 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.9239, allocations: 338.9 kB / 1.128 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001196/0.9251, allocations: 1.156 MB / 1.129 GB, free: 9.086 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007705/0.9259, allocations: 0.5529 MB / 1.13 GB, free: 8.531 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004728/0.9306, allocations: 2.005 MB / 1.132 GB, free: 6.52 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004725/0.9311, allocations: 374.4 kB / 1.132 GB, free: 6.152 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.606e-05/0.9312, allocations: 44 kB / 1.132 GB, free: 6.109 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002097/0.9314, allocations: 75.97 kB / 1.132 GB, free: 6.035 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002548/0.9316, allocations: 255.3 kB / 1.132 GB, free: 5.785 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002686/0.9319, allocations: 286.5 kB / 1.133 GB, free: 5.504 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0006355/0.9326, allocations: 0.6112 MB / 1.133 GB, free: 4.891 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.9326, allocations: 0 / 1.133 GB, free: 4.891 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.984e-06/0.9326, allocations: 0 / 1.133 GB, free: 4.891 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.447e-06/0.9326, allocations: 0 / 1.133 GB, free: 4.891 MB / 0.8887 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.001037/0.9337, allocations: 0.8223 MB / 1.134 GB, free: 4.02 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.9337, allocations: 12.03 kB / 1.134 GB, free: 4.008 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.9338, allocations: 67.19 kB / 1.134 GB, free: 3.941 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005182/0.9343, allocations: 410.2 kB / 1.134 GB, free: 3.5 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.49e-05/0.9344, allocations: 45.25 kB / 1.134 GB, free: 3.457 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.316e-05/0.9345, allocations: 55.98 kB / 1.135 GB, free: 3.402 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009978/0.9355, allocations: 0.6989 MB / 1.135 GB, free: 2.617 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.9355, allocations: 3.938 kB / 1.135 GB, free: 2.613 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.575e-05/0.9356, allocations: 24 kB / 1.135 GB, free: 2.59 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.94e-05/0.9356, allocations: 31.92 kB / 1.135 GB, free: 2.559 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006206/0.9362, allocations: 383.3 kB / 1.136 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002544/0.9388, allocations: 3.215 MB / 1.139 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002675/0.9391, allocations: 226.1 kB / 1.139 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002053/0.9393, allocations: 132.5 kB / 1.139 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.9393, allocations: 4 kB / 1.139 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.9394, allocations: 42.5 kB / 1.139 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.9394, allocations: 0 / 1.139 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0006833/0.9401, allocations: 252.5 kB / 1.139 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001252/0.9402, allocations: 295.9 kB / 1.14 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007427/0.9409, allocations: 0.6917 MB / 1.14 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.343e-05/0.941, allocations: 29.7 kB / 1.14 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002044/0.9412, allocations: 264.2 kB / 1.141 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.794e-05/0.9412, allocations: 35.88 kB / 1.141 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.574e-05/0.9413, allocations: 29.7 kB / 1.141 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001841/0.9415, allocations: 366.8 kB / 1.141 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.9416, allocations: 39.84 kB / 1.141 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.9418, allocations: 101.1 kB / 1.141 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002408/0.942, allocations: 125 kB / 1.141 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.942, allocations: 0 / 1.141 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003421/0.9424, allocations: 188.9 kB / 1.141 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.9424, allocations: 12.03 kB / 1.141 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.9424, allocations: 3.938 kB / 1.141 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.9425, allocations: 4 kB / 1.142 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002196/0.9427, allocations: 39.89 kB / 1.142 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.9427, allocations: 4 kB / 1.142 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/0.9429, allocations: 63.42 kB / 1.142 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.611e-05/0.943, allocations: 15.98 kB / 1.142 GB, free: 11.62 MB / 0.9044 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.0002011/0.9432, allocations: 197.8 kB / 1.142 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002085/0.9434, allocations: 59.25 kB / 1.142 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.281e-05/0.9435, allocations: 64.25 kB / 1.142 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.9435, allocations: 4 kB / 1.142 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.9435, allocations: 4 kB / 1.142 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.9435, allocations: 4 kB / 1.142 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001421/0.9449, allocations: 1.301 MB / 1.143 GB, free: 9.887 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.945, allocations: 8.031 kB / 1.143 GB, free: 9.879 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001866/0.9452, allocations: 39.95 kB / 1.143 GB, free: 9.84 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.9452, allocations: 3.938 kB / 1.143 GB, free: 9.836 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.9452, allocations: 8 kB / 1.143 GB, free: 9.828 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.758e-06/0.9452, allocations: 4 kB / 1.143 GB, free: 9.824 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.9452, allocations: 4 kB / 1.143 GB, free: 9.82 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004275/0.9456, allocations: 342.5 kB / 1.144 GB, free: 9.441 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001468/0.9458, allocations: 152.3 kB / 1.144 GB, free: 9.273 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.79e-05/0.9459, allocations: 4 kB / 1.144 GB, free: 9.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001923/0.9461, allocations: 19.98 kB / 1.144 GB, free: 9.25 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.286e-05/0.9461, allocations: 19.86 kB / 1.144 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.9461, allocations: 4 kB / 1.144 GB, free: 9.227 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005405/0.9467, allocations: 0.4951 MB / 1.144 GB, free: 8.738 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9467, allocations: 0 / 1.144 GB, free: 8.738 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003869/0.9471, allocations: 80 kB / 1.144 GB, free: 8.66 MB / 0.9044 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.0003325/0.9474, allocations: 140.2 kB / 1.144 GB, free: 8.523 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003171/0.9477, allocations: 107.8 kB / 1.145 GB, free: 8.418 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.9478, allocations: 4 kB / 1.145 GB, free: 8.414 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.9479, allocations: 56.83 kB / 1.145 GB, free: 8.359 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001415/0.9493, allocations: 281.8 kB / 1.145 GB, free: 8.086 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.9506, allocations: 1.017 MB / 1.146 GB, free: 7.016 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004953/0.9512, allocations: 0.9088 MB / 1.147 GB, free: 6.082 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002527/0.9514, allocations: 104.6 kB / 1.147 GB, free: 5.977 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.236e-05/0.9515, allocations: 35.44 kB / 1.147 GB, free: 5.941 MB / 0.9044 GB Notification: Performance of SimCode: time 5.51e-07/0.9515, allocations: 4 kB / 1.147 GB, free: 5.938 MB / 0.9044 GB Notification: Performance of Templates: time 0.01595/0.9674, allocations: 8.327 MB / 1.155 GB, free: 13.74 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches