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.001062/0.001061, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001177/0.001177, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 223.3 MB / 240 MB, free: 5.363 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.538/2.538, allocations: 390.9 MB / 0.666 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0006236/0.0006238, allocations: 12 kB / 0.8154 GB, free: 13.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7317/0.7323, allocations: 142.4 MB / 0.9544 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1771/0.9095, allocations: 160 MB / 1.111 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.009416/0.9189, allocations: 8.076 MB / 1.119 GB, free: 7.043 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006918/0.9197, allocations: 15.88 kB / 1.119 GB, free: 7.027 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0007/0.9204, allocations: 214.4 kB / 1.119 GB, free: 6.816 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0007119/0.9211, allocations: 294.6 kB / 1.119 GB, free: 6.527 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009034/0.922, allocations: 304.5 kB / 1.119 GB, free: 6.234 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001325/0.9234, allocations: 1.363 MB / 1.121 GB, free: 4.863 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006371/0.924, allocations: 436.3 kB / 1.121 GB, free: 4.438 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00409/0.9281, allocations: 1.474 MB / 1.122 GB, free: 2.957 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005069/0.9286, allocations: 334.5 kB / 1.123 GB, free: 2.629 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 6.966e-05/0.9287, allocations: 24 kB / 1.123 GB, free: 2.605 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002075/0.9289, allocations: 55.97 kB / 1.123 GB, free: 2.551 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002387/0.9292, allocations: 235.4 kB / 1.123 GB, free: 2.32 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.9293, allocations: 125.4 kB / 1.123 GB, free: 2.191 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0004618/0.9298, allocations: 458.9 kB / 1.124 GB, free: 1.742 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.9298, allocations: 3.938 kB / 1.124 GB, free: 1.738 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.785e-06/0.9298, allocations: 4 kB / 1.124 GB, free: 1.734 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.9298, allocations: 3.938 kB / 1.124 GB, free: 1.73 MB / 0.8731 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.0009347/0.9308, allocations: 0.7172 MB / 1.124 GB, free: 0.9648 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.9308, allocations: 8.031 kB / 1.124 GB, free: 0.957 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.9309, allocations: 63.25 kB / 1.124 GB, free: 0.8945 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004937/0.9314, allocations: 406.4 kB / 1.125 GB, free: 472 kB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.301e-05/0.9315, allocations: 45.3 kB / 1.125 GB, free: 428 kB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.97e-05/0.9315, allocations: 56 kB / 1.125 GB, free: 372 kB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.9325, allocations: 0.6988 MB / 1.126 GB, free: 15.58 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.9326, allocations: 3.938 kB / 1.126 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.831e-05/0.9326, allocations: 31.94 kB / 1.126 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.594e-05/0.9327, allocations: 27.98 kB / 1.126 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006063/0.9333, allocations: 379.4 kB / 1.126 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002458/0.9358, allocations: 3.223 MB / 1.129 GB, free: 11.78 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002508/0.936, allocations: 226.1 kB / 1.129 GB, free: 11.46 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000189/0.9362, allocations: 140.5 kB / 1.13 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.9363, allocations: 0 / 1.13 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.9363, allocations: 54.48 kB / 1.13 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=10): time 1.042e-06/0.9363, allocations: 0 / 1.13 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of matching and sorting (n=10): time 0.0006755/0.937, allocations: 261.4 kB / 1.13 GB, free: 10.97 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/0.9371, allocations: 291.1 kB / 1.13 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007167/0.9378, allocations: 0.6877 MB / 1.131 GB, free: 9.922 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.9379, allocations: 29.7 kB / 1.131 GB, free: 9.887 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002018/0.9381, allocations: 268.2 kB / 1.131 GB, free: 9.621 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.392e-05/0.9381, allocations: 31.55 kB / 1.131 GB, free: 9.59 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-06/0.9381, allocations: 0 / 1.131 GB, free: 9.59 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.9383, allocations: 370.8 kB / 1.131 GB, free: 9.219 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.9384, allocations: 43.97 kB / 1.131 GB, free: 9.176 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/0.9386, allocations: 101 kB / 1.132 GB, free: 9.059 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.9387, allocations: 51.97 kB / 1.132 GB, free: 9.008 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.9387, allocations: 0 / 1.132 GB, free: 9.008 MB / 0.8887 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003252/0.939, allocations: 204.8 kB / 1.132 GB, free: 8.801 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.9391, allocations: 8 kB / 1.132 GB, free: 8.793 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.9391, allocations: 0 / 1.132 GB, free: 8.793 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.9391, allocations: 4 kB / 1.132 GB, free: 8.789 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000218/0.9393, allocations: 56.2 kB / 1.132 GB, free: 8.734 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.9393, allocations: 0 / 1.132 GB, free: 8.734 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002226/0.9396, allocations: 71.25 kB / 1.132 GB, free: 8.664 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.3e-05/0.9396, allocations: 8 kB / 1.132 GB, free: 8.656 MB / 0.8887 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002031/0.9398, allocations: 202.3 kB / 1.132 GB, free: 8.449 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002113/0.94, allocations: 63.25 kB / 1.132 GB, free: 8.387 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.411e-05/0.9401, allocations: 56.33 kB / 1.132 GB, free: 8.324 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.9401, allocations: 4 kB / 1.132 GB, free: 8.32 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.9401, allocations: 4.219 kB / 1.132 GB, free: 8.316 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/0.9401, allocations: 7.984 kB / 1.132 GB, free: 8.309 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001345/0.9415, allocations: 1.308 MB / 1.134 GB, free: 6.91 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.9415, allocations: 4 kB / 1.134 GB, free: 6.906 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/0.9417, allocations: 56.19 kB / 1.134 GB, free: 6.852 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.742e-06/0.9417, allocations: 4 kB / 1.134 GB, free: 6.848 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.9417, allocations: 4 kB / 1.134 GB, free: 6.844 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/0.9417, allocations: 3.938 kB / 1.134 GB, free: 6.84 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.9417, allocations: 4 kB / 1.134 GB, free: 6.836 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004016/0.9421, allocations: 342.5 kB / 1.134 GB, free: 6.457 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001496/0.9423, allocations: 152.3 kB / 1.134 GB, free: 6.289 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.939e-05/0.9424, allocations: 7.953 kB / 1.134 GB, free: 6.281 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.9426, allocations: 19.98 kB / 1.134 GB, free: 6.262 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.043e-05/0.9426, allocations: 15.92 kB / 1.134 GB, free: 6.246 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.575e-06/0.9426, allocations: 8 kB / 1.134 GB, free: 6.238 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005506/0.9432, allocations: 499 kB / 1.135 GB, free: 5.754 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9432, allocations: 0 / 1.135 GB, free: 5.754 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003858/0.9436, allocations: 79.94 kB / 1.135 GB, free: 5.676 MB / 0.8887 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003973/0.944, allocations: 144.3 kB / 1.135 GB, free: 5.535 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0003039/0.9443, allocations: 115.8 kB / 1.135 GB, free: 5.422 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.9443, allocations: 0 / 1.135 GB, free: 5.422 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001906/0.9445, allocations: 67.84 kB / 1.135 GB, free: 5.355 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001339/0.9459, allocations: 276.2 kB / 1.135 GB, free: 5.09 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.9473, allocations: 0.9669 MB / 1.136 GB, free: 4.059 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005112/0.9479, allocations: 0.9052 MB / 1.137 GB, free: 3.129 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.000294/0.9482, allocations: 104.6 kB / 1.137 GB, free: 3.027 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.377e-05/0.9482, allocations: 39.38 kB / 1.137 GB, free: 2.988 MB / 0.8887 GB Notification: Performance of SimCode: time 2.2e-07/0.9482, allocations: 0 / 1.137 GB, free: 2.988 MB / 0.8887 GB Notification: Performance of Templates: time 0.01442/0.9627, allocations: 7.769 MB / 1.145 GB, free: 11.35 MB / 0.9044 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