Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_11_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.005691/0.005691, allocations: 107.9 kB / 15.74 MB, free: 6.02 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.001612/0.001612, allocations: 193.6 kB / 16.67 MB, free: 5.934 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.234/1.234, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.364/2.364, allocations: 469.8 MB / 0.7425 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001665/0.001665, allocations: 63.91 kB / 1.065 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5946/0.5963, allocations: 159.1 MB / 1.22 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1677/0.7641, allocations: 176 MB / 1.392 GB, free: 1.367 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.0087/0.7728, allocations: 8.725 MB / 1.401 GB, free: 8.621 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002332/0.773, allocations: 19.88 kB / 1.401 GB, free: 8.602 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0005495/0.7736, allocations: 305.8 kB / 1.401 GB, free: 8.301 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.000507/0.7741, allocations: 302.4 kB / 1.401 GB, free: 8.004 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007536/0.7749, allocations: 379.3 kB / 1.401 GB, free: 7.637 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.00104/0.7759, allocations: 1.148 MB / 1.403 GB, free: 6.48 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006956/0.7766, allocations: 0.5882 MB / 1.403 GB, free: 5.887 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003278/0.7799, allocations: 2.062 MB / 1.405 GB, free: 3.816 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003552/0.7803, allocations: 350.4 kB / 1.406 GB, free: 3.473 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 6.092e-05/0.7804, allocations: 44 kB / 1.406 GB, free: 3.43 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001628/0.7805, allocations: 83.89 kB / 1.406 GB, free: 3.348 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002292/0.7808, allocations: 255.4 kB / 1.406 GB, free: 3.098 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0002479/0.781, allocations: 282.5 kB / 1.406 GB, free: 2.82 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0005977/0.7816, allocations: 0.6377 MB / 1.407 GB, free: 2.184 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.7816, allocations: 0 / 1.407 GB, free: 2.184 MB / 1.123 GB Notification: Performance of FrontEnd: time 9.91e-07/0.7816, allocations: 0 / 1.407 GB, free: 2.184 MB / 1.123 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.7817, allocations: 0 / 1.407 GB, free: 2.184 MB / 1.123 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.000908/0.7826, allocations: 0.8295 MB / 1.408 GB, free: 1.301 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 2.908e-05/0.7826, allocations: 12.03 kB / 1.408 GB, free: 1.289 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.317e-05/0.7827, allocations: 102.5 kB / 1.408 GB, free: 1.18 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.934e-05/0.7828, allocations: 75.52 kB / 1.408 GB, free: 1.105 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005676/0.7834, allocations: 446.4 kB / 1.408 GB, free: 0.6289 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.123e-05/0.7834, allocations: 41.3 kB / 1.408 GB, free: 0.5898 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.146e-05/0.7835, allocations: 55.98 kB / 1.408 GB, free: 0.5352 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009097/0.7844, allocations: 0.7018 MB / 1.409 GB, free: 15.75 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.7844, allocations: 3.938 kB / 1.409 GB, free: 15.75 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.306e-05/0.7845, allocations: 31.92 kB / 1.409 GB, free: 15.72 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.265e-05/0.7845, allocations: 35.92 kB / 1.409 GB, free: 15.68 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005836/0.7851, allocations: 371.4 kB / 1.409 GB, free: 15.32 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00235/0.7875, allocations: 3.221 MB / 1.413 GB, free: 11.96 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002421/0.7877, allocations: 218.2 kB / 1.413 GB, free: 11.65 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001856/0.7879, allocations: 132.5 kB / 1.413 GB, free: 11.49 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.7879, allocations: 4 kB / 1.413 GB, free: 11.49 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.788, allocations: 42.5 kB / 1.413 GB, free: 11.44 MB / 1.139 GB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.788, allocations: 7.938 kB / 1.413 GB, free: 11.43 MB / 1.139 GB Notification: Performance of matching and sorting (n=10): time 0.0006071/0.7886, allocations: 253.8 kB / 1.413 GB, free: 11.18 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001356/0.7887, allocations: 294.7 kB / 1.413 GB, free: 10.82 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007063/0.7894, allocations: 0.6877 MB / 1.414 GB, free: 10.12 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.7895, allocations: 25.7 kB / 1.414 GB, free: 10.09 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002026/0.7897, allocations: 276.5 kB / 1.414 GB, free: 9.816 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.7897, allocations: 31.73 kB / 1.414 GB, free: 9.785 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.253e-05/0.7898, allocations: 33.67 kB / 1.414 GB, free: 9.746 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.7899, allocations: 366.8 kB / 1.415 GB, free: 9.379 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.941e-05/0.79, allocations: 35.97 kB / 1.415 GB, free: 9.344 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001645/0.7902, allocations: 101.1 kB / 1.415 GB, free: 9.227 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002359/0.7904, allocations: 129 kB / 1.415 GB, free: 9.082 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.7905, allocations: 0 / 1.415 GB, free: 9.082 MB / 1.139 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003217/0.7908, allocations: 193.1 kB / 1.415 GB, free: 8.887 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.7908, allocations: 7.938 kB / 1.415 GB, free: 8.879 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.7908, allocations: 0 / 1.415 GB, free: 8.879 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.7908, allocations: 4 kB / 1.415 GB, free: 8.875 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/0.791, allocations: 44.14 kB / 1.415 GB, free: 8.832 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.791, allocations: 0 / 1.415 GB, free: 8.832 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/0.7912, allocations: 55.5 kB / 1.415 GB, free: 8.777 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.7912, allocations: 12 kB / 1.415 GB, free: 8.766 MB / 1.139 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.0001852/0.7914, allocations: 205.6 kB / 1.416 GB, free: 8.555 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001862/0.7916, allocations: 63.56 kB / 1.416 GB, free: 8.492 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.378e-05/0.7917, allocations: 56.33 kB / 1.416 GB, free: 8.434 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.7917, allocations: 8 kB / 1.416 GB, free: 8.426 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.7917, allocations: 4 kB / 1.416 GB, free: 8.422 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.7917, allocations: 4 kB / 1.416 GB, free: 8.418 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001253/0.793, allocations: 1.301 MB / 1.417 GB, free: 7.027 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.793, allocations: 4 kB / 1.417 GB, free: 7.023 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001703/0.7932, allocations: 39.91 kB / 1.417 GB, free: 6.984 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.7932, allocations: 7.984 kB / 1.417 GB, free: 6.977 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.7932, allocations: 288 / 1.417 GB, free: 6.977 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.7932, allocations: 8 kB / 1.417 GB, free: 6.969 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.7932, allocations: 7.938 kB / 1.417 GB, free: 6.961 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003757/0.7936, allocations: 346.8 kB / 1.417 GB, free: 6.578 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/0.7937, allocations: 152.7 kB / 1.418 GB, free: 6.41 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.198e-05/0.7938, allocations: 15.98 kB / 1.418 GB, free: 6.395 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.794, allocations: 4 kB / 1.418 GB, free: 6.391 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.565e-05/0.794, allocations: 19.92 kB / 1.418 GB, free: 6.371 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.794, allocations: 8 kB / 1.418 GB, free: 6.363 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0005097/0.7945, allocations: 499 kB / 1.418 GB, free: 5.879 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7945, allocations: 0 / 1.418 GB, free: 5.879 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0003225/0.7949, allocations: 87.89 kB / 1.418 GB, free: 5.793 MB / 1.139 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.000812/0.7957, allocations: 0.909 MB / 1.419 GB, free: 4.832 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0002728/0.796, allocations: 107.8 kB / 1.419 GB, free: 4.727 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.796, allocations: 0 / 1.419 GB, free: 4.727 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.7961, allocations: 63.83 kB / 1.419 GB, free: 4.664 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.7972, allocations: 277.8 kB / 1.419 GB, free: 4.398 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004779/0.802, allocations: 4.465 MB / 1.424 GB, free: 15.77 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004681/0.8025, allocations: 0.905 MB / 1.425 GB, free: 14.84 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0002049/0.8027, allocations: 108.6 kB / 1.425 GB, free: 14.73 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001825/0.8029, allocations: 175.4 kB / 1.425 GB, free: 14.56 MB / 1.154 GB Notification: Performance of SimCode: time 2.2e-07/0.8029, allocations: 0 / 1.425 GB, free: 14.56 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.798/8.601, allocations: 13.58 MB / 1.438 GB, free: 1.199 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.3/18.9, allocations: 18.2 kB / 1.438 GB, free: 1.188 MB / 1.154 GB (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sources_Examples_PropertySource_h.fmu > Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches