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.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: 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.001414/0.001414, allocations: 100.1 kB / 15.88 MB, free: 8 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.001595/0.001595, allocations: 197.8 kB / 16.79 MB, free: 6.828 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.432/1.432, allocations: 222.9 MB / 240.5 MB, free: 4.645 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.294/2.294, allocations: 390.2 MB / 0.6649 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.001501, allocations: 63.91 kB / 0.8125 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7086/0.7101, allocations: 140.4 MB / 0.9496 GB, free: 9.262 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1916/0.9018, allocations: 173.8 MB / 1.119 GB, free: 3.812 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01078/0.9126, allocations: 8.696 MB / 1.128 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009479/0.9136, allocations: 15.88 kB / 1.128 GB, free: 11.08 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001033/0.9146, allocations: 246.3 kB / 1.128 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001066/0.9158, allocations: 290.7 kB / 1.128 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.917, allocations: 338.9 kB / 1.129 GB, free: 10.22 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001842/0.9188, allocations: 1.616 MB / 1.13 GB, free: 8.598 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009185/0.9197, allocations: 0.5083 MB / 1.131 GB, free: 8.09 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005165/0.9249, allocations: 1.923 MB / 1.133 GB, free: 6.16 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000725/0.9257, allocations: 366.3 kB / 1.133 GB, free: 5.801 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.00012/0.9258, allocations: 32 kB / 1.133 GB, free: 5.77 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003531/0.9262, allocations: 67.97 kB / 1.133 GB, free: 5.703 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003832/0.9266, allocations: 243.3 kB / 1.133 GB, free: 5.465 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005525/0.9271, allocations: 278.5 kB / 1.133 GB, free: 5.191 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0008076/0.9279, allocations: 455.1 kB / 1.134 GB, free: 4.746 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.928, allocations: 4 kB / 1.134 GB, free: 4.742 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.264e-06/0.928, allocations: 4 kB / 1.134 GB, free: 4.738 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.014e-05/0.928, allocations: 0 / 1.134 GB, free: 4.738 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.001619/0.9297, allocations: 0.8223 MB / 1.135 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.8e-05/0.9297, allocations: 12.03 kB / 1.135 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000171/0.9299, allocations: 67.19 kB / 1.135 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006506/0.9306, allocations: 414.2 kB / 1.135 GB, free: 3.344 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.812e-05/0.9306, allocations: 45.3 kB / 1.135 GB, free: 3.301 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.57e-05/0.9307, allocations: 52 kB / 1.135 GB, free: 3.25 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/0.9318, allocations: 0.7105 MB / 1.136 GB, free: 2.453 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.9318, allocations: 3.938 kB / 1.136 GB, free: 2.449 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.101e-05/0.9319, allocations: 24 kB / 1.136 GB, free: 2.426 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-05/0.9319, allocations: 31.91 kB / 1.136 GB, free: 2.395 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006785/0.9326, allocations: 383.4 kB / 1.136 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002824/0.9355, allocations: 3.215 MB / 1.14 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000261/0.9357, allocations: 230 kB / 1.14 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001889/0.9359, allocations: 132.5 kB / 1.14 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.936, allocations: 4 kB / 1.14 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/0.936, allocations: 42.5 kB / 1.14 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 1.733e-06/0.936, allocations: 0 / 1.14 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0007172/0.9367, allocations: 252.5 kB / 1.14 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001278/0.9369, allocations: 291.9 kB / 1.14 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007828/0.9377, allocations: 0.6917 MB / 1.141 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.9377, allocations: 25.7 kB / 1.141 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002108/0.9379, allocations: 272.2 kB / 1.141 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.594e-05/0.938, allocations: 31.55 kB / 1.141 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-05/0.938, allocations: 25.72 kB / 1.141 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.9382, allocations: 366.8 kB / 1.142 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.9383, allocations: 35.97 kB / 1.142 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001634/0.9385, allocations: 105.4 kB / 1.142 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/0.9387, allocations: 125 kB / 1.142 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.9387, allocations: 0 / 1.142 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003571/0.9391, allocations: 196.7 kB / 1.142 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.9391, allocations: 8.188 kB / 1.142 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.9391, allocations: 3.938 kB / 1.142 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.9392, allocations: 4 kB / 1.142 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002222/0.9394, allocations: 43.89 kB / 1.142 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.9394, allocations: 0 / 1.142 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002494/0.9397, allocations: 59.36 kB / 1.142 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.72e-05/0.9397, allocations: 15.98 kB / 1.142 GB, free: 11.46 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.0002061/0.9399, allocations: 193.8 kB / 1.143 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002139/0.9401, allocations: 63.25 kB / 1.143 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.892e-05/0.9402, allocations: 64.25 kB / 1.143 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.9402, allocations: 4 kB / 1.143 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.9402, allocations: 4 kB / 1.143 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.9403, allocations: 4 kB / 1.143 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001359/0.9416, allocations: 1.304 MB / 1.144 GB, free: 9.719 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.9416, allocations: 4.281 kB / 1.144 GB, free: 9.715 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001853/0.9418, allocations: 48.02 kB / 1.144 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.9418, allocations: 0 / 1.144 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.9419, allocations: 4 kB / 1.144 GB, free: 9.664 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.233e-06/0.9419, allocations: 8.125 kB / 1.144 GB, free: 9.656 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/0.9419, allocations: 4 kB / 1.144 GB, free: 9.652 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003908/0.9423, allocations: 342.4 kB / 1.144 GB, free: 9.273 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001683/0.9425, allocations: 156.3 kB / 1.145 GB, free: 9.102 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.376e-05/0.9425, allocations: 4 kB / 1.145 GB, free: 9.098 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/0.9427, allocations: 11.98 kB / 1.145 GB, free: 9.086 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.309e-05/0.9428, allocations: 19.86 kB / 1.145 GB, free: 9.066 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.9428, allocations: 12 kB / 1.145 GB, free: 9.055 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005408/0.9433, allocations: 0.4912 MB / 1.145 GB, free: 8.566 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9433, allocations: 0 / 1.145 GB, free: 8.566 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003982/0.9437, allocations: 76 kB / 1.145 GB, free: 8.492 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.0003855/0.9441, allocations: 140.8 kB / 1.145 GB, free: 8.355 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003178/0.9445, allocations: 103.8 kB / 1.145 GB, free: 8.254 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.9445, allocations: 0 / 1.145 GB, free: 8.254 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.9446, allocations: 67.83 kB / 1.145 GB, free: 8.188 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/0.9461, allocations: 268.9 kB / 1.146 GB, free: 7.93 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/0.9476, allocations: 1.063 MB / 1.147 GB, free: 6.801 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005659/0.9482, allocations: 0.9052 MB / 1.148 GB, free: 5.871 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.778e-05/0.9482, allocations: 35.44 kB / 1.148 GB, free: 5.836 MB / 0.9044 GB Notification: Performance of SimCode: time 3.71e-07/0.9482, allocations: 0 / 1.148 GB, free: 5.836 MB / 0.9044 GB Notification: Performance of Templates: time 0.01324/0.9615, allocations: 7.784 MB / 1.155 GB, free: 14.12 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/jenkins1/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