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.00141/0.00141, allocations: 115.6 kB / 16.37 MB, free: 6.012 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.001551/0.001551, allocations: 191.6 kB / 17.31 MB, free: 5.613 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.384/1.384, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.262/2.262, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 62.59 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.258, allocations: 140.4 MB / 0.9511 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.6395/0.8976, allocations: 176 MB / 1.123 GB, free: 5.617 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.008438/0.9061, allocations: 8.711 MB / 1.131 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007663/0.9069, allocations: 20.44 kB / 1.132 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007347/0.9076, allocations: 299.7 kB / 1.132 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006969/0.9084, allocations: 305.3 kB / 1.132 GB, free: 5.387 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009579/0.9093, allocations: 377 kB / 1.132 GB, free: 5.375 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001088/0.9104, allocations: 1.155 MB / 1.134 GB, free: 5.367 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007561/0.9112, allocations: 0.5883 MB / 1.134 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004372/0.9156, allocations: 2.057 MB / 1.136 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004013/0.916, allocations: 349 kB / 1.136 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.531e-05/0.9161, allocations: 40.12 kB / 1.137 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002097/0.9163, allocations: 83.97 kB / 1.137 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002094/0.9165, allocations: 263.3 kB / 1.137 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002669/0.9168, allocations: 279.1 kB / 1.137 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005728/0.9174, allocations: 0.6337 MB / 1.138 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.9174, allocations: 3.938 kB / 1.138 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9174, allocations: 4 kB / 1.138 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.174e-05/0.9174, allocations: 0 / 1.138 GB, free: 4.945 MB / 0.8575 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.00106/0.9185, allocations: 0.8172 MB / 1.139 GB, free: 20.41 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.9185, allocations: 9.188 kB / 1.139 GB, free: 20.41 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.9186, allocations: 74.66 kB / 1.139 GB, free: 20.38 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006518/0.9193, allocations: 440.5 kB / 1.139 GB, free: 20.11 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.239e-05/0.9193, allocations: 43.45 kB / 1.139 GB, free: 20.11 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.538e-05/0.9194, allocations: 53.88 kB / 1.139 GB, free: 20.11 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008693/0.9203, allocations: 0.7056 MB / 1.14 GB, free: 19.84 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.9203, allocations: 10.53 kB / 1.14 GB, free: 19.83 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.122e-05/0.9203, allocations: 22.05 kB / 1.14 GB, free: 19.83 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.506e-05/0.9204, allocations: 42.45 kB / 1.14 GB, free: 19.82 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005733/0.921, allocations: 370.3 kB / 1.14 GB, free: 19.8 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002383/0.9234, allocations: 3.209 MB / 1.143 GB, free: 17.35 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.9235, allocations: 218 kB / 1.144 GB, free: 17.1 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001541/0.9237, allocations: 126.5 kB / 1.144 GB, free: 17.02 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.9237, allocations: 13.72 kB / 1.144 GB, free: 17.01 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.9238, allocations: 41.72 kB / 1.144 GB, free: 16.97 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=10): time 1.984e-06/0.9238, allocations: 336 / 1.144 GB, free: 16.97 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10): time 0.0006479/0.9244, allocations: 251 kB / 1.144 GB, free: 16.88 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001476/0.9246, allocations: 294.2 kB / 1.144 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006828/0.9253, allocations: 0.6937 MB / 1.145 GB, free: 16.4 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.9253, allocations: 28.2 kB / 1.145 GB, free: 16.37 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.9255, allocations: 267.8 kB / 1.145 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.675e-05/0.9255, allocations: 32.14 kB / 1.145 GB, free: 16.25 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.988e-05/0.9256, allocations: 30.62 kB / 1.145 GB, free: 16.24 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.9257, allocations: 367 kB / 1.146 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.9258, allocations: 41.36 kB / 1.146 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.926, allocations: 96.03 kB / 1.146 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002216/0.9262, allocations: 129.3 kB / 1.146 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.9262, allocations: 0 / 1.146 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003311/0.9265, allocations: 192.2 kB / 1.146 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.9266, allocations: 10.56 kB / 1.146 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.9266, allocations: 3 kB / 1.146 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.9266, allocations: 5.719 kB / 1.146 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.9268, allocations: 38.91 kB / 1.146 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.9268, allocations: 0.9688 kB / 1.146 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002168/0.9271, allocations: 54.47 kB / 1.146 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/0.9271, allocations: 9.828 kB / 1.146 GB, free: 15.7 MB / 0.8731 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.0002097/0.9273, allocations: 205.8 kB / 1.146 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002203/0.9275, allocations: 61.28 kB / 1.146 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.666e-05/0.9276, allocations: 62.41 kB / 1.147 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.9276, allocations: 5.688 kB / 1.147 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.9277, allocations: 3.875 kB / 1.147 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.9277, allocations: 4.312 kB / 1.147 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001472/0.9291, allocations: 1.298 MB / 1.148 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.9292, allocations: 1.375 kB / 1.148 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/0.9294, allocations: 55.61 kB / 1.148 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.9294, allocations: 3.062 kB / 1.148 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.9294, allocations: 6.547 kB / 1.148 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.9294, allocations: 2.969 kB / 1.148 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.9294, allocations: 2.094 kB / 1.148 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003811/0.9298, allocations: 335.9 kB / 1.148 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001658/0.93, allocations: 152.2 kB / 1.148 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.182e-05/0.93, allocations: 7.234 kB / 1.148 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.9302, allocations: 13.47 kB / 1.148 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.327e-05/0.9303, allocations: 12.53 kB / 1.148 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.9303, allocations: 12.44 kB / 1.148 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000505/0.9308, allocations: 0.4923 MB / 1.149 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9308, allocations: 0 / 1.149 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004099/0.9312, allocations: 85.09 kB / 1.149 GB, free: 14.05 MB / 0.8731 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.0002806/0.9315, allocations: 146.3 kB / 1.149 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002923/0.9318, allocations: 110.8 kB / 1.149 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.9318, allocations: 0 / 1.149 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.932, allocations: 61.02 kB / 1.149 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.9331, allocations: 280 kB / 1.15 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.9343, allocations: 0.8684 MB / 1.15 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004357/0.9348, allocations: 0.9081 MB / 1.151 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002253/0.935, allocations: 104.3 kB / 1.151 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.851e-05/0.9351, allocations: 34.47 kB / 1.151 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of SimCode: time 1.082e-06/0.9351, allocations: 1.094 kB / 1.151 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of Templates: time 0.01402/0.9491, allocations: 8.402 MB / 1.16 GB, free: 12.23 MB / 0.8731 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 -s gbode -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