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.005827/0.005827, allocations: 101.4 kB / 15.73 MB, free: 6.062 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.00142/0.00142, allocations: 196.4 kB / 16.68 MB, free: 5.977 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 4.172 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.342/2.342, allocations: 390.2 MB / 0.6648 GB, free: 152 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002267/0.002267, allocations: 67.95 kB / 0.9508 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.3462, allocations: 140.4 MB / 1.088 GB, free: 1.465 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1966/0.5429, allocations: 176 MB / 1.26 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.722/1.265, allocations: 8.7 MB / 1.268 GB, free: 3.516 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009574/1.266, allocations: 22.81 kB / 1.268 GB, free: 3.516 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0008677/1.267, allocations: 296.9 kB / 1.269 GB, free: 3.516 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0009595/1.268, allocations: 330.7 kB / 1.269 GB, free: 3.5 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001297/1.269, allocations: 368.8 kB / 1.269 GB, free: 3.496 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001552/1.271, allocations: 1.155 MB / 1.27 GB, free: 3.496 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009832/1.272, allocations: 0.5893 MB / 1.271 GB, free: 3.465 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006794/1.279, allocations: 2.131 MB / 1.273 GB, free: 3.414 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007002/1.279, allocations: 352.4 kB / 1.273 GB, free: 3.41 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.066e-05/1.279, allocations: 41.06 kB / 1.273 GB, free: 3.41 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003129/1.28, allocations: 84.3 kB / 1.273 GB, free: 3.406 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003552/1.28, allocations: 261.4 kB / 1.274 GB, free: 3.406 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0004512/1.281, allocations: 284.8 kB / 1.274 GB, free: 3.406 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001088/1.282, allocations: 0.6274 MB / 1.275 GB, free: 3.371 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/1.282, allocations: 0 / 1.275 GB, free: 3.371 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.525e-06/1.282, allocations: 1.062 kB / 1.275 GB, free: 3.371 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.09e-05/1.282, allocations: 1.156 kB / 1.275 GB, free: 3.371 MB / 1.014 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.00116/1.283, allocations: 0.8236 MB / 1.275 GB, free: 2.832 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/1.283, allocations: 9.625 kB / 1.275 GB, free: 2.832 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001317/1.283, allocations: 69.36 kB / 1.276 GB, free: 2.801 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006932/1.284, allocations: 452.2 kB / 1.276 GB, free: 2.551 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.287e-05/1.284, allocations: 37.84 kB / 1.276 GB, free: 2.551 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.934e-05/1.284, allocations: 56.92 kB / 1.276 GB, free: 2.551 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/1.285, allocations: 0.7031 MB / 1.277 GB, free: 2.309 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/1.285, allocations: 5.375 kB / 1.277 GB, free: 2.309 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.343e-05/1.285, allocations: 26.98 kB / 1.277 GB, free: 2.309 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.732e-05/1.285, allocations: 31.58 kB / 1.277 GB, free: 2.309 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008984/1.286, allocations: 373.3 kB / 1.277 GB, free: 2.309 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003238/1.29, allocations: 3.213 MB / 1.28 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002451/1.29, allocations: 221.2 kB / 1.28 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002089/1.29, allocations: 131.5 kB / 1.281 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/1.29, allocations: 3.922 kB / 1.281 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/1.29, allocations: 49.67 kB / 1.281 GB, free: 15.56 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 3.036e-06/1.29, allocations: 0 / 1.281 GB, free: 15.56 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.000756/1.291, allocations: 254 kB / 1.281 GB, free: 15.5 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001627/1.291, allocations: 292 kB / 1.281 GB, free: 15.16 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009197/1.292, allocations: 0.6862 MB / 1.282 GB, free: 15.03 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/1.292, allocations: 27.77 kB / 1.282 GB, free: 15 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002153/1.292, allocations: 267.5 kB / 1.282 GB, free: 14.9 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.892e-05/1.292, allocations: 40.58 kB / 1.282 GB, free: 14.88 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.86e-05/1.292, allocations: 31.06 kB / 1.282 GB, free: 14.86 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001833/1.293, allocations: 373.5 kB / 1.283 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/1.293, allocations: 37.67 kB / 1.283 GB, free: 14.54 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001634/1.293, allocations: 95.58 kB / 1.283 GB, free: 14.5 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002553/1.293, allocations: 128.5 kB / 1.283 GB, free: 14.45 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/1.293, allocations: 0.75 kB / 1.283 GB, free: 14.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003469/1.294, allocations: 191.3 kB / 1.283 GB, free: 14.39 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/1.294, allocations: 5.5 kB / 1.283 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/1.294, allocations: 1.938 kB / 1.283 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/1.294, allocations: 3.812 kB / 1.283 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/1.294, allocations: 38.14 kB / 1.283 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/1.294, allocations: 6.547 kB / 1.283 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002284/1.294, allocations: 59.19 kB / 1.283 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.748e-05/1.294, allocations: 11.92 kB / 1.283 GB, free: 14.35 MB / 1.029 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.0002225/1.294, allocations: 202.2 kB / 1.283 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002048/1.295, allocations: 61.02 kB / 1.283 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.085e-05/1.295, allocations: 57.39 kB / 1.283 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/1.295, allocations: 4.781 kB / 1.283 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/1.295, allocations: 2.719 kB / 1.283 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/1.295, allocations: 3.297 kB / 1.283 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001507/1.296, allocations: 1.309 MB / 1.285 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/1.296, allocations: 2.812 kB / 1.285 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000185/1.296, allocations: 43.59 kB / 1.285 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/1.296, allocations: 3.344 kB / 1.285 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/1.296, allocations: 4.438 kB / 1.285 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-06/1.296, allocations: 6.297 kB / 1.285 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/1.296, allocations: 3.344 kB / 1.285 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004084/1.297, allocations: 341.3 kB / 1.285 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001757/1.297, allocations: 149.5 kB / 1.285 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.596e-05/1.297, allocations: 3.469 kB / 1.285 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/1.297, allocations: 9.625 kB / 1.285 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.872e-05/1.297, allocations: 23.88 kB / 1.285 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-06/1.297, allocations: 9.188 kB / 1.285 GB, free: 12.85 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006136/1.298, allocations: 0.4941 MB / 1.286 GB, free: 12.76 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.31e-07/1.298, allocations: 0 / 1.286 GB, free: 12.76 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004769/1.298, allocations: 86.08 kB / 1.286 GB, free: 12.75 MB / 1.029 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.0003598/1.299, allocations: 138.4 kB / 1.286 GB, free: 12.66 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003212/1.299, allocations: 110 kB / 1.286 GB, free: 12.66 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/1.299, allocations: 0.9062 kB / 1.286 GB, free: 12.66 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000166/1.299, allocations: 62.09 kB / 1.286 GB, free: 12.66 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001355/1.301, allocations: 283 kB / 1.286 GB, free: 12.61 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/1.302, allocations: 0.8651 MB / 1.287 GB, free: 12.2 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000548/1.303, allocations: 0.9036 MB / 1.288 GB, free: 11.5 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002955/1.303, allocations: 105.3 kB / 1.288 GB, free: 11.49 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.657e-05/1.303, allocations: 37.83 kB / 1.288 GB, free: 11.48 MB / 1.029 GB Notification: Performance of SimCode: time 1.963e-06/1.303, allocations: 0 / 1.288 GB, free: 11.48 MB / 1.029 GB Notification: Performance of Templates: time 0.02017/1.323, allocations: 8.463 MB / 1.297 GB, free: 11.14 MB / 1.029 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