Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.00163/0.00163, allocations: 110 kB / 16.37 MB, free: 6.469 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.001828/0.001828, allocations: 195.8 kB / 17.31 MB, free: 5.824 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.367/1.367, 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 11.0.0-master/package.mo): time 2.443/2.443, allocations: 442.6 MB / 0.7165 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 67.3 kB / 0.8773 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3207, allocations: 153 MB / 1.027 GB, free: 2.125 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.6808/1.001, allocations: 176 MB / 1.199 GB, free: 6.648 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01041/1.012, allocations: 8.715 MB / 1.207 GB, free: 15.57 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009058/1.013, allocations: 25.31 kB / 1.207 GB, free: 15.56 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0009355/1.014, allocations: 299.6 kB / 1.207 GB, free: 15.3 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0008456/1.015, allocations: 305.7 kB / 1.208 GB, free: 15.05 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001089/1.016, allocations: 371.9 kB / 1.208 GB, free: 14.77 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001371/1.017, allocations: 1.148 MB / 1.209 GB, free: 14.11 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009232/1.018, allocations: 0.5942 MB / 1.21 GB, free: 13.77 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005201/1.023, allocations: 2.056 MB / 1.212 GB, free: 12.38 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006254/1.024, allocations: 353.4 kB / 1.212 GB, free: 12.16 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.91e-05/1.024, allocations: 40.88 kB / 1.212 GB, free: 12.16 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002525/1.024, allocations: 80.11 kB / 1.212 GB, free: 12.14 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002538/1.025, allocations: 259 kB / 1.212 GB, free: 11.98 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002777/1.025, allocations: 283.2 kB / 1.213 GB, free: 11.8 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006512/1.026, allocations: 0.6328 MB / 1.213 GB, free: 11.38 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/1.026, allocations: 0 / 1.213 GB, free: 11.38 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.346e-06/1.026, allocations: 0 / 1.213 GB, free: 11.38 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.337e-05/1.026, allocations: 7.938 kB / 1.213 GB, free: 11.38 MB / 0.92 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.0009602/1.027, allocations: 0.8206 MB / 1.214 GB, free: 10.68 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/1.027, allocations: 9.875 kB / 1.214 GB, free: 10.68 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/1.027, allocations: 67.56 kB / 1.214 GB, free: 10.65 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006666/1.027, allocations: 446.6 kB / 1.215 GB, free: 10.28 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.279e-05/1.027, allocations: 33.06 kB / 1.215 GB, free: 10.26 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.804e-05/1.028, allocations: 59.27 kB / 1.215 GB, free: 10.24 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008951/1.028, allocations: 0.7044 MB / 1.215 GB, free: 9.707 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/1.028, allocations: 7.922 kB / 1.215 GB, free: 9.699 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.278e-05/1.029, allocations: 27.36 kB / 1.215 GB, free: 9.68 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.736e-05/1.029, allocations: 34.27 kB / 1.216 GB, free: 9.668 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005649/1.029, allocations: 369.6 kB / 1.216 GB, free: 9.496 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002568/1.032, allocations: 3.214 MB / 1.219 GB, free: 6.527 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002493/1.032, allocations: 218.2 kB / 1.219 GB, free: 6.254 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001818/1.032, allocations: 130.6 kB / 1.219 GB, free: 6.137 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/1.032, allocations: 6.938 kB / 1.219 GB, free: 6.133 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.778e-05/1.032, allocations: 43.78 kB / 1.219 GB, free: 6.086 MB / 0.92 GB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/1.032, allocations: 0 / 1.219 GB, free: 6.086 MB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.0006802/1.033, allocations: 251.2 kB / 1.22 GB, free: 5.941 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001429/1.033, allocations: 296.9 kB / 1.22 GB, free: 5.59 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007084/1.034, allocations: 0.685 MB / 1.221 GB, free: 5.203 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/1.034, allocations: 31.98 kB / 1.221 GB, free: 5.168 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/1.034, allocations: 265 kB / 1.221 GB, free: 4.938 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.095e-05/1.034, allocations: 36.44 kB / 1.221 GB, free: 4.906 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.662e-05/1.034, allocations: 31.77 kB / 1.221 GB, free: 4.879 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001528/1.034, allocations: 368.1 kB / 1.221 GB, free: 4.527 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/1.034, allocations: 33.89 kB / 1.221 GB, free: 4.512 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/1.035, allocations: 105.2 kB / 1.221 GB, free: 4.43 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002182/1.035, allocations: 124.7 kB / 1.222 GB, free: 4.336 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/1.035, allocations: 0 / 1.222 GB, free: 4.336 MB / 0.92 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003262/1.035, allocations: 190.2 kB / 1.222 GB, free: 4.227 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/1.035, allocations: 4.906 kB / 1.222 GB, free: 4.227 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/1.035, allocations: 6.859 kB / 1.222 GB, free: 4.223 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/1.035, allocations: 6.781 kB / 1.222 GB, free: 4.219 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002027/1.035, allocations: 41.05 kB / 1.222 GB, free: 4.203 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/1.035, allocations: 6.562 kB / 1.222 GB, free: 4.199 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/1.036, allocations: 56.92 kB / 1.222 GB, free: 4.16 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/1.036, allocations: 5.031 kB / 1.222 GB, free: 4.16 MB / 0.92 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.0001969/1.036, allocations: 211 kB / 1.222 GB, free: 3.988 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002121/1.036, allocations: 61.12 kB / 1.222 GB, free: 3.957 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.224e-05/1.036, allocations: 59.11 kB / 1.222 GB, free: 3.918 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/1.036, allocations: 4.844 kB / 1.222 GB, free: 3.918 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/1.036, allocations: 6.922 kB / 1.222 GB, free: 3.914 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/1.036, allocations: 1.781 kB / 1.222 GB, free: 3.914 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/1.038, allocations: 1.303 MB / 1.223 GB, free: 2.699 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/1.038, allocations: 2.75 kB / 1.223 GB, free: 2.699 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001842/1.038, allocations: 44.45 kB / 1.223 GB, free: 2.684 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/1.038, allocations: 5.156 kB / 1.223 GB, free: 2.684 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/1.038, allocations: 6.656 kB / 1.223 GB, free: 2.68 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/1.038, allocations: 6.156 kB / 1.223 GB, free: 2.676 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/1.038, allocations: 3.188 kB / 1.223 GB, free: 2.676 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003682/1.038, allocations: 333.3 kB / 1.224 GB, free: 2.387 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001698/1.038, allocations: 150 kB / 1.224 GB, free: 2.246 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.433e-05/1.038, allocations: 7.812 kB / 1.224 GB, free: 2.242 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/1.039, allocations: 8.875 kB / 1.224 GB, free: 2.238 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.656e-05/1.039, allocations: 19.52 kB / 1.224 GB, free: 2.227 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/1.039, allocations: 4.469 kB / 1.224 GB, free: 2.227 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004999/1.039, allocations: 0.4931 MB / 1.224 GB, free: 1.949 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/1.039, allocations: 0 / 1.224 GB, free: 1.949 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003819/1.04, allocations: 91.31 kB / 1.225 GB, free: 1.934 MB / 0.92 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.0003141/1.04, allocations: 135.6 kB / 1.225 GB, free: 1.828 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002987/1.04, allocations: 114 kB / 1.225 GB, free: 1.773 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.04, allocations: 4.062 kB / 1.225 GB, free: 1.77 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001325/1.04, allocations: 55.16 kB / 1.225 GB, free: 1.75 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/1.042, allocations: 290.1 kB / 1.225 GB, free: 1.594 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/1.043, allocations: 0.8724 MB / 1.226 GB, free: 0.668 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005864/1.044, allocations: 0.9089 MB / 1.227 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0003144/1.044, allocations: 100.6 kB / 1.227 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.28e-05/1.044, allocations: 35.44 kB / 1.227 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of SimCode: time 1.353e-06/1.044, allocations: 3.938 kB / 1.227 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of Templates: time 0.0145/1.059, allocations: 8.405 MB / 1.235 GB, free: 7.309 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches