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.001099/0.001099, 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.001242/0.001242, allocations: 195.5 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.259/1.259, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.502/2.502, allocations: 437 MB / 0.7104 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 59.91 kB / 0.8693 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5465/0.5478, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1617/0.7095, allocations: 176 MB / 1.189 GB, free: 1.824 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.009341/0.7189, allocations: 8.705 MB / 1.198 GB, free: 9.09 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005653/0.7195, allocations: 23.81 kB / 1.198 GB, free: 9.066 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0007315/0.7203, allocations: 297.8 kB / 1.198 GB, free: 8.773 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0007458/0.721, allocations: 314.4 kB / 1.198 GB, free: 8.465 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009752/0.722, allocations: 371.2 kB / 1.199 GB, free: 8.105 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001216/0.7232, allocations: 1.144 MB / 1.2 GB, free: 6.957 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008274/0.7241, allocations: 0.5921 MB / 1.2 GB, free: 6.363 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003961/0.7281, allocations: 2.059 MB / 1.202 GB, free: 4.297 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004716/0.7285, allocations: 354.4 kB / 1.203 GB, free: 3.949 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 7.89e-05/0.7286, allocations: 40 kB / 1.203 GB, free: 3.91 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002188/0.7288, allocations: 75.97 kB / 1.203 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002416/0.7291, allocations: 255.4 kB / 1.203 GB, free: 3.586 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002993/0.7294, allocations: 282.5 kB / 1.203 GB, free: 3.309 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005861/0.73, allocations: 0.6151 MB / 1.204 GB, free: 2.691 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.73, allocations: 3.984 kB / 1.204 GB, free: 2.688 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.172e-06/0.73, allocations: 4 kB / 1.204 GB, free: 2.684 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.334e-05/0.73, allocations: 0 / 1.204 GB, free: 2.684 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.0009326/0.731, allocations: 0.8146 MB / 1.205 GB, free: 1.82 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.731, allocations: 12.02 kB / 1.205 GB, free: 1.809 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.889e-05/0.7311, allocations: 98.5 kB / 1.205 GB, free: 1.703 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.761e-05/0.7312, allocations: 67.19 kB / 1.205 GB, free: 1.637 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004977/0.7317, allocations: 418.1 kB / 1.205 GB, free: 1.188 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.925e-05/0.7318, allocations: 45.3 kB / 1.205 GB, free: 1.141 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.31e-05/0.7318, allocations: 52 kB / 1.205 GB, free: 1.09 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009115/0.7328, allocations: 0.6988 MB / 1.206 GB, free: 316 kB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.7328, allocations: 7.938 kB / 1.206 GB, free: 308 kB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.459e-05/0.7328, allocations: 31.92 kB / 1.206 GB, free: 276 kB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-05/0.7329, allocations: 23.98 kB / 1.206 GB, free: 252 kB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006199/0.7335, allocations: 380.8 kB / 1.207 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00227/0.7358, allocations: 3.223 MB / 1.21 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00023/0.736, allocations: 226 kB / 1.21 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001882/0.7362, allocations: 128.6 kB / 1.21 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.667e-06/0.7362, allocations: 0 / 1.21 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.7363, allocations: 46.5 kB / 1.21 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.032e-06/0.7363, allocations: 0 / 1.21 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.000668/0.737, allocations: 261.2 kB / 1.21 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.7371, allocations: 290.7 kB / 1.211 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006833/0.7378, allocations: 0.6839 MB / 1.211 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.7378, allocations: 25.7 kB / 1.211 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/0.738, allocations: 268.6 kB / 1.212 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.357e-05/0.738, allocations: 47.47 kB / 1.212 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.728e-05/0.7381, allocations: 25.7 kB / 1.212 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.7382, allocations: 366.8 kB / 1.212 GB, free: 9.938 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.7383, allocations: 39.95 kB / 1.212 GB, free: 9.898 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001548/0.7385, allocations: 97.11 kB / 1.212 GB, free: 9.785 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002371/0.7387, allocations: 125.1 kB / 1.212 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.7387, allocations: 4 kB / 1.212 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003384/0.7391, allocations: 188.8 kB / 1.212 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.7391, allocations: 11.94 kB / 1.212 GB, free: 9.438 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.7391, allocations: 0 / 1.212 GB, free: 9.438 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.7391, allocations: 4 kB / 1.212 GB, free: 9.434 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002122/0.7394, allocations: 44.08 kB / 1.212 GB, free: 9.391 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.7394, allocations: 4 kB / 1.212 GB, free: 9.387 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.7396, allocations: 51.36 kB / 1.213 GB, free: 9.336 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.133e-05/0.7396, allocations: 12 kB / 1.213 GB, free: 9.324 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.0001824/0.7398, allocations: 197.8 kB / 1.213 GB, free: 9.121 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002142/0.74, allocations: 67.12 kB / 1.213 GB, free: 9.055 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.17e-05/0.7401, allocations: 64.33 kB / 1.213 GB, free: 8.98 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.7401, allocations: 4 kB / 1.213 GB, free: 8.977 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.7401, allocations: 7.984 kB / 1.213 GB, free: 8.969 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.7401, allocations: 4 kB / 1.213 GB, free: 8.965 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.7414, allocations: 1.297 MB / 1.214 GB, free: 7.578 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.7414, allocations: 4 kB / 1.214 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001888/0.7416, allocations: 43.89 kB / 1.214 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.7416, allocations: 0 / 1.214 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.7416, allocations: 4.391 kB / 1.214 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/0.7416, allocations: 15.92 kB / 1.214 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.7416, allocations: 4 kB / 1.214 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003744/0.742, allocations: 342.5 kB / 1.215 GB, free: 7.129 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.7422, allocations: 152.3 kB / 1.215 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.695e-05/0.7422, allocations: 4 kB / 1.215 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.7424, allocations: 8 kB / 1.215 GB, free: 6.949 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.7424, allocations: 19.92 kB / 1.215 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.7425, allocations: 4 kB / 1.215 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005104/0.743, allocations: 0.4912 MB / 1.215 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.743, allocations: 0 / 1.215 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003717/0.7434, allocations: 87.91 kB / 1.215 GB, free: 6.355 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.0007876/0.7441, allocations: 0.9104 MB / 1.216 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003035/0.7445, allocations: 107.8 kB / 1.216 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.7445, allocations: 0 / 1.216 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.7446, allocations: 63.83 kB / 1.216 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/0.746, allocations: 277 kB / 1.217 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005064/0.751, allocations: 4.584 MB / 1.221 GB, free: 220 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004313/0.7515, allocations: 0.9011 MB / 1.222 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002684/0.7517, allocations: 112.6 kB / 1.222 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/0.7519, allocations: 171.4 kB / 1.222 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of SimCode: time 3.4e-07/0.7519, allocations: 0 / 1.222 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3702/1.122, allocations: 13.47 MB / 1.235 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.316/9.438, allocations: 7.891 kB / 1.235 GB, free: 1.754 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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