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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001098/0.001098, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001288/0.001288, allocations: 192.8 kB / 16.25 MB, free: 6.621 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.402/1.402, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.899/2.899, allocations: 472.6 MB / 0.7448 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001264, allocations: 65.3 kB / 0.9115 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3269, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1881/0.515, allocations: 173.7 MB / 1.237 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01028/0.5254, allocations: 8.613 MB / 1.246 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009145/0.5263, allocations: 23.81 kB / 1.246 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009235/0.5273, allocations: 250.4 kB / 1.246 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0009441/0.5282, allocations: 282.7 kB / 1.246 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.5294, allocations: 338.5 kB / 1.247 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001423/0.5309, allocations: 1.156 MB / 1.248 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008621/0.5317, allocations: 0.5607 MB / 1.248 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.6786/1.21, allocations: 1.987 MB / 1.25 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007323/1.211, allocations: 376.7 kB / 1.251 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.18e-05/1.211, allocations: 40.38 kB / 1.251 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000287/1.212, allocations: 79.11 kB / 1.251 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003525/1.212, allocations: 261 kB / 1.251 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004144/1.212, allocations: 283.3 kB / 1.251 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009237/1.213, allocations: 0.6142 MB / 1.252 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/1.213, allocations: 0.6094 kB / 1.252 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.993e-06/1.213, allocations: 0.5 kB / 1.252 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.181e-05/1.213, allocations: 2.156 kB / 1.252 GB, free: 6.93 MB / 0.9981 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.00132/1.215, allocations: 0.8221 MB / 1.253 GB, free: 22.42 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/1.215, allocations: 10.16 kB / 1.253 GB, free: 22.42 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/1.215, allocations: 66.66 kB / 1.253 GB, free: 22.39 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000566/1.215, allocations: 416.2 kB / 1.253 GB, free: 22.14 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.989e-05/1.215, allocations: 43.28 kB / 1.253 GB, free: 22.13 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.721e-05/1.216, allocations: 54.47 kB / 1.253 GB, free: 22.13 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/1.217, allocations: 0.7014 MB / 1.254 GB, free: 21.89 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/1.217, allocations: 5.719 kB / 1.254 GB, free: 21.89 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.632e-05/1.217, allocations: 22.64 kB / 1.254 GB, free: 21.89 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.739e-05/1.217, allocations: 32.3 kB / 1.254 GB, free: 21.89 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006473/1.217, allocations: 379.2 kB / 1.254 GB, free: 21.89 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002386/1.22, allocations: 3.218 MB / 1.257 GB, free: 19.51 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/1.22, allocations: 225.2 kB / 1.258 GB, free: 19.28 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001706/1.22, allocations: 128.9 kB / 1.258 GB, free: 19.2 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/1.22, allocations: 3.156 kB / 1.258 GB, free: 19.2 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/1.22, allocations: 51.34 kB / 1.258 GB, free: 19.16 MB / 1.014 GB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/1.22, allocations: 1.031 kB / 1.258 GB, free: 19.16 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.0006672/1.221, allocations: 248.5 kB / 1.258 GB, free: 19.09 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/1.221, allocations: 298 kB / 1.258 GB, free: 18.75 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007767/1.222, allocations: 0.6795 MB / 1.259 GB, free: 18.62 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/1.222, allocations: 32.36 kB / 1.259 GB, free: 18.59 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001949/1.222, allocations: 268.3 kB / 1.259 GB, free: 18.49 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/1.222, allocations: 36.03 kB / 1.259 GB, free: 18.47 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.546e-05/1.222, allocations: 30.8 kB / 1.259 GB, free: 18.46 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001628/1.222, allocations: 373.9 kB / 1.26 GB, free: 18.14 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/1.222, allocations: 32.2 kB / 1.26 GB, free: 18.14 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/1.223, allocations: 101.2 kB / 1.26 GB, free: 18.1 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002148/1.223, allocations: 125.7 kB / 1.26 GB, free: 18.05 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/1.223, allocations: 0 / 1.26 GB, free: 18.05 MB / 1.014 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003164/1.223, allocations: 192.3 kB / 1.26 GB, free: 17.99 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/1.223, allocations: 11.22 kB / 1.26 GB, free: 17.98 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/1.223, allocations: 1.062 kB / 1.26 GB, free: 17.98 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/1.223, allocations: 4.188 kB / 1.26 GB, free: 17.98 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/1.223, allocations: 44.62 kB / 1.26 GB, free: 17.98 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/1.223, allocations: 3.078 kB / 1.26 GB, free: 17.98 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002247/1.224, allocations: 63 kB / 1.26 GB, free: 17.95 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/1.224, allocations: 12.16 kB / 1.26 GB, free: 17.95 MB / 1.014 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.0001842/1.224, allocations: 195.2 kB / 1.26 GB, free: 17.84 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001915/1.224, allocations: 66.95 kB / 1.26 GB, free: 17.8 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.778e-05/1.224, allocations: 65.8 kB / 1.261 GB, free: 17.79 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/1.224, allocations: 5.219 kB / 1.261 GB, free: 17.79 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/1.224, allocations: 4.5 kB / 1.261 GB, free: 17.79 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/1.224, allocations: 4.109 kB / 1.261 GB, free: 17.79 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001246/1.225, allocations: 1.303 MB / 1.262 GB, free: 16.82 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/1.226, allocations: 2.719 kB / 1.262 GB, free: 16.82 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001795/1.226, allocations: 39.69 kB / 1.262 GB, free: 16.82 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/1.226, allocations: 6.188 kB / 1.262 GB, free: 16.82 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/1.226, allocations: 6.375 kB / 1.262 GB, free: 16.82 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/1.226, allocations: 3.406 kB / 1.262 GB, free: 16.82 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/1.226, allocations: 7.328 kB / 1.262 GB, free: 16.82 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003467/1.226, allocations: 332.2 kB / 1.262 GB, free: 16.59 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/1.226, allocations: 151.3 kB / 1.262 GB, free: 16.46 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.878e-05/1.226, allocations: 4.422 kB / 1.262 GB, free: 16.46 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/1.226, allocations: 16.95 kB / 1.262 GB, free: 16.46 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.711e-05/1.227, allocations: 20.08 kB / 1.262 GB, free: 16.46 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/1.227, allocations: 7.188 kB / 1.262 GB, free: 16.46 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005174/1.227, allocations: 0.4953 MB / 1.263 GB, free: 16.37 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.227, allocations: 0 / 1.263 GB, free: 16.37 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00039/1.227, allocations: 85.39 kB / 1.263 GB, free: 16.36 MB / 1.014 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.000323/1.228, allocations: 143.3 kB / 1.263 GB, free: 16.27 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003069/1.228, allocations: 101.4 kB / 1.263 GB, free: 16.27 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/1.228, allocations: 3.531 kB / 1.263 GB, free: 16.27 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001351/1.228, allocations: 64.36 kB / 1.263 GB, free: 16.27 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001345/1.23, allocations: 291.6 kB / 1.264 GB, free: 16.24 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/1.231, allocations: 1.016 MB / 1.265 GB, free: 15.68 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004527/1.231, allocations: 0.9058 MB / 1.265 GB, free: 14.99 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002562/1.232, allocations: 103.5 kB / 1.266 GB, free: 14.98 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.288e-05/1.232, allocations: 35.84 kB / 1.266 GB, free: 14.97 MB / 1.014 GB Notification: Performance of SimCode: time 3.51e-07/1.232, allocations: 0 / 1.266 GB, free: 14.97 MB / 1.014 GB Notification: Performance of Templates: time 0.01789/1.249, allocations: 8.322 MB / 1.274 GB, free: 14.77 MB / 1.014 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 -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/jenkins/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