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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.004215/0.004215, allocations: 101 kB / 15.73 MB, free: 6.035 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.001029/0.001029, allocations: 193.4 kB / 16.67 MB, free: 5.973 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.267/1.267, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.111/2.111, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00105/0.00105, allocations: 59.22 kB / 0.9504 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.2141, allocations: 140.4 MB / 1.087 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1504/0.3645, allocations: 176 MB / 1.259 GB, free: 1.348 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.4706/0.8352, allocations: 8.706 MB / 1.268 GB, free: 3.156 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004181/0.8356, allocations: 24.09 kB / 1.268 GB, free: 3.156 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005807/0.8362, allocations: 298.6 kB / 1.268 GB, free: 3.156 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0005654/0.8368, allocations: 306.7 kB / 1.268 GB, free: 3.145 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007928/0.8376, allocations: 375.7 kB / 1.269 GB, free: 3.141 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0009703/0.8386, allocations: 1.155 MB / 1.27 GB, free: 3.141 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006907/0.8393, allocations: 0.5904 MB / 1.27 GB, free: 3.105 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003745/0.843, allocations: 2.064 MB / 1.272 GB, free: 3.051 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003877/0.8434, allocations: 348.6 kB / 1.273 GB, free: 3.051 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.422e-05/0.8435, allocations: 40.62 kB / 1.273 GB, free: 3.051 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001991/0.8437, allocations: 80.48 kB / 1.273 GB, free: 3.051 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000249/0.844, allocations: 257.1 kB / 1.273 GB, free: 3.051 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.00028/0.8443, allocations: 284.4 kB / 1.273 GB, free: 3.051 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0006365/0.8449, allocations: 0.6321 MB / 1.274 GB, free: 3.008 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.8449, allocations: 1.094 kB / 1.274 GB, free: 3.008 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.332e-06/0.8449, allocations: 1.203 kB / 1.274 GB, free: 3.008 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.8449, allocations: 0 / 1.274 GB, free: 3.008 MB / 1.014 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.000845/0.8458, allocations: 0.8224 MB / 1.275 GB, free: 2.473 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.8458, allocations: 9.969 kB / 1.275 GB, free: 2.473 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.381e-05/0.8459, allocations: 94.78 kB / 1.275 GB, free: 2.434 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.846, allocations: 65.5 kB / 1.275 GB, free: 2.402 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006093/0.8466, allocations: 453.4 kB / 1.275 GB, free: 2.152 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.132e-05/0.8467, allocations: 41.09 kB / 1.276 GB, free: 2.152 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.123e-05/0.8468, allocations: 49.22 kB / 1.276 GB, free: 2.152 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009628/0.8477, allocations: 0.7031 MB / 1.276 GB, free: 1.91 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.8478, allocations: 6.719 kB / 1.276 GB, free: 1.91 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.562e-05/0.8478, allocations: 26.22 kB / 1.276 GB, free: 1.91 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.117e-05/0.8479, allocations: 33.62 kB / 1.276 GB, free: 1.91 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000695/0.8486, allocations: 379.9 kB / 1.277 GB, free: 1.91 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00231/0.8509, allocations: 3.218 MB / 1.28 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001981/0.8511, allocations: 222 kB / 1.28 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/0.8513, allocations: 131.8 kB / 1.28 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.44e-05/0.8513, allocations: 4.609 kB / 1.28 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.8513, allocations: 49.12 kB / 1.28 GB, free: 15.16 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.8514, allocations: 0.5 kB / 1.28 GB, free: 15.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0006201/0.852, allocations: 253.4 kB / 1.28 GB, free: 15.1 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.574e-05/0.8521, allocations: 292.1 kB / 1.281 GB, free: 14.75 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006555/0.8527, allocations: 0.6865 MB / 1.281 GB, free: 14.62 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.8528, allocations: 28.23 kB / 1.281 GB, free: 14.59 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.8529, allocations: 267 kB / 1.282 GB, free: 14.5 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.853, allocations: 34.44 kB / 1.282 GB, free: 14.48 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.547e-05/0.853, allocations: 32.92 kB / 1.282 GB, free: 14.46 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.8531, allocations: 372.3 kB / 1.282 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/0.8533, allocations: 36.94 kB / 1.282 GB, free: 14.14 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.8534, allocations: 97.11 kB / 1.282 GB, free: 14.1 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002117/0.8536, allocations: 126.3 kB / 1.282 GB, free: 14.05 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.8536, allocations: 0 / 1.282 GB, free: 14.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003121/0.8539, allocations: 193.1 kB / 1.283 GB, free: 13.99 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.854, allocations: 5.75 kB / 1.283 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.854, allocations: 2.25 kB / 1.283 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.854, allocations: 3.484 kB / 1.283 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002024/0.8542, allocations: 37.83 kB / 1.283 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.8542, allocations: 6.188 kB / 1.283 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001759/0.8544, allocations: 60.66 kB / 1.283 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.8544, allocations: 11.5 kB / 1.283 GB, free: 13.95 MB / 1.029 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.0001808/0.8546, allocations: 202.2 kB / 1.283 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001827/0.8548, allocations: 57.31 kB / 1.283 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.237e-05/0.8549, allocations: 60.34 kB / 1.283 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.8549, allocations: 4.234 kB / 1.283 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.8549, allocations: 4.938 kB / 1.283 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.8549, allocations: 6.625 kB / 1.283 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001189/0.8561, allocations: 1.302 MB / 1.284 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.8561, allocations: 3.875 kB / 1.284 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001809/0.8563, allocations: 46.56 kB / 1.284 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.8563, allocations: 7.969 kB / 1.284 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.8563, allocations: 3.312 kB / 1.284 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.8563, allocations: 4.625 kB / 1.284 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.8563, allocations: 3.75 kB / 1.284 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003428/0.8567, allocations: 340.5 kB / 1.285 GB, free: 12.58 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001422/0.8568, allocations: 148.1 kB / 1.285 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.044e-05/0.8569, allocations: 4.875 kB / 1.285 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.8571, allocations: 9.047 kB / 1.285 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.8571, allocations: 19.91 kB / 1.285 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.8571, allocations: 6.969 kB / 1.285 GB, free: 12.45 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005024/0.8576, allocations: 0.4922 MB / 1.285 GB, free: 12.36 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8576, allocations: 1.656 kB / 1.285 GB, free: 12.36 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003776/0.858, allocations: 85.91 kB / 1.285 GB, free: 12.36 MB / 1.029 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.0007739/0.8588, allocations: 0.9062 MB / 1.286 GB, free: 11.6 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003159/0.8591, allocations: 113 kB / 1.286 GB, free: 11.6 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.8591, allocations: 192 / 1.286 GB, free: 11.6 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.8593, allocations: 63.64 kB / 1.286 GB, free: 11.6 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001477/0.8608, allocations: 282.5 kB / 1.287 GB, free: 11.55 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004564/0.8653, allocations: 4.429 MB / 1.291 GB, free: 9.844 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004043/0.8657, allocations: 0.9055 MB / 1.292 GB, free: 9.148 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002381/0.866, allocations: 108.5 kB / 1.292 GB, free: 9.137 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001623/0.8662, allocations: 171.3 kB / 1.292 GB, free: 9.129 MB / 1.029 GB Notification: Performance of SimCode: time 2.1e-07/0.8662, allocations: 2.078 kB / 1.292 GB, free: 9.129 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4416/1.308, allocations: 13.6 MB / 1.305 GB, free: 8.082 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.777/10.09, allocations: 5.094 kB / 1.305 GB, free: 8.078 MB / 1.029 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