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.001361/0.001361, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001632/0.001632, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.363/1.363, allocations: 222.9 MB / 239.8 MB, free: 4.605 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.307/2.307, allocations: 390.2 MB / 0.6642 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 67.89 kB / 0.8119 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7068/0.7087, allocations: 140.4 MB / 0.9489 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1928/0.9015, allocations: 173.7 MB / 1.119 GB, free: 3.793 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.009149/0.9107, allocations: 8.697 MB / 1.127 GB, free: 11.07 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005948/0.9113, allocations: 23.81 kB / 1.127 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006762/0.912, allocations: 234.4 kB / 1.127 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0006769/0.9127, allocations: 302.6 kB / 1.128 GB, free: 10.52 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008439/0.9136, allocations: 330.9 kB / 1.128 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001375/0.915, allocations: 1.624 MB / 1.13 GB, free: 8.566 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006305/0.9156, allocations: 0.4968 MB / 1.13 GB, free: 8.07 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004057/0.9197, allocations: 1.927 MB / 1.132 GB, free: 6.137 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004421/0.9201, allocations: 374.4 kB / 1.132 GB, free: 5.77 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.194e-05/0.9202, allocations: 28 kB / 1.132 GB, free: 5.742 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001847/0.9204, allocations: 71.84 kB / 1.132 GB, free: 5.672 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002185/0.9206, allocations: 243.4 kB / 1.133 GB, free: 5.434 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002468/0.9209, allocations: 270.5 kB / 1.133 GB, free: 5.168 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0005307/0.9214, allocations: 0.5917 MB / 1.133 GB, free: 4.574 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.9214, allocations: 0 / 1.133 GB, free: 4.574 MB / 0.8887 GB Notification: Performance of FrontEnd: time 8.72e-07/0.9214, allocations: 0 / 1.133 GB, free: 4.574 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.9215, allocations: 0 / 1.133 GB, free: 4.574 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.0009557/0.9224, allocations: 0.8302 MB / 1.134 GB, free: 3.695 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.9225, allocations: 12.03 kB / 1.134 GB, free: 3.684 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.828e-05/0.9226, allocations: 67.19 kB / 1.134 GB, free: 3.617 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00049/0.9231, allocations: 410.2 kB / 1.135 GB, free: 3.176 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.26e-05/0.9231, allocations: 37.31 kB / 1.135 GB, free: 3.141 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.242e-05/0.9232, allocations: 51.98 kB / 1.135 GB, free: 3.09 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000959/0.9241, allocations: 0.7027 MB / 1.135 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.9242, allocations: 7.938 kB / 1.135 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.485e-05/0.9242, allocations: 23.98 kB / 1.135 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.916e-05/0.9243, allocations: 43.86 kB / 1.136 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006062/0.9249, allocations: 371.4 kB / 1.136 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00239/0.9273, allocations: 3.223 MB / 1.139 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002382/0.9275, allocations: 226.2 kB / 1.139 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.9277, allocations: 124.5 kB / 1.139 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.9278, allocations: 8.266 kB / 1.139 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/0.9278, allocations: 46.5 kB / 1.139 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 2.795e-06/0.9278, allocations: 0 / 1.139 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0006963/0.9285, allocations: 253.6 kB / 1.14 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/0.9286, allocations: 298.7 kB / 1.14 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007341/0.9294, allocations: 0.6838 MB / 1.141 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.9294, allocations: 29.7 kB / 1.141 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/0.9296, allocations: 264.2 kB / 1.141 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.585e-05/0.9297, allocations: 35.53 kB / 1.141 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.003e-05/0.9297, allocations: 33.7 kB / 1.141 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.9299, allocations: 366.8 kB / 1.141 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.93, allocations: 39.91 kB / 1.141 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/0.9302, allocations: 93.09 kB / 1.141 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002403/0.9304, allocations: 133 kB / 1.142 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.9304, allocations: 0 / 1.142 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003421/0.9308, allocations: 192.8 kB / 1.142 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.9308, allocations: 9.719 kB / 1.142 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.9308, allocations: 3.938 kB / 1.142 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.9309, allocations: 0 / 1.142 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002334/0.9311, allocations: 43.95 kB / 1.142 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.9311, allocations: 4.062 kB / 1.142 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/0.9313, allocations: 63.52 kB / 1.142 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.9314, allocations: 11.98 kB / 1.142 GB, free: 11.3 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.0002042/0.9316, allocations: 201.7 kB / 1.142 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000212/0.9318, allocations: 59.25 kB / 1.142 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.102e-05/0.9319, allocations: 64.25 kB / 1.142 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.9319, allocations: 4 kB / 1.142 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.9319, allocations: 4 kB / 1.142 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.9319, allocations: 0 / 1.142 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001279/0.9332, allocations: 1.304 MB / 1.143 GB, free: 9.555 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.9332, allocations: 0 / 1.143 GB, free: 9.555 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000192/0.9334, allocations: 43.95 kB / 1.144 GB, free: 9.512 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.9334, allocations: 4 kB / 1.144 GB, free: 9.508 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.9334, allocations: 4 kB / 1.144 GB, free: 9.504 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.9334, allocations: 4 kB / 1.144 GB, free: 9.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.9335, allocations: 3.938 kB / 1.144 GB, free: 9.496 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003557/0.9338, allocations: 338.6 kB / 1.144 GB, free: 9.121 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001406/0.934, allocations: 156.2 kB / 1.144 GB, free: 8.949 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.774e-05/0.934, allocations: 4 kB / 1.144 GB, free: 8.945 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/0.9342, allocations: 23.92 kB / 1.144 GB, free: 8.922 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.282e-05/0.9343, allocations: 19.86 kB / 1.144 GB, free: 8.902 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.9343, allocations: 4.281 kB / 1.144 GB, free: 8.898 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005056/0.9348, allocations: 0.4951 MB / 1.145 GB, free: 8.406 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9348, allocations: 0 / 1.145 GB, free: 8.406 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003702/0.9352, allocations: 79.94 kB / 1.145 GB, free: 8.328 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.0002974/0.9355, allocations: 141.1 kB / 1.145 GB, free: 8.188 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000311/0.9358, allocations: 99.8 kB / 1.145 GB, free: 8.09 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.9358, allocations: 0 / 1.145 GB, free: 8.09 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001441/0.936, allocations: 64.77 kB / 1.145 GB, free: 8.027 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/0.9373, allocations: 269.5 kB / 1.145 GB, free: 7.77 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.9385, allocations: 1.007 MB / 1.146 GB, free: 6.703 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004175/0.9389, allocations: 0.9052 MB / 1.147 GB, free: 5.773 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002319/0.9392, allocations: 104.6 kB / 1.147 GB, free: 5.672 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.011e-05/0.9392, allocations: 39.44 kB / 1.147 GB, free: 5.633 MB / 0.9044 GB Notification: Performance of SimCode: time 4.51e-07/0.9392, allocations: 0 / 1.147 GB, free: 5.633 MB / 0.9044 GB Notification: Performance of Templates: time 0.01289/0.9521, allocations: 8.042 MB / 1.155 GB, free: 13.71 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