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.001637/0.001637, allocations: 108 kB / 15.6 MB, free: 132 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.001829/0.001829, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.308/1.308, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.31/2.31, allocations: 390.2 MB / 0.6647 GB, free: 252 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 67.88 kB / 0.8126 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5363/0.5377, allocations: 140.4 MB / 0.9497 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1649/0.7026, allocations: 176 MB / 1.122 GB, free: 1.164 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.009189/0.7118, allocations: 8.71 MB / 1.13 GB, free: 8.43 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005403/0.7124, allocations: 19.88 kB / 1.13 GB, free: 8.41 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006973/0.7131, allocations: 301.8 kB / 1.13 GB, free: 8.113 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0007009/0.7138, allocations: 306.4 kB / 1.131 GB, free: 7.812 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009342/0.7148, allocations: 376.6 kB / 1.131 GB, free: 7.445 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001106/0.7159, allocations: 1.141 MB / 1.132 GB, free: 6.297 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007669/0.7167, allocations: 0.5959 MB / 1.133 GB, free: 5.699 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003876/0.7206, allocations: 2.058 MB / 1.135 GB, free: 3.633 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004259/0.721, allocations: 342.5 kB / 1.135 GB, free: 3.297 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 7.656e-05/0.7211, allocations: 40 kB / 1.135 GB, free: 3.258 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002045/0.7213, allocations: 79.95 kB / 1.135 GB, free: 3.18 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002304/0.7215, allocations: 263.3 kB / 1.135 GB, free: 2.922 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002646/0.7218, allocations: 282.5 kB / 1.136 GB, free: 2.645 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0005562/0.7224, allocations: 0.6074 MB / 1.136 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.7224, allocations: 0 / 1.136 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.112e-06/0.7224, allocations: 4 kB / 1.136 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.421e-05/0.7224, allocations: 7.984 kB / 1.136 GB, free: 2.023 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.0009148/0.7233, allocations: 0.8145 MB / 1.137 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.7234, allocations: 8.031 kB / 1.137 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.572e-05/0.7235, allocations: 106.4 kB / 1.137 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.7236, allocations: 67.19 kB / 1.137 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004735/0.7241, allocations: 410.2 kB / 1.138 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.102e-05/0.7241, allocations: 45.25 kB / 1.138 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.19e-05/0.7242, allocations: 55.98 kB / 1.138 GB, free: 448 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009215/0.7251, allocations: 0.7027 MB / 1.138 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.7251, allocations: 4 kB / 1.138 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.553e-05/0.7252, allocations: 31.92 kB / 1.138 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.868e-05/0.7252, allocations: 27.92 kB / 1.139 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006215/0.7259, allocations: 376.8 kB / 1.139 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002236/0.7281, allocations: 3.231 MB / 1.142 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000236/0.7284, allocations: 218.1 kB / 1.142 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000184/0.7286, allocations: 128.6 kB / 1.142 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.7286, allocations: 7.938 kB / 1.142 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.7286, allocations: 42.5 kB / 1.142 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 1.303e-06/0.7286, allocations: 0 / 1.142 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0006699/0.7293, allocations: 253.4 kB / 1.143 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.959e-05/0.7294, allocations: 298.7 kB / 1.143 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006722/0.7301, allocations: 0.6803 MB / 1.144 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.7301, allocations: 30.11 kB / 1.144 GB, free: 9.984 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001895/0.7303, allocations: 268.2 kB / 1.144 GB, free: 9.719 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.546e-05/0.7303, allocations: 43.47 kB / 1.144 GB, free: 9.676 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.265e-05/0.7304, allocations: 29.7 kB / 1.144 GB, free: 9.641 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.7305, allocations: 366.8 kB / 1.144 GB, free: 9.273 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.7306, allocations: 39.95 kB / 1.144 GB, free: 9.234 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/0.7308, allocations: 97.11 kB / 1.144 GB, free: 9.121 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000241/0.7311, allocations: 129 kB / 1.145 GB, free: 8.977 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.7311, allocations: 0 / 1.145 GB, free: 8.977 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003405/0.7314, allocations: 184.8 kB / 1.145 GB, free: 8.789 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.7315, allocations: 11.94 kB / 1.145 GB, free: 8.777 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.7315, allocations: 0 / 1.145 GB, free: 8.777 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.7315, allocations: 4 kB / 1.145 GB, free: 8.773 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.7317, allocations: 44.14 kB / 1.145 GB, free: 8.73 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.7317, allocations: 4 kB / 1.145 GB, free: 8.727 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.7319, allocations: 51.36 kB / 1.145 GB, free: 8.676 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.235e-05/0.732, allocations: 8 kB / 1.145 GB, free: 8.668 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.0001788/0.7321, allocations: 205.7 kB / 1.145 GB, free: 8.457 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002194/0.7324, allocations: 67.17 kB / 1.145 GB, free: 8.391 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.269e-05/0.7324, allocations: 60.33 kB / 1.145 GB, free: 8.324 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.7325, allocations: 4.188 kB / 1.145 GB, free: 8.32 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.7325, allocations: 4 kB / 1.145 GB, free: 8.316 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.7325, allocations: 11.92 kB / 1.145 GB, free: 8.305 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00123/0.7337, allocations: 1.297 MB / 1.146 GB, free: 6.918 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.7337, allocations: 4 kB / 1.146 GB, free: 6.914 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002025/0.7339, allocations: 47.89 kB / 1.147 GB, free: 6.867 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.7339, allocations: 0 / 1.147 GB, free: 6.867 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.734, allocations: 4.281 kB / 1.147 GB, free: 6.863 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.734, allocations: 8 kB / 1.147 GB, free: 6.855 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.734, allocations: 4 kB / 1.147 GB, free: 6.852 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00038/0.7344, allocations: 338.4 kB / 1.147 GB, free: 6.477 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/0.7345, allocations: 152.3 kB / 1.147 GB, free: 6.309 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.789e-05/0.7346, allocations: 4 kB / 1.147 GB, free: 6.305 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.7348, allocations: 12 kB / 1.147 GB, free: 6.293 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.7348, allocations: 11.92 kB / 1.147 GB, free: 6.281 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.7348, allocations: 12 kB / 1.147 GB, free: 6.27 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004956/0.7353, allocations: 499 kB / 1.148 GB, free: 5.789 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.166e-06/0.7353, allocations: 0 / 1.148 GB, free: 5.789 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003761/0.7357, allocations: 87.88 kB / 1.148 GB, free: 5.703 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.0007524/0.7365, allocations: 0.913 MB / 1.148 GB, free: 4.742 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003013/0.7368, allocations: 111.7 kB / 1.149 GB, free: 4.633 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.7368, allocations: 0 / 1.149 GB, free: 4.633 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.7369, allocations: 63.83 kB / 1.149 GB, free: 4.57 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/0.7383, allocations: 282.1 kB / 1.149 GB, free: 4.297 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005024/0.7433, allocations: 4.575 MB / 1.153 GB, free: 15.56 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004095/0.7437, allocations: 0.9011 MB / 1.154 GB, free: 14.63 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002535/0.744, allocations: 108.6 kB / 1.154 GB, free: 14.53 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001784/0.7442, allocations: 171.4 kB / 1.155 GB, free: 14.36 MB / 0.92 GB Notification: Performance of SimCode: time 3.41e-07/0.7442, allocations: 0 / 1.155 GB, free: 14.36 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03131/0.7755, allocations: 13.47 MB / 1.168 GB, free: 1.105 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.32/8.096, allocations: 0 / 1.168 GB, free: 1.105 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 & 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