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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001762/0.001769, 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.002037/0.002037, allocations: 193.2 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.381/1.381, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.538/2.538, allocations: 437 MB / 0.7104 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 59.91 kB / 0.8693 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5165/0.5179, allocations: 151.6 MB / 1.017 GB, free: 2.461 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1664/0.6844, allocations: 176 MB / 1.189 GB, free: 1.797 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.009467/0.6939, allocations: 8.704 MB / 1.198 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006449/0.6946, allocations: 19.88 kB / 1.198 GB, free: 9.043 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0007844/0.6954, allocations: 297.8 kB / 1.198 GB, free: 8.75 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0008203/0.6962, allocations: 314.4 kB / 1.198 GB, free: 8.441 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.6972, allocations: 376.3 kB / 1.199 GB, free: 8.078 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001239/0.6985, allocations: 1.148 MB / 1.2 GB, free: 6.926 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008728/0.6994, allocations: 0.5921 MB / 1.2 GB, free: 6.332 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004208/0.7036, allocations: 2.058 MB / 1.202 GB, free: 4.266 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005236/0.7041, allocations: 350.4 kB / 1.203 GB, free: 3.922 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.783e-05/0.7042, allocations: 43.94 kB / 1.203 GB, free: 3.879 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002482/0.7045, allocations: 75.97 kB / 1.203 GB, free: 3.805 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002661/0.7048, allocations: 259.3 kB / 1.203 GB, free: 3.551 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003168/0.7051, allocations: 286.5 kB / 1.203 GB, free: 3.27 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006344/0.7057, allocations: 0.6112 MB / 1.204 GB, free: 2.656 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.7057, allocations: 0 / 1.204 GB, free: 2.656 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.362e-06/0.7057, allocations: 4 kB / 1.204 GB, free: 2.652 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.985e-05/0.7058, allocations: 0 / 1.204 GB, free: 2.652 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.001051/0.7068, allocations: 0.8203 MB / 1.205 GB, free: 1.785 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.7069, allocations: 12.03 kB / 1.205 GB, free: 1.773 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001031/0.707, allocations: 98.52 kB / 1.205 GB, free: 1.668 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.7071, allocations: 67.19 kB / 1.205 GB, free: 1.602 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005092/0.7076, allocations: 414.1 kB / 1.205 GB, free: 1.156 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.904e-05/0.7077, allocations: 49.28 kB / 1.205 GB, free: 1.105 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.664e-05/0.7077, allocations: 44 kB / 1.205 GB, free: 1.062 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009441/0.7087, allocations: 0.7105 MB / 1.206 GB, free: 276 kB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.7087, allocations: 8 kB / 1.206 GB, free: 268 kB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.434e-05/0.7088, allocations: 23.94 kB / 1.206 GB, free: 244 kB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.255e-05/0.7088, allocations: 31.92 kB / 1.206 GB, free: 212 kB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006368/0.7095, allocations: 367.4 kB / 1.207 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002384/0.7118, allocations: 3.235 MB / 1.21 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002377/0.7121, allocations: 218.3 kB / 1.21 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001895/0.7123, allocations: 128.5 kB / 1.21 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.7123, allocations: 7.938 kB / 1.21 GB, free: 12 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.7124, allocations: 46.5 kB / 1.21 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.7124, allocations: 0 / 1.21 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0007003/0.7131, allocations: 253.4 kB / 1.21 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.7132, allocations: 294.7 kB / 1.211 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000715/0.7139, allocations: 0.6838 MB / 1.211 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.7139, allocations: 30.11 kB / 1.211 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.00019/0.7141, allocations: 268.2 kB / 1.212 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.715e-05/0.7142, allocations: 31.55 kB / 1.212 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.382e-05/0.7142, allocations: 29.72 kB / 1.212 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.7144, allocations: 370.8 kB / 1.212 GB, free: 9.906 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.7145, allocations: 31.97 kB / 1.212 GB, free: 9.875 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001661/0.7147, allocations: 97.09 kB / 1.212 GB, free: 9.762 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002493/0.7149, allocations: 137.1 kB / 1.212 GB, free: 9.609 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.715, allocations: 0 / 1.212 GB, free: 9.609 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003628/0.7153, allocations: 188.7 kB / 1.212 GB, free: 9.418 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.7154, allocations: 11.94 kB / 1.212 GB, free: 9.406 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.7154, allocations: 0 / 1.212 GB, free: 9.406 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.7154, allocations: 192 / 1.212 GB, free: 9.406 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002282/0.7156, allocations: 47.95 kB / 1.212 GB, free: 9.359 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.7156, allocations: 4 kB / 1.212 GB, free: 9.355 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/0.7158, allocations: 51.36 kB / 1.213 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.7159, allocations: 8 kB / 1.213 GB, free: 9.297 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.000184/0.7161, allocations: 205.7 kB / 1.213 GB, free: 9.086 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00022/0.7163, allocations: 63.19 kB / 1.213 GB, free: 9.023 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.783e-05/0.7164, allocations: 60.33 kB / 1.213 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.7164, allocations: 4 kB / 1.213 GB, free: 8.949 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.7164, allocations: 4 kB / 1.213 GB, free: 8.945 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.7164, allocations: 0 / 1.213 GB, free: 8.945 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001248/0.7177, allocations: 1.308 MB / 1.214 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.7177, allocations: 4 kB / 1.214 GB, free: 7.543 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/0.7179, allocations: 43.95 kB / 1.214 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.664e-06/0.7179, allocations: 7.984 kB / 1.214 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.7179, allocations: 4.281 kB / 1.214 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.7179, allocations: 8 kB / 1.214 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.7179, allocations: 7.875 kB / 1.214 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003802/0.7183, allocations: 330.4 kB / 1.215 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/0.7185, allocations: 152.3 kB / 1.215 GB, free: 6.938 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.006e-05/0.7185, allocations: 7.984 kB / 1.215 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/0.7187, allocations: 16 kB / 1.215 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/0.7188, allocations: 15.86 kB / 1.215 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.7188, allocations: 4 kB / 1.215 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005036/0.7193, allocations: 0.4951 MB / 1.215 GB, free: 6.406 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7193, allocations: 0 / 1.215 GB, free: 6.406 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003811/0.7197, allocations: 83.91 kB / 1.215 GB, free: 6.324 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.0008036/0.7205, allocations: 0.9087 MB / 1.216 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003081/0.7208, allocations: 111.7 kB / 1.216 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.7208, allocations: 0 / 1.216 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.721, allocations: 59.89 kB / 1.216 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00133/0.7223, allocations: 285.1 kB / 1.217 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005149/0.7275, allocations: 4.58 MB / 1.221 GB, free: 188 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004214/0.7279, allocations: 0.905 MB / 1.222 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002651/0.7282, allocations: 104.6 kB / 1.222 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001883/0.7284, allocations: 175.4 kB / 1.222 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of SimCode: time 5.71e-07/0.7284, allocations: 0 / 1.222 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03346/0.7618, allocations: 13.47 MB / 1.235 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.229/7.991, allocations: 9.438 kB / 1.235 GB, free: 1.719 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 & python3 -m fmpy simulate --output-file Buildings_10_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_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.csv","/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