Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001066/0.001066, allocations: 109.8 kB / 16.41 MB, free: 6.008 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.001063/0.001063, allocations: 181.7 kB / 17.34 MB, free: 5.629 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.282/1.282, 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 10.1.1-maint.10.0.x/package.mo): time 2.377/2.377, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 60.11 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8171/0.8185, allocations: 151.6 MB / 1.167 GB, free: 3.906 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1794/0.9979, allocations: 176 MB / 1.339 GB, free: 3.227 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.009817/1.008, allocations: 8.698 MB / 1.348 GB, free: 10.51 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008851/1.009, allocations: 23.81 kB / 1.348 GB, free: 10.48 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0008692/1.01, allocations: 297.8 kB / 1.348 GB, free: 10.19 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0008647/1.011, allocations: 326.4 kB / 1.348 GB, free: 9.871 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001041/1.012, allocations: 376.9 kB / 1.349 GB, free: 9.504 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001329/1.013, allocations: 1.16 MB / 1.35 GB, free: 8.344 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008308/1.014, allocations: 0.5862 MB / 1.35 GB, free: 7.75 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004667/1.018, allocations: 2.129 MB / 1.352 GB, free: 5.613 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005213/1.019, allocations: 346.4 kB / 1.353 GB, free: 5.273 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 7.684e-05/1.019, allocations: 40 kB / 1.353 GB, free: 5.234 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002259/1.019, allocations: 83.95 kB / 1.353 GB, free: 5.152 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002341/1.02, allocations: 263.3 kB / 1.353 GB, free: 4.895 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.00027/1.02, allocations: 286.5 kB / 1.353 GB, free: 4.613 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0006718/1.021, allocations: 0.6344 MB / 1.354 GB, free: 3.977 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/1.021, allocations: 4 kB / 1.354 GB, free: 3.973 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.432e-06/1.021, allocations: 0 / 1.354 GB, free: 3.973 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.285e-06/1.021, allocations: 0 / 1.354 GB, free: 3.973 MB / 1.076 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.001019/1.022, allocations: 0.8184 MB / 1.355 GB, free: 3.102 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/1.022, allocations: 12.92 kB / 1.355 GB, free: 3.09 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/1.022, allocations: 71.09 kB / 1.355 GB, free: 3.02 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007006/1.022, allocations: 446.2 kB / 1.355 GB, free: 2.543 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.478e-05/1.022, allocations: 37.31 kB / 1.355 GB, free: 2.508 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.733e-05/1.023, allocations: 55.98 kB / 1.355 GB, free: 2.453 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000936/1.023, allocations: 0.7027 MB / 1.356 GB, free: 1.668 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/1.024, allocations: 3.938 kB / 1.356 GB, free: 1.664 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.233e-05/1.024, allocations: 31.92 kB / 1.356 GB, free: 1.633 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.963e-05/1.024, allocations: 35.92 kB / 1.356 GB, free: 1.598 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005827/1.024, allocations: 371.4 kB / 1.357 GB, free: 1.234 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002536/1.027, allocations: 3.207 MB / 1.36 GB, free: 13.88 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002467/1.027, allocations: 222.1 kB / 1.36 GB, free: 13.57 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001907/1.027, allocations: 128.5 kB / 1.36 GB, free: 13.42 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/1.027, allocations: 11.98 kB / 1.36 GB, free: 13.41 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/1.027, allocations: 46.83 kB / 1.36 GB, free: 13.35 MB / 1.092 GB Notification: Performance of pre-optimization done (n=10): time 1.984e-06/1.027, allocations: 4 kB / 1.36 GB, free: 13.35 MB / 1.092 GB Notification: Performance of matching and sorting (n=10): time 0.0006658/1.028, allocations: 245.8 kB / 1.36 GB, free: 13.1 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/1.028, allocations: 302.6 kB / 1.361 GB, free: 12.74 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006921/1.029, allocations: 0.6799 MB / 1.361 GB, free: 12.05 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/1.029, allocations: 29.7 kB / 1.361 GB, free: 12.02 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/1.029, allocations: 268.2 kB / 1.362 GB, free: 11.75 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 4.081e-05/1.029, allocations: 39.44 kB / 1.362 GB, free: 11.71 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.259e-05/1.029, allocations: 29.7 kB / 1.362 GB, free: 11.68 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001462/1.029, allocations: 366.8 kB / 1.362 GB, free: 11.31 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/1.029, allocations: 43.95 kB / 1.362 GB, free: 11.27 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/1.03, allocations: 93.05 kB / 1.362 GB, free: 11.16 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002235/1.03, allocations: 129 kB / 1.362 GB, free: 11.01 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/1.03, allocations: 0 / 1.362 GB, free: 11.01 MB / 1.092 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003209/1.03, allocations: 189 kB / 1.362 GB, free: 10.82 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/1.03, allocations: 4 kB / 1.362 GB, free: 10.82 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/1.03, allocations: 8.125 kB / 1.362 GB, free: 10.81 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/1.03, allocations: 0 / 1.362 GB, free: 10.81 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/1.03, allocations: 47.83 kB / 1.362 GB, free: 10.76 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/1.03, allocations: 0 / 1.362 GB, free: 10.76 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/1.031, allocations: 59.27 kB / 1.362 GB, free: 10.7 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/1.031, allocations: 12.06 kB / 1.362 GB, free: 10.69 MB / 1.092 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.0001904/1.031, allocations: 201.7 kB / 1.363 GB, free: 10.48 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000203/1.031, allocations: 59.34 kB / 1.363 GB, free: 10.43 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.902e-05/1.031, allocations: 68.25 kB / 1.363 GB, free: 10.35 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.768e-06/1.031, allocations: 0 / 1.363 GB, free: 10.35 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/1.031, allocations: 4 kB / 1.363 GB, free: 10.35 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/1.031, allocations: 4 kB / 1.363 GB, free: 10.34 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001365/1.033, allocations: 1.297 MB / 1.364 GB, free: 8.957 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/1.033, allocations: 4.281 kB / 1.364 GB, free: 8.953 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/1.033, allocations: 43.95 kB / 1.364 GB, free: 8.91 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/1.033, allocations: 4 kB / 1.364 GB, free: 8.906 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/1.033, allocations: 8 kB / 1.364 GB, free: 8.898 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/1.033, allocations: 3.938 kB / 1.364 GB, free: 8.895 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.033, allocations: 4 kB / 1.364 GB, free: 8.891 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003551/1.033, allocations: 338.3 kB / 1.364 GB, free: 8.516 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001714/1.033, allocations: 152.4 kB / 1.365 GB, free: 8.348 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.16e-05/1.033, allocations: 4 kB / 1.365 GB, free: 8.344 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/1.034, allocations: 7.984 kB / 1.365 GB, free: 8.336 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/1.034, allocations: 23.81 kB / 1.365 GB, free: 8.312 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/1.034, allocations: 4 kB / 1.365 GB, free: 8.309 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0004879/1.034, allocations: 0.4951 MB / 1.365 GB, free: 7.816 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.5e-07/1.034, allocations: 4 kB / 1.365 GB, free: 7.812 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.000382/1.035, allocations: 79.89 kB / 1.365 GB, free: 7.734 MB / 1.092 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.0003106/1.035, allocations: 139.9 kB / 1.365 GB, free: 7.594 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0003104/1.035, allocations: 115.7 kB / 1.365 GB, free: 7.48 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/1.035, allocations: 4 kB / 1.365 GB, free: 7.477 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001339/1.035, allocations: 51.91 kB / 1.366 GB, free: 7.426 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/1.036, allocations: 280.7 kB / 1.366 GB, free: 7.16 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/1.038, allocations: 0.921 MB / 1.367 GB, free: 6.176 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005362/1.038, allocations: 0.9049 MB / 1.368 GB, free: 5.246 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.587e-05/1.039, allocations: 35.44 kB / 1.368 GB, free: 5.215 MB / 1.092 GB Notification: Performance of SimCode: time 1.473e-06/1.039, allocations: 0 / 1.368 GB, free: 5.215 MB / 1.092 GB Notification: Performance of Templates: time 0.01147/1.05, allocations: 7.845 MB / 1.375 GB, free: 13.43 MB / 1.107 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches