Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_9_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.001506/0.001506, allocations: 111.3 kB / 15.34 MB, free: 0.5078 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.001776/0.001776, allocations: 195.1 kB / 16.25 MB, free: 6.152 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.283/1.283, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.178/2.178, allocations: 390.3 MB / 0.6644 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 72.08 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5283/0.5296, allocations: 140.3 MB / 0.9492 GB, free: 9.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1701/0.6998, allocations: 173.6 MB / 1.119 GB, free: 3.773 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.009368/0.7092, allocations: 8.641 MB / 1.127 GB, free: 11.11 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000574/0.7098, allocations: 19.88 kB / 1.127 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0007146/0.7105, allocations: 250.4 kB / 1.127 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0007101/0.7113, allocations: 282.7 kB / 1.128 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008948/0.7122, allocations: 342.7 kB / 1.128 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001184/0.7134, allocations: 1.156 MB / 1.129 GB, free: 9.07 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008203/0.7142, allocations: 0.5569 MB / 1.13 GB, free: 8.512 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00428/0.7185, allocations: 1.997 MB / 1.132 GB, free: 6.508 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005383/0.719, allocations: 370.5 kB / 1.132 GB, free: 6.145 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.201e-05/0.7192, allocations: 40 kB / 1.132 GB, free: 6.105 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002383/0.7194, allocations: 79.89 kB / 1.132 GB, free: 6.027 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002503/0.7197, allocations: 259.3 kB / 1.132 GB, free: 5.773 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003097/0.72, allocations: 286.5 kB / 1.133 GB, free: 5.492 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0006131/0.7206, allocations: 0.6074 MB / 1.133 GB, free: 4.883 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.7206, allocations: 0 / 1.133 GB, free: 4.883 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.243e-06/0.7206, allocations: 4 kB / 1.133 GB, free: 4.879 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.779e-05/0.7206, allocations: 4 kB / 1.133 GB, free: 4.875 MB / 0.8887 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.001009/0.7217, allocations: 0.8184 MB / 1.134 GB, free: 4.008 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.7217, allocations: 8.031 kB / 1.134 GB, free: 4 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001038/0.7218, allocations: 102.5 kB / 1.134 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.897e-05/0.7219, allocations: 67.19 kB / 1.134 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005443/0.7225, allocations: 410.2 kB / 1.135 GB, free: 3.383 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.793e-05/0.7225, allocations: 41.31 kB / 1.135 GB, free: 3.344 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.099e-05/0.7226, allocations: 55.98 kB / 1.135 GB, free: 3.289 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009785/0.7236, allocations: 0.7027 MB / 1.135 GB, free: 2.5 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.7236, allocations: 4 kB / 1.135 GB, free: 2.496 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.947e-05/0.7237, allocations: 39.91 kB / 1.135 GB, free: 2.457 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.641e-05/0.7237, allocations: 31.86 kB / 1.136 GB, free: 2.426 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006187/0.7243, allocations: 375.4 kB / 1.136 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002427/0.7268, allocations: 3.219 MB / 1.139 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002483/0.727, allocations: 222.1 kB / 1.139 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001839/0.7272, allocations: 132.5 kB / 1.139 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.7272, allocations: 0 / 1.139 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.7273, allocations: 50.48 kB / 1.139 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.7273, allocations: 4 kB / 1.139 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0006616/0.728, allocations: 249.7 kB / 1.14 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.7281, allocations: 291 kB / 1.14 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007066/0.7288, allocations: 0.6877 MB / 1.141 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.7288, allocations: 25.7 kB / 1.141 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000197/0.729, allocations: 276.1 kB / 1.141 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.053e-05/0.7291, allocations: 35.53 kB / 1.141 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.084e-05/0.7291, allocations: 29.75 kB / 1.141 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.7293, allocations: 366.8 kB / 1.141 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.7294, allocations: 35.97 kB / 1.141 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.7296, allocations: 105 kB / 1.141 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002332/0.7298, allocations: 121 kB / 1.142 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.7298, allocations: 0 / 1.142 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003323/0.7301, allocations: 200.7 kB / 1.142 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.7302, allocations: 7.938 kB / 1.142 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.7302, allocations: 0 / 1.142 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.7302, allocations: 4 kB / 1.142 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000216/0.7304, allocations: 40.14 kB / 1.142 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.7304, allocations: 7.938 kB / 1.142 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002172/0.7307, allocations: 59.36 kB / 1.142 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.222e-05/0.7307, allocations: 8 kB / 1.142 GB, free: 11.5 MB / 0.9044 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.0001861/0.7309, allocations: 197.8 kB / 1.142 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002066/0.7311, allocations: 67.19 kB / 1.142 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.458e-05/0.7312, allocations: 56.33 kB / 1.142 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.7312, allocations: 8 kB / 1.142 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.7312, allocations: 4 kB / 1.142 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.7312, allocations: 7.984 kB / 1.142 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/0.7325, allocations: 1.296 MB / 1.143 GB, free: 9.762 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.7326, allocations: 4 kB / 1.143 GB, free: 9.758 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001919/0.7328, allocations: 39.95 kB / 1.143 GB, free: 9.719 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.7328, allocations: 0 / 1.143 GB, free: 9.719 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.7328, allocations: 4.062 kB / 1.143 GB, free: 9.715 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.072e-06/0.7328, allocations: 16.22 kB / 1.144 GB, free: 9.699 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/0.7328, allocations: 4 kB / 1.144 GB, free: 9.695 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003744/0.7332, allocations: 334.4 kB / 1.144 GB, free: 9.324 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001488/0.7333, allocations: 156.3 kB / 1.144 GB, free: 9.152 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.732e-05/0.7334, allocations: 4 kB / 1.144 GB, free: 9.148 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001943/0.7336, allocations: 15.98 kB / 1.144 GB, free: 9.133 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.171e-05/0.7336, allocations: 19.86 kB / 1.144 GB, free: 9.113 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.7337, allocations: 8 kB / 1.144 GB, free: 9.105 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005177/0.7342, allocations: 0.4912 MB / 1.145 GB, free: 8.621 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7342, allocations: 3.938 kB / 1.145 GB, free: 8.617 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003668/0.7346, allocations: 76.28 kB / 1.145 GB, free: 8.543 MB / 0.9044 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.0007957/0.7354, allocations: 0.9171 MB / 1.145 GB, free: 7.578 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002898/0.7357, allocations: 111.8 kB / 1.146 GB, free: 7.469 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.7357, allocations: 0 / 1.146 GB, free: 7.469 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.7358, allocations: 55.91 kB / 1.146 GB, free: 7.414 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00129/0.7371, allocations: 284.4 kB / 1.146 GB, free: 7.137 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005339/0.7425, allocations: 4.673 MB / 1.15 GB, free: 2.301 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004428/0.7429, allocations: 0.9089 MB / 1.151 GB, free: 1.367 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002477/0.7432, allocations: 104.6 kB / 1.151 GB, free: 1.266 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001825/0.7434, allocations: 171.4 kB / 1.152 GB, free: 1.098 MB / 0.9044 GB Notification: Performance of SimCode: time 2.6e-07/0.7434, allocations: 3.938 kB / 1.152 GB, free: 1.094 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4741/1.217, allocations: 13.28 MB / 1.165 GB, free: 4.062 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003137/1.218, allocations: 236.3 kB / 1.165 GB, free: 3.812 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.156/3.374, allocations: 0 / 1.165 GB, free: 3.812 MB / 0.92 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_PropertySource_h.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches