Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_9_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.001852/0.001852, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001827/0.001827, allocations: 196.1 kB / 16.14 MB, free: 6.711 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.247/1.247, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.078/2.078, allocations: 390.2 MB / 0.6643 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001305, allocations: 67.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5138/0.5151, allocations: 140.4 MB / 0.949 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1605/0.6757, allocations: 173.8 MB / 1.119 GB, free: 3.719 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.008827/0.6845, allocations: 8.706 MB / 1.127 GB, free: 10.99 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004877/0.685, allocations: 15.88 kB / 1.127 GB, free: 10.97 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006342/0.6857, allocations: 238.4 kB / 1.127 GB, free: 10.74 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0005841/0.6863, allocations: 294.7 kB / 1.128 GB, free: 10.45 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007781/0.6871, allocations: 342.7 kB / 1.128 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001228/0.6883, allocations: 1.616 MB / 1.13 GB, free: 8.492 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006011/0.6889, allocations: 0.5044 MB / 1.13 GB, free: 7.988 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003556/0.6925, allocations: 1.927 MB / 1.132 GB, free: 6.055 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003664/0.6929, allocations: 374.3 kB / 1.132 GB, free: 5.688 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 5.593e-05/0.693, allocations: 28 kB / 1.132 GB, free: 5.66 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001799/0.6931, allocations: 63.97 kB / 1.132 GB, free: 5.598 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000205/0.6934, allocations: 243.4 kB / 1.133 GB, free: 5.359 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002376/0.6936, allocations: 274.4 kB / 1.133 GB, free: 5.09 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0004917/0.6941, allocations: 0.5995 MB / 1.134 GB, free: 4.488 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.6941, allocations: 0 / 1.134 GB, free: 4.488 MB / 0.8887 GB Notification: Performance of FrontEnd: time 8.42e-07/0.6941, allocations: 0 / 1.134 GB, free: 4.488 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.6941, allocations: 0 / 1.134 GB, free: 4.488 MB / 0.8887 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.0009008/0.695, allocations: 0.816 MB / 1.134 GB, free: 3.625 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.6951, allocations: 8.031 kB / 1.134 GB, free: 3.617 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.249e-05/0.6952, allocations: 102.5 kB / 1.134 GB, free: 3.508 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.6953, allocations: 75.17 kB / 1.135 GB, free: 3.434 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004562/0.6957, allocations: 418.2 kB / 1.135 GB, free: 2.984 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.982e-05/0.6958, allocations: 37.31 kB / 1.135 GB, free: 2.949 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.324e-05/0.6958, allocations: 55.98 kB / 1.135 GB, free: 2.895 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008922/0.6967, allocations: 0.7027 MB / 1.136 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.6968, allocations: 3.938 kB / 1.136 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.206e-05/0.6968, allocations: 31.92 kB / 1.136 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-05/0.6969, allocations: 27.98 kB / 1.136 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005924/0.6975, allocations: 375.4 kB / 1.136 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00217/0.6996, allocations: 3.223 MB / 1.139 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/0.6999, allocations: 218.1 kB / 1.139 GB, free: 14 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001794/0.7001, allocations: 128.6 kB / 1.14 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.7001, allocations: 12 kB / 1.14 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.7001, allocations: 42.48 kB / 1.14 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.7001, allocations: 0 / 1.14 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0006412/0.7008, allocations: 256.5 kB / 1.14 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.792e-05/0.7009, allocations: 292 kB / 1.14 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006818/0.7016, allocations: 0.6954 MB / 1.141 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.7016, allocations: 29.7 kB / 1.141 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/0.7018, allocations: 264.2 kB / 1.141 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.022e-05/0.7018, allocations: 31.55 kB / 1.141 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-05/0.7019, allocations: 33.7 kB / 1.141 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.702, allocations: 370.8 kB / 1.142 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.7021, allocations: 35.97 kB / 1.142 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/0.7023, allocations: 93.11 kB / 1.142 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002252/0.7025, allocations: 129 kB / 1.142 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.7025, allocations: 0 / 1.142 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003225/0.7029, allocations: 196.8 kB / 1.142 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.7029, allocations: 12.12 kB / 1.142 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.7029, allocations: 7.938 kB / 1.142 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.7029, allocations: 0 / 1.142 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002122/0.7031, allocations: 35.97 kB / 1.142 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.7031, allocations: 3.984 kB / 1.142 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002086/0.7034, allocations: 59.36 kB / 1.142 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.7034, allocations: 8 kB / 1.142 GB, free: 11.12 MB / 0.9044 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.000188/0.7036, allocations: 205.7 kB / 1.142 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002071/0.7038, allocations: 63.19 kB / 1.142 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.234e-05/0.7039, allocations: 60.33 kB / 1.142 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.7039, allocations: 4 kB / 1.142 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.7039, allocations: 0 / 1.142 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.7039, allocations: 4 kB / 1.142 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/0.7052, allocations: 1.304 MB / 1.144 GB, free: 9.371 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.7052, allocations: 288 / 1.144 GB, free: 9.371 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001915/0.7054, allocations: 48 kB / 1.144 GB, free: 9.324 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.7054, allocations: 7.938 kB / 1.144 GB, free: 9.316 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.7054, allocations: 4 kB / 1.144 GB, free: 9.312 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.7054, allocations: 0 / 1.144 GB, free: 9.312 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.7054, allocations: 4 kB / 1.144 GB, free: 9.309 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003444/0.7058, allocations: 342.7 kB / 1.144 GB, free: 8.93 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.7059, allocations: 152.4 kB / 1.144 GB, free: 8.762 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.816e-05/0.706, allocations: 15.92 kB / 1.144 GB, free: 8.746 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.7062, allocations: 11.98 kB / 1.144 GB, free: 8.734 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.965e-05/0.7062, allocations: 11.94 kB / 1.144 GB, free: 8.723 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.998e-06/0.7062, allocations: 15.98 kB / 1.144 GB, free: 8.707 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004817/0.7067, allocations: 0.4912 MB / 1.145 GB, free: 8.219 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7067, allocations: 0 / 1.145 GB, free: 8.219 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003544/0.7071, allocations: 76 kB / 1.145 GB, free: 8.145 MB / 0.9044 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.0007452/0.7078, allocations: 0.9099 MB / 1.146 GB, free: 7.188 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002685/0.7081, allocations: 103.8 kB / 1.146 GB, free: 7.086 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.7081, allocations: 0 / 1.146 GB, free: 7.086 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.7083, allocations: 64.2 kB / 1.146 GB, free: 7.023 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/0.7095, allocations: 276.1 kB / 1.146 GB, free: 6.762 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004829/0.7143, allocations: 4.69 MB / 1.151 GB, free: 1.91 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/0.7147, allocations: 0.9013 MB / 1.152 GB, free: 0.9844 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.00022/0.7149, allocations: 104.6 kB / 1.152 GB, free: 0.8789 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001711/0.7151, allocations: 179.4 kB / 1.152 GB, free: 0.7031 MB / 0.9044 GB Notification: Performance of SimCode: time 2.21e-07/0.7151, allocations: 0 / 1.152 GB, free: 0.7031 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.063/1.778, allocations: 12.96 MB / 1.165 GB, free: 3.965 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001982/1.778, allocations: 243.6 kB / 1.165 GB, free: 3.711 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.903/3.681, allocations: 0 / 1.165 GB, free: 3.711 MB / 0.92 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_PropertySource_h.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches