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.001571/0.001571, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001942/0.001942, allocations: 191.5 kB / 16.67 MB, free: 6.574 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.378/1.378, allocations: 222.9 MB / 240.3 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.845/2.845, allocations: 472.6 MB / 0.7452 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 63.89 kB / 1.069 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3597, allocations: 159.9 MB / 1.226 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.9105/1.27, allocations: 176 MB / 1.397 GB, free: 5.727 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01069/1.281, allocations: 8.708 MB / 1.406 GB, free: 14.66 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001454/1.282, allocations: 21.03 kB / 1.406 GB, free: 14.65 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.00109/1.284, allocations: 295.8 kB / 1.406 GB, free: 14.39 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0009584/1.285, allocations: 310 kB / 1.407 GB, free: 14.14 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001133/1.286, allocations: 368.3 kB / 1.407 GB, free: 13.87 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001347/1.287, allocations: 1.156 MB / 1.408 GB, free: 13.2 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001005/1.288, allocations: 0.5944 MB / 1.409 GB, free: 12.86 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005801/1.294, allocations: 2.056 MB / 1.411 GB, free: 11.47 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005645/1.295, allocations: 350.2 kB / 1.411 GB, free: 11.26 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 7.992e-05/1.295, allocations: 39.34 kB / 1.411 GB, free: 11.26 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002998/1.295, allocations: 87.95 kB / 1.411 GB, free: 11.23 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0002958/1.295, allocations: 256.1 kB / 1.411 GB, free: 11.07 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0003304/1.296, allocations: 285.4 kB / 1.412 GB, free: 10.89 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0008369/1.296, allocations: 0.6346 MB / 1.412 GB, free: 10.47 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/1.296, allocations: 3.938 kB / 1.412 GB, free: 10.47 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.034e-06/1.296, allocations: 4 kB / 1.412 GB, free: 10.46 MB / 1.107 GB Notification: Performance of Transformations before backend: time 9.919e-06/1.296, allocations: 0 / 1.412 GB, free: 10.46 MB / 1.107 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.001098/1.298, allocations: 0.8339 MB / 1.413 GB, free: 9.754 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/1.298, allocations: 9.375 kB / 1.413 GB, free: 9.754 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/1.298, allocations: 77.75 kB / 1.413 GB, free: 9.711 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006891/1.298, allocations: 440.8 kB / 1.414 GB, free: 9.34 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.838e-05/1.298, allocations: 44.05 kB / 1.414 GB, free: 9.32 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.151e-05/1.299, allocations: 51.47 kB / 1.414 GB, free: 9.305 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/1.3, allocations: 0.7132 MB / 1.414 GB, free: 8.762 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/1.3, allocations: 2.656 kB / 1.414 GB, free: 8.762 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.885e-05/1.3, allocations: 21.72 kB / 1.414 GB, free: 8.746 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.168e-05/1.3, allocations: 43.11 kB / 1.414 GB, free: 8.727 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006369/1.3, allocations: 368.2 kB / 1.415 GB, free: 8.555 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00266/1.303, allocations: 3.224 MB / 1.418 GB, free: 5.578 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002779/1.303, allocations: 216.5 kB / 1.418 GB, free: 5.305 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000187/1.304, allocations: 122.6 kB / 1.418 GB, free: 5.195 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/1.304, allocations: 14.45 kB / 1.418 GB, free: 5.184 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/1.304, allocations: 44.38 kB / 1.418 GB, free: 5.137 MB / 1.107 GB Notification: Performance of pre-optimization done (n=10): time 1.813e-06/1.304, allocations: 336 / 1.418 GB, free: 5.137 MB / 1.107 GB Notification: Performance of matching and sorting (n=10): time 0.0006967/1.304, allocations: 253.6 kB / 1.419 GB, free: 4.992 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001513/1.305, allocations: 290.5 kB / 1.419 GB, free: 4.645 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007738/1.305, allocations: 0.6942 MB / 1.419 GB, free: 4.254 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/1.305, allocations: 32.45 kB / 1.419 GB, free: 4.219 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002297/1.306, allocations: 268.7 kB / 1.42 GB, free: 3.984 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 3.853e-05/1.306, allocations: 32.11 kB / 1.42 GB, free: 3.957 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.005e-05/1.306, allocations: 33.36 kB / 1.42 GB, free: 3.93 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001821/1.306, allocations: 370.1 kB / 1.42 GB, free: 3.574 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/1.306, allocations: 31.47 kB / 1.42 GB, free: 3.562 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001561/1.306, allocations: 97.12 kB / 1.42 GB, free: 3.484 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002446/1.306, allocations: 128.3 kB / 1.42 GB, free: 3.391 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.306, allocations: 0 / 1.42 GB, free: 3.391 MB / 1.107 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003281/1.307, allocations: 193.3 kB / 1.421 GB, free: 3.277 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/1.307, allocations: 12.12 kB / 1.421 GB, free: 3.273 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/1.307, allocations: 5.969 kB / 1.421 GB, free: 3.27 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/1.307, allocations: 7.25 kB / 1.421 GB, free: 3.266 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002238/1.307, allocations: 37.61 kB / 1.421 GB, free: 3.254 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/1.307, allocations: 3.5 kB / 1.421 GB, free: 3.254 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002121/1.307, allocations: 58.78 kB / 1.421 GB, free: 3.211 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-05/1.307, allocations: 9.75 kB / 1.421 GB, free: 3.211 MB / 1.107 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.0001912/1.308, allocations: 207.4 kB / 1.421 GB, free: 3.043 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002004/1.308, allocations: 64.89 kB / 1.421 GB, free: 3.008 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.243e-05/1.308, allocations: 59.45 kB / 1.421 GB, free: 2.965 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/1.308, allocations: 4.5 kB / 1.421 GB, free: 2.965 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/1.308, allocations: 1.688 kB / 1.421 GB, free: 2.965 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/1.308, allocations: 3.469 kB / 1.421 GB, free: 2.965 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001344/1.309, allocations: 1.298 MB / 1.422 GB, free: 1.754 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/1.309, allocations: 3.625 kB / 1.422 GB, free: 1.754 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001772/1.309, allocations: 47.02 kB / 1.422 GB, free: 1.734 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/1.309, allocations: 3.625 kB / 1.422 GB, free: 1.734 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/1.309, allocations: 7.719 kB / 1.422 GB, free: 1.73 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/1.309, allocations: 8.078 kB / 1.422 GB, free: 1.727 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/1.309, allocations: 6.156 kB / 1.422 GB, free: 1.723 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003836/1.31, allocations: 338.6 kB / 1.423 GB, free: 1.43 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001504/1.31, allocations: 152.9 kB / 1.423 GB, free: 1.285 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.839e-05/1.31, allocations: 8.609 kB / 1.423 GB, free: 1.281 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/1.31, allocations: 13.45 kB / 1.423 GB, free: 1.273 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.245e-05/1.31, allocations: 12.73 kB / 1.423 GB, free: 1.266 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/1.31, allocations: 8.594 kB / 1.423 GB, free: 1.262 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0005747/1.311, allocations: 0.4987 MB / 1.423 GB, free: 0.9766 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.4e-07/1.311, allocations: 0 / 1.423 GB, free: 0.9766 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0004159/1.311, allocations: 88.77 kB / 1.423 GB, free: 0.9609 MB / 1.107 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.0003785/1.312, allocations: 132.6 kB / 1.424 GB, free: 0.8555 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0003355/1.312, allocations: 110.5 kB / 1.424 GB, free: 0.8047 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.312, allocations: 1.406 kB / 1.424 GB, free: 0.8047 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0001451/1.312, allocations: 61.61 kB / 1.424 GB, free: 0.7773 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/1.313, allocations: 289.6 kB / 1.424 GB, free: 0.6406 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/1.315, allocations: 0.8843 MB / 1.425 GB, free: 36 kB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004812/1.315, allocations: 0.9145 MB / 1.426 GB, free: 15.23 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.000238/1.315, allocations: 103.4 kB / 1.426 GB, free: 15.19 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.705e-05/1.315, allocations: 39.06 kB / 1.426 GB, free: 15.18 MB / 1.123 GB Notification: Performance of SimCode: time 2.41e-07/1.315, allocations: 0 / 1.426 GB, free: 15.18 MB / 1.123 GB Notification: Performance of Templates: time 0.01518/1.331, allocations: 8.446 MB / 1.434 GB, free: 8.219 MB / 1.123 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