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.007011/0.007011, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.001804/0.001804, allocations: 186.5 kB / 16.67 MB, free: 5.977 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.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 4.195 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.28/2.28, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 61.62 kB / 0.9504 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2237, allocations: 140.4 MB / 1.087 GB, free: 2.012 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1678/0.3915, allocations: 176 MB / 1.259 GB, free: 1.352 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.5528/0.9443, allocations: 8.693 MB / 1.268 GB, free: 3.668 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005351/0.9449, allocations: 22.59 kB / 1.268 GB, free: 3.668 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0006781/0.9456, allocations: 303.3 kB / 1.268 GB, free: 3.668 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0006508/0.9463, allocations: 310 kB / 1.268 GB, free: 3.652 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009495/0.9473, allocations: 377.5 kB / 1.269 GB, free: 3.648 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001088/0.9484, allocations: 1.15 MB / 1.27 GB, free: 3.648 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007856/0.9492, allocations: 0.5934 MB / 1.27 GB, free: 3.613 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004344/0.9535, allocations: 2.056 MB / 1.272 GB, free: 3.562 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004842/0.954, allocations: 350.5 kB / 1.273 GB, free: 3.559 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.455e-05/0.9541, allocations: 41.06 kB / 1.273 GB, free: 3.559 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002416/0.9543, allocations: 90.95 kB / 1.273 GB, free: 3.555 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002786/0.9546, allocations: 259.1 kB / 1.273 GB, free: 3.555 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0003169/0.955, allocations: 281.4 kB / 1.273 GB, free: 3.555 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0007242/0.9557, allocations: 0.6247 MB / 1.274 GB, free: 3.516 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.9557, allocations: 0.8125 kB / 1.274 GB, free: 3.516 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.253e-06/0.9557, allocations: 5.406 kB / 1.274 GB, free: 3.516 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.9557, allocations: 0 / 1.274 GB, free: 3.516 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.0009699/0.9567, allocations: 0.8232 MB / 1.275 GB, free: 2.977 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.9567, allocations: 10.31 kB / 1.275 GB, free: 2.977 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.752e-05/0.9569, allocations: 97.19 kB / 1.275 GB, free: 2.938 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001105/0.957, allocations: 66.86 kB / 1.275 GB, free: 2.906 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006847/0.9577, allocations: 452.5 kB / 1.275 GB, free: 2.656 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.827e-05/0.9577, allocations: 41.69 kB / 1.276 GB, free: 2.656 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.906e-05/0.9578, allocations: 52.41 kB / 1.276 GB, free: 2.656 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/0.9589, allocations: 0.7011 MB / 1.276 GB, free: 2.414 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.9589, allocations: 7.844 kB / 1.276 GB, free: 2.414 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.854e-05/0.9589, allocations: 20.69 kB / 1.276 GB, free: 2.414 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.6e-05/0.959, allocations: 31.39 kB / 1.276 GB, free: 2.414 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007656/0.9598, allocations: 374.7 kB / 1.277 GB, free: 2.414 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002511/0.9623, allocations: 3.221 MB / 1.28 GB, free: 16.02 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002127/0.9625, allocations: 218.9 kB / 1.28 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001986/0.9628, allocations: 131 kB / 1.28 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.515e-05/0.9628, allocations: 4.281 kB / 1.28 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.9628, allocations: 53.48 kB / 1.28 GB, free: 15.66 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.673e-06/0.9628, allocations: 0 / 1.28 GB, free: 15.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0006918/0.9635, allocations: 244.6 kB / 1.28 GB, free: 15.61 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.9636, allocations: 293 kB / 1.281 GB, free: 15.26 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007352/0.9644, allocations: 0.6848 MB / 1.281 GB, free: 15.13 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.9644, allocations: 31.08 kB / 1.281 GB, free: 15.1 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.9646, allocations: 266.7 kB / 1.282 GB, free: 15.01 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.904e-05/0.9646, allocations: 38.62 kB / 1.282 GB, free: 14.98 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-05/0.9647, allocations: 31.94 kB / 1.282 GB, free: 14.97 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.9648, allocations: 373 kB / 1.282 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.9649, allocations: 38.16 kB / 1.282 GB, free: 14.65 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.9651, allocations: 96.25 kB / 1.282 GB, free: 14.61 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002507/0.9654, allocations: 128.4 kB / 1.282 GB, free: 14.56 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.9654, allocations: 1.875 kB / 1.282 GB, free: 14.56 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003545/0.9657, allocations: 186.7 kB / 1.283 GB, free: 14.5 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.9658, allocations: 7.75 kB / 1.283 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.9658, allocations: 6.156 kB / 1.283 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.9658, allocations: 2 kB / 1.283 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002298/0.966, allocations: 46.36 kB / 1.283 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.966, allocations: 2.219 kB / 1.283 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000204/0.9663, allocations: 60.45 kB / 1.283 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.328e-05/0.9663, allocations: 13.88 kB / 1.283 GB, free: 14.46 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.0001901/0.9665, allocations: 200.9 kB / 1.283 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002031/0.9667, allocations: 57.78 kB / 1.283 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.068e-05/0.9668, allocations: 64.56 kB / 1.283 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.9668, allocations: 4.688 kB / 1.283 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.9668, allocations: 3.781 kB / 1.283 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.9668, allocations: 7.484 kB / 1.283 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001309/0.9681, allocations: 1.299 MB / 1.284 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.9681, allocations: 2.281 kB / 1.284 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/0.9683, allocations: 47.12 kB / 1.284 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.9684, allocations: 4.344 kB / 1.284 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.9684, allocations: 2.25 kB / 1.284 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.9684, allocations: 4.531 kB / 1.284 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.9684, allocations: 7.5 kB / 1.284 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003866/0.9688, allocations: 337.5 kB / 1.285 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000162/0.969, allocations: 144 kB / 1.285 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.766e-05/0.969, allocations: 8.234 kB / 1.285 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.9692, allocations: 8.547 kB / 1.285 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/0.9693, allocations: 20.08 kB / 1.285 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.9693, allocations: 6 kB / 1.285 GB, free: 12.96 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005242/0.9698, allocations: 0.4942 MB / 1.285 GB, free: 12.87 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9698, allocations: 0 / 1.285 GB, free: 12.87 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00046/0.9703, allocations: 85.69 kB / 1.285 GB, free: 12.86 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.0008725/0.9712, allocations: 0.9131 MB / 1.286 GB, free: 12.1 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003582/0.9715, allocations: 108.8 kB / 1.286 GB, free: 12.09 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.9715, allocations: 1.281 kB / 1.286 GB, free: 12.09 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001787/0.9717, allocations: 62.14 kB / 1.286 GB, free: 12.09 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/0.9731, allocations: 285.9 kB / 1.287 GB, free: 12.05 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005539/0.9786, allocations: 4.435 MB / 1.291 GB, free: 10.34 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004828/0.9791, allocations: 0.9074 MB / 1.292 GB, free: 9.641 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002805/0.9794, allocations: 105.1 kB / 1.292 GB, free: 9.633 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001796/0.9796, allocations: 172.9 kB / 1.292 GB, free: 9.625 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.9796, allocations: 0.875 kB / 1.292 GB, free: 9.625 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03605/1.016, allocations: 13.59 MB / 1.305 GB, free: 8.59 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.108/9.124, allocations: 7.438 kB / 1.305 GB, free: 8.586 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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