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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007814/0.0007813, allocations: 97.41 kB / 15.36 MB, free: 0.7344 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.005054/0.005054, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.249/1.249, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.366/2.366, allocations: 437.8 MB / 0.7121 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003138/0.0003137, allocations: 16 kB / 0.8729 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6049/0.6053, allocations: 153.8 MB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1732/0.7785, allocations: 171.5 MB / 1.191 GB, free: 3.797 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01045/0.789, allocations: 8.591 MB / 1.199 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006881/0.7897, allocations: 15.88 kB / 1.199 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0007754/0.7905, allocations: 238.4 kB / 1.199 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0008734/0.7914, allocations: 298.7 kB / 1.199 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001096/0.7925, allocations: 331.5 kB / 1.2 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001827/0.7944, allocations: 1.62 MB / 1.201 GB, free: 8.688 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008212/0.7952, allocations: 498.8 kB / 1.202 GB, free: 8.195 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004414/0.7996, allocations: 1.911 MB / 1.204 GB, free: 6.277 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005509/0.8002, allocations: 342.4 kB / 1.204 GB, free: 5.941 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 7.278e-05/0.8003, allocations: 20 kB / 1.204 GB, free: 5.922 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002267/0.8005, allocations: 55.97 kB / 1.204 GB, free: 5.867 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002664/0.8008, allocations: 251.3 kB / 1.204 GB, free: 5.621 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003393/0.8011, allocations: 280.2 kB / 1.205 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006292/0.8018, allocations: 0.5916 MB / 1.205 GB, free: 4.746 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.8018, allocations: 0 / 1.205 GB, free: 4.746 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.282e-06/0.8018, allocations: 0 / 1.205 GB, free: 4.746 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.832e-05/0.8018, allocations: 0 / 1.205 GB, free: 4.746 MB / 0.9512 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.001022/0.8029, allocations: 0.7056 MB / 1.206 GB, free: 3.992 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.8029, allocations: 8.031 kB / 1.206 GB, free: 3.984 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001263/0.803, allocations: 102.5 kB / 1.206 GB, free: 3.875 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.8031, allocations: 67.25 kB / 1.206 GB, free: 3.809 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005652/0.8037, allocations: 418.1 kB / 1.206 GB, free: 3.359 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.603e-05/0.8038, allocations: 41.31 kB / 1.207 GB, free: 3.32 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.955e-05/0.8038, allocations: 52 kB / 1.207 GB, free: 3.27 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/0.8049, allocations: 0.7066 MB / 1.207 GB, free: 2.477 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.8049, allocations: 7.938 kB / 1.207 GB, free: 2.469 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.427e-05/0.805, allocations: 23.94 kB / 1.207 GB, free: 2.445 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.278e-05/0.8051, allocations: 35.98 kB / 1.207 GB, free: 2.41 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006927/0.8058, allocations: 383.4 kB / 1.208 GB, free: 2.035 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002568/0.8083, allocations: 3.227 MB / 1.211 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002695/0.8086, allocations: 226.2 kB / 1.211 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002019/0.8088, allocations: 132.5 kB / 1.211 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.8088, allocations: 11.98 kB / 1.211 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.8089, allocations: 46.44 kB / 1.211 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.8089, allocations: 0 / 1.211 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0007282/0.8096, allocations: 273.7 kB / 1.211 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/0.8098, allocations: 290.7 kB / 1.212 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008647/0.8106, allocations: 0.6838 MB / 1.212 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.8107, allocations: 33.7 kB / 1.212 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002335/0.8109, allocations: 264.2 kB / 1.213 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.109e-05/0.811, allocations: 31.55 kB / 1.213 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.164e-05/0.811, allocations: 17.72 kB / 1.213 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.8112, allocations: 370.8 kB / 1.213 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.8113, allocations: 39.95 kB / 1.213 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/0.8115, allocations: 97.11 kB / 1.213 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002704/0.8118, allocations: 137 kB / 1.213 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.8118, allocations: 4 kB / 1.213 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004067/0.8122, allocations: 201 kB / 1.214 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.8122, allocations: 11.88 kB / 1.214 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.8122, allocations: 11.92 kB / 1.214 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.8123, allocations: 0 / 1.214 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002517/0.8125, allocations: 48.09 kB / 1.214 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.8125, allocations: 7.984 kB / 1.214 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002585/0.8128, allocations: 63.36 kB / 1.214 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.454e-05/0.8128, allocations: 4 kB / 1.214 GB, free: 11.43 MB / 0.9669 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.0002208/0.8131, allocations: 205.7 kB / 1.214 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002361/0.8133, allocations: 71.17 kB / 1.214 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.809e-05/0.8134, allocations: 56.33 kB / 1.214 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.8134, allocations: 4 kB / 1.214 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/0.8134, allocations: 4 kB / 1.214 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.8134, allocations: 0 / 1.214 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001405/0.8148, allocations: 1.304 MB / 1.215 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.8149, allocations: 0 / 1.215 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002128/0.8151, allocations: 56.19 kB / 1.215 GB, free: 9.629 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.8151, allocations: 0 / 1.215 GB, free: 9.629 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.8151, allocations: 11.98 kB / 1.215 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.8151, allocations: 4 kB / 1.215 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.8151, allocations: 11.88 kB / 1.215 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004208/0.8156, allocations: 342.4 kB / 1.216 GB, free: 9.223 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/0.8157, allocations: 148.4 kB / 1.216 GB, free: 9.059 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.025e-05/0.8158, allocations: 11.98 kB / 1.216 GB, free: 9.047 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.816, allocations: 27.97 kB / 1.216 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.575e-05/0.816, allocations: 7.938 kB / 1.216 GB, free: 9.012 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.8161, allocations: 8 kB / 1.216 GB, free: 9.004 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005786/0.8166, allocations: 0.4951 MB / 1.216 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8166, allocations: 0 / 1.216 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004071/0.8171, allocations: 87.84 kB / 1.216 GB, free: 8.426 MB / 0.9669 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.0008878/0.818, allocations: 0.9137 MB / 1.217 GB, free: 7.465 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003334/0.8183, allocations: 111.8 kB / 1.217 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.8183, allocations: 384 / 1.217 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.8185, allocations: 75.83 kB / 1.218 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001604/0.8201, allocations: 273.8 kB / 1.218 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005831/0.8259, allocations: 4.723 MB / 1.222 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004937/0.8264, allocations: 0.9052 MB / 1.223 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002902/0.8267, allocations: 104.6 kB / 1.223 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001958/0.827, allocations: 171.4 kB / 1.224 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of SimCode: time 7.62e-07/0.827, allocations: 0 / 1.224 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02676/0.8537, allocations: 12.81 MB / 1.236 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001922/0.854, allocations: 244.2 kB / 1.236 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.294/3.148, allocations: 0 / 1.236 GB, free: 4.125 MB / 0.9825 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sources_Examples_PropertySource_h.fmu > 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