Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_latest_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.001348/0.001348, allocations: 108 kB / 15.61 MB, free: 152 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.001252/0.001252, allocations: 193.2 kB / 16.53 MB, free: 6.664 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.298/1.298, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.67/2.67, allocations: 469.4 MB / 0.742 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 63.25 kB / 0.9083 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3074, allocations: 159.1 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1885/0.4959, allocations: 176 MB / 1.236 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01038/0.5064, allocations: 8.721 MB / 1.244 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006337/0.507, allocations: 19.88 kB / 1.244 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007559/0.5078, allocations: 301.8 kB / 1.244 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007857/0.5086, allocations: 306.4 kB / 1.245 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.5097, allocations: 376 kB / 1.245 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00123/0.5109, allocations: 1.156 MB / 1.246 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008521/0.5118, allocations: 0.5919 MB / 1.247 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00438/0.5162, allocations: 2.059 MB / 1.249 GB, free: 324 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.7447/1.261, allocations: 341.8 kB / 1.249 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001861/1.261, allocations: 39.22 kB / 1.249 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003244/1.261, allocations: 79.08 kB / 1.249 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003101/1.262, allocations: 254.9 kB / 1.249 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000346/1.262, allocations: 282.5 kB / 1.25 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007351/1.263, allocations: 0.6095 MB / 1.25 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/1.263, allocations: 0.5938 kB / 1.25 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.004e-06/1.263, allocations: 3.078 kB / 1.25 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.678e-06/1.263, allocations: 0 / 1.25 GB, free: 6.504 MB / 0.9981 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.0009067/1.264, allocations: 0.8239 MB / 1.251 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/1.264, allocations: 9.828 kB / 1.251 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.71e-05/1.264, allocations: 99.39 kB / 1.251 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/1.264, allocations: 66.78 kB / 1.251 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006236/1.265, allocations: 410.8 kB / 1.252 GB, free: 21.72 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.212e-05/1.265, allocations: 39.36 kB / 1.252 GB, free: 21.71 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.014e-05/1.265, allocations: 57.72 kB / 1.252 GB, free: 21.71 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000966/1.266, allocations: 0.7044 MB / 1.252 GB, free: 21.47 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/1.266, allocations: 4.938 kB / 1.252 GB, free: 21.47 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.516e-05/1.266, allocations: 24.52 kB / 1.252 GB, free: 21.47 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.251e-05/1.266, allocations: 32.91 kB / 1.252 GB, free: 21.47 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006218/1.267, allocations: 377.8 kB / 1.253 GB, free: 21.47 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002239/1.269, allocations: 3.229 MB / 1.256 GB, free: 19.09 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/1.269, allocations: 219.3 kB / 1.256 GB, free: 18.86 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001681/1.269, allocations: 124.9 kB / 1.256 GB, free: 18.78 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/1.269, allocations: 7.125 kB / 1.256 GB, free: 18.78 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/1.269, allocations: 49.97 kB / 1.256 GB, free: 18.73 MB / 1.014 GB Notification: Performance of pre-optimization done (n=10): time 2.104e-06/1.269, allocations: 1.562 kB / 1.256 GB, free: 18.73 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.0006648/1.27, allocations: 250.1 kB / 1.257 GB, free: 18.67 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/1.27, allocations: 295.6 kB / 1.257 GB, free: 18.33 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007054/1.271, allocations: 0.6888 MB / 1.258 GB, free: 18.2 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/1.271, allocations: 27.64 kB / 1.258 GB, free: 18.17 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/1.271, allocations: 269.4 kB / 1.258 GB, free: 18.07 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/1.271, allocations: 35.17 kB / 1.258 GB, free: 18.05 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.814e-05/1.271, allocations: 29.23 kB / 1.258 GB, free: 18.04 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001282/1.271, allocations: 368.9 kB / 1.258 GB, free: 17.73 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/1.271, allocations: 38.88 kB / 1.258 GB, free: 17.73 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/1.271, allocations: 97.81 kB / 1.258 GB, free: 17.68 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002201/1.272, allocations: 122.9 kB / 1.258 GB, free: 17.63 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/1.272, allocations: 5.859 kB / 1.259 GB, free: 17.63 MB / 1.014 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003185/1.272, allocations: 198.1 kB / 1.259 GB, free: 17.57 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/1.272, allocations: 9.344 kB / 1.259 GB, free: 17.57 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/1.272, allocations: 0 / 1.259 GB, free: 17.57 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/1.272, allocations: 4 kB / 1.259 GB, free: 17.57 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002198/1.272, allocations: 40.88 kB / 1.259 GB, free: 17.57 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/1.272, allocations: 3.906 kB / 1.259 GB, free: 17.57 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/1.273, allocations: 54.62 kB / 1.259 GB, free: 17.54 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.063e-05/1.273, allocations: 13.77 kB / 1.259 GB, free: 17.54 MB / 1.014 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.0001733/1.273, allocations: 196.2 kB / 1.259 GB, free: 17.42 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000207/1.273, allocations: 67.97 kB / 1.259 GB, free: 17.39 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.525e-05/1.273, allocations: 59.27 kB / 1.259 GB, free: 17.38 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/1.273, allocations: 5.875 kB / 1.259 GB, free: 17.38 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/1.273, allocations: 3.906 kB / 1.259 GB, free: 17.38 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/1.273, allocations: 3.094 kB / 1.259 GB, free: 17.38 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00131/1.274, allocations: 1.301 MB / 1.26 GB, free: 16.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/1.274, allocations: 0.875 kB / 1.26 GB, free: 16.4 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/1.275, allocations: 49.42 kB / 1.26 GB, free: 16.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/1.275, allocations: 3.188 kB / 1.26 GB, free: 16.4 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/1.275, allocations: 3.5 kB / 1.26 GB, free: 16.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/1.275, allocations: 3.812 kB / 1.26 GB, free: 16.4 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/1.275, allocations: 10.98 kB / 1.26 GB, free: 16.4 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003285/1.275, allocations: 329.7 kB / 1.261 GB, free: 16.17 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/1.275, allocations: 150.1 kB / 1.261 GB, free: 16.05 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.851e-05/1.275, allocations: 7.188 kB / 1.261 GB, free: 16.05 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/1.275, allocations: 12.06 kB / 1.261 GB, free: 16.05 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/1.275, allocations: 19.97 kB / 1.261 GB, free: 16.04 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.583e-06/1.275, allocations: 6.531 kB / 1.261 GB, free: 16.04 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004637/1.276, allocations: 0.4918 MB / 1.261 GB, free: 15.95 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.276, allocations: 0 / 1.261 GB, free: 15.95 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000372/1.276, allocations: 81.48 kB / 1.262 GB, free: 15.95 MB / 1.014 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.0007482/1.277, allocations: 0.9146 MB / 1.262 GB, free: 15.19 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002904/1.277, allocations: 105.5 kB / 1.263 GB, free: 15.19 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/1.277, allocations: 0 / 1.263 GB, free: 15.19 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001333/1.277, allocations: 67.56 kB / 1.263 GB, free: 15.19 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/1.279, allocations: 285.5 kB / 1.263 GB, free: 15.16 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004557/1.283, allocations: 4.567 MB / 1.267 GB, free: 13.32 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/1.284, allocations: 0.9022 MB / 1.268 GB, free: 12.62 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000268/1.284, allocations: 105.9 kB / 1.268 GB, free: 12.61 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000158/1.284, allocations: 172.9 kB / 1.268 GB, free: 12.61 MB / 1.014 GB Notification: Performance of SimCode: time 3.1e-07/1.284, allocations: 0 / 1.268 GB, free: 12.61 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03204/1.316, allocations: 13.47 MB / 1.282 GB, free: 11.76 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.25/8.566, allocations: 5.141 kB / 1.282 GB, free: 11.76 MB / 1.014 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_Sources_Examples_PropertySource_h.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches