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.008615/0.008615, allocations: 101.7 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.001986/0.001986, allocations: 199.3 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.553/2.553, allocations: 437 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 63.91 kB / 1.018 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2773, allocations: 151.6 MB / 1.166 GB, free: 7.41 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.8157/1.093, allocations: 176 MB / 1.338 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01227/1.105, allocations: 8.701 MB / 1.347 GB, free: 7.055 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001098/1.107, allocations: 24.12 kB / 1.347 GB, free: 7.043 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0009931/1.108, allocations: 299 kB / 1.347 GB, free: 6.844 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001066/1.109, allocations: 326.7 kB / 1.347 GB, free: 6.656 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001241/1.11, allocations: 366 kB / 1.347 GB, free: 6.477 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001701/1.112, allocations: 1.159 MB / 1.349 GB, free: 5.973 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001069/1.113, allocations: 0.5919 MB / 1.349 GB, free: 5.719 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005492/1.118, allocations: 2.129 MB / 1.351 GB, free: 4.723 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006828/1.119, allocations: 352.5 kB / 1.352 GB, free: 4.562 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001487/1.119, allocations: 44.03 kB / 1.352 GB, free: 4.559 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000373/1.12, allocations: 79.5 kB / 1.352 GB, free: 4.551 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003315/1.12, allocations: 262.8 kB / 1.352 GB, free: 4.457 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004974/1.12, allocations: 281.8 kB / 1.352 GB, free: 4.293 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009492/1.121, allocations: 0.6343 MB / 1.353 GB, free: 4.031 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/1.121, allocations: 0 / 1.353 GB, free: 4.031 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.993e-06/1.121, allocations: 1.031 kB / 1.353 GB, free: 4.031 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.671e-05/1.121, allocations: 0 / 1.353 GB, free: 4.031 MB / 1.029 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.001394/1.123, allocations: 0.8209 MB / 1.354 GB, free: 3.398 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/1.123, allocations: 9.25 kB / 1.354 GB, free: 3.398 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001284/1.123, allocations: 92.98 kB / 1.354 GB, free: 3.328 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001462/1.123, allocations: 76.31 kB / 1.354 GB, free: 3.285 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007822/1.124, allocations: 444.5 kB / 1.354 GB, free: 2.977 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.681e-05/1.124, allocations: 40 kB / 1.354 GB, free: 2.961 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.897e-05/1.124, allocations: 53.39 kB / 1.354 GB, free: 2.945 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/1.125, allocations: 0.7129 MB / 1.355 GB, free: 2.512 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/1.125, allocations: 6.094 kB / 1.355 GB, free: 2.508 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.776e-05/1.125, allocations: 22.62 kB / 1.355 GB, free: 2.492 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-05/1.125, allocations: 34.41 kB / 1.355 GB, free: 2.484 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000692/1.126, allocations: 380.3 kB / 1.355 GB, free: 2.367 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002846/1.129, allocations: 3.208 MB / 1.359 GB, free: 15.66 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002694/1.129, allocations: 220.6 kB / 1.359 GB, free: 15.39 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/1.129, allocations: 135.3 kB / 1.359 GB, free: 15.29 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/1.129, allocations: 2.688 kB / 1.359 GB, free: 15.29 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/1.129, allocations: 48.39 kB / 1.359 GB, free: 15.24 MB / 1.045 GB Notification: Performance of pre-optimization done (n=10): time 1.824e-06/1.129, allocations: 0 / 1.359 GB, free: 15.24 MB / 1.045 GB Notification: Performance of matching and sorting (n=10): time 0.0007604/1.13, allocations: 249.9 kB / 1.359 GB, free: 15.13 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/1.13, allocations: 292 kB / 1.36 GB, free: 14.78 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008694/1.131, allocations: 0.6844 MB / 1.36 GB, free: 14.5 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/1.131, allocations: 27.86 kB / 1.36 GB, free: 14.47 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002069/1.131, allocations: 265 kB / 1.36 GB, free: 14.26 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.694e-05/1.132, allocations: 38.34 kB / 1.36 GB, free: 14.23 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.96e-05/1.132, allocations: 31.11 kB / 1.361 GB, free: 14.21 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001422/1.132, allocations: 369.2 kB / 1.361 GB, free: 13.87 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/1.132, allocations: 36.14 kB / 1.361 GB, free: 13.86 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/1.132, allocations: 96.28 kB / 1.361 GB, free: 13.8 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002284/1.132, allocations: 128.2 kB / 1.361 GB, free: 13.73 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.132, allocations: 0 / 1.361 GB, free: 13.73 MB / 1.045 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003653/1.133, allocations: 195.5 kB / 1.361 GB, free: 13.63 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/1.133, allocations: 7.312 kB / 1.361 GB, free: 13.63 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/1.133, allocations: 6.156 kB / 1.361 GB, free: 13.63 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/1.133, allocations: 1.219 kB / 1.361 GB, free: 13.63 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/1.133, allocations: 39 kB / 1.361 GB, free: 13.63 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/1.133, allocations: 10.22 kB / 1.361 GB, free: 13.62 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002748/1.133, allocations: 54.86 kB / 1.361 GB, free: 13.59 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.981e-05/1.133, allocations: 12.25 kB / 1.361 GB, free: 13.58 MB / 1.045 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.0002287/1.134, allocations: 196.2 kB / 1.362 GB, free: 13.44 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002402/1.134, allocations: 56.84 kB / 1.362 GB, free: 13.41 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001108/1.134, allocations: 66.42 kB / 1.362 GB, free: 13.38 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/1.134, allocations: 3.625 kB / 1.362 GB, free: 13.38 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/1.134, allocations: 2.531 kB / 1.362 GB, free: 13.38 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/1.134, allocations: 8.281 kB / 1.362 GB, free: 13.37 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001399/1.135, allocations: 1.303 MB / 1.363 GB, free: 12.27 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/1.135, allocations: 4.281 kB / 1.363 GB, free: 12.27 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001831/1.136, allocations: 39.28 kB / 1.363 GB, free: 12.27 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/1.136, allocations: 3.344 kB / 1.363 GB, free: 12.27 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/1.136, allocations: 3.312 kB / 1.363 GB, free: 12.27 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.406e-06/1.136, allocations: 6.406 kB / 1.363 GB, free: 12.26 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/1.136, allocations: 7.438 kB / 1.363 GB, free: 12.26 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003998/1.136, allocations: 344.9 kB / 1.363 GB, free: 11.98 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001776/1.136, allocations: 145.1 kB / 1.364 GB, free: 11.85 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.872e-05/1.136, allocations: 8.156 kB / 1.364 GB, free: 11.85 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/1.136, allocations: 6.922 kB / 1.364 GB, free: 11.85 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.085e-05/1.136, allocations: 26.81 kB / 1.364 GB, free: 11.83 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-06/1.136, allocations: 4.719 kB / 1.364 GB, free: 11.83 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0005794/1.137, allocations: 0.4892 MB / 1.364 GB, free: 11.63 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.5e-07/1.137, allocations: 0 / 1.364 GB, free: 11.63 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004305/1.138, allocations: 85.56 kB / 1.364 GB, free: 11.62 MB / 1.045 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.0008951/1.138, allocations: 0.9212 MB / 1.365 GB, free: 10.8 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003126/1.139, allocations: 106.5 kB / 1.365 GB, free: 10.77 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.139, allocations: 5.531 kB / 1.365 GB, free: 10.77 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001383/1.139, allocations: 64.47 kB / 1.365 GB, free: 10.75 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001272/1.14, allocations: 281.6 kB / 1.365 GB, free: 10.66 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005679/1.146, allocations: 4.432 MB / 1.37 GB, free: 8.039 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004471/1.146, allocations: 0.9004 MB / 1.371 GB, free: 7.238 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.000305/1.147, allocations: 103.3 kB / 1.371 GB, free: 7.195 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001911/1.147, allocations: 180 kB / 1.371 GB, free: 7.051 MB / 1.045 GB Notification: Performance of SimCode: time 4.11e-07/1.147, allocations: 3.938 kB / 1.371 GB, free: 7.047 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03302/1.18, allocations: 13.59 MB / 1.384 GB, free: 460 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.861/10.04, allocations: 14.75 kB / 1.384 GB, free: 448 kB / 1.045 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