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.007319/0.007319, allocations: 104.5 kB / 15.74 MB, free: 5.988 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.001529/0.001529, allocations: 196.2 kB / 16.67 MB, free: 5.914 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.596/2.596, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 59.89 kB / 1.054 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.748/0.7493, allocations: 157.4 MB / 1.207 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1662/0.9156, allocations: 176 MB / 1.379 GB, free: 12.88 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01009/0.9257, allocations: 8.712 MB / 1.388 GB, free: 4.148 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001121/0.9269, allocations: 19.88 kB / 1.388 GB, free: 4.129 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0009781/0.9279, allocations: 297.8 kB / 1.388 GB, free: 3.836 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001032/0.929, allocations: 306.4 kB / 1.388 GB, free: 3.535 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.9303, allocations: 378.1 kB / 1.389 GB, free: 3.168 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001376/0.9317, allocations: 1.156 MB / 1.39 GB, free: 2.004 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008596/0.9325, allocations: 0.5881 MB / 1.39 GB, free: 1.41 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004956/0.9375, allocations: 2.058 MB / 1.392 GB, free: 15.34 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005197/0.9381, allocations: 350.5 kB / 1.393 GB, free: 15 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 7.492e-05/0.9381, allocations: 40 kB / 1.393 GB, free: 14.96 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002496/0.9384, allocations: 83.89 kB / 1.393 GB, free: 14.88 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002364/0.9386, allocations: 255.3 kB / 1.393 GB, free: 14.63 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0002683/0.9389, allocations: 290.5 kB / 1.393 GB, free: 14.34 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0006881/0.9396, allocations: 0.6345 MB / 1.394 GB, free: 13.71 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.9396, allocations: 3.938 kB / 1.394 GB, free: 13.7 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.853e-06/0.9396, allocations: 0 / 1.394 GB, free: 13.7 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.9397, allocations: 0 / 1.394 GB, free: 13.7 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.0009881/0.9407, allocations: 0.8184 MB / 1.395 GB, free: 12.83 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.9407, allocations: 12.03 kB / 1.395 GB, free: 12.82 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.64e-05/0.9408, allocations: 98.5 kB / 1.395 GB, free: 12.71 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.205e-05/0.9409, allocations: 71.09 kB / 1.395 GB, free: 12.64 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006849/0.9416, allocations: 446.2 kB / 1.395 GB, free: 12.17 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.202e-05/0.9416, allocations: 33.31 kB / 1.395 GB, free: 12.14 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.272e-05/0.9417, allocations: 55.98 kB / 1.395 GB, free: 12.09 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009202/0.9426, allocations: 0.6988 MB / 1.396 GB, free: 11.3 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.9426, allocations: 0 / 1.396 GB, free: 11.3 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.41e-05/0.9427, allocations: 39.8 kB / 1.396 GB, free: 11.27 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.827e-05/0.9427, allocations: 35.92 kB / 1.396 GB, free: 11.23 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005922/0.9433, allocations: 371.4 kB / 1.396 GB, free: 10.87 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002312/0.9457, allocations: 3.215 MB / 1.4 GB, free: 7.508 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.9459, allocations: 214.1 kB / 1.4 GB, free: 7.207 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001781/0.9461, allocations: 128.6 kB / 1.4 GB, free: 7.051 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.9461, allocations: 7.938 kB / 1.4 GB, free: 7.043 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.9462, allocations: 46.83 kB / 1.4 GB, free: 6.988 MB / 1.123 GB Notification: Performance of pre-optimization done (n=10): time 1.643e-06/0.9462, allocations: 0 / 1.4 GB, free: 6.988 MB / 1.123 GB Notification: Performance of matching and sorting (n=10): time 0.0006788/0.9469, allocations: 249.8 kB / 1.4 GB, free: 6.738 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.947, allocations: 294.6 kB / 1.401 GB, free: 6.383 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006745/0.9477, allocations: 0.6839 MB / 1.401 GB, free: 5.691 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.9477, allocations: 33.7 kB / 1.401 GB, free: 5.652 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.000183/0.9479, allocations: 264.2 kB / 1.401 GB, free: 5.391 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.9479, allocations: 35.45 kB / 1.402 GB, free: 5.355 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.615e-05/0.948, allocations: 33.7 kB / 1.402 GB, free: 5.316 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.9481, allocations: 370.8 kB / 1.402 GB, free: 4.945 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.9483, allocations: 31.97 kB / 1.402 GB, free: 4.914 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/0.9484, allocations: 93.09 kB / 1.402 GB, free: 4.805 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002475/0.9487, allocations: 129 kB / 1.402 GB, free: 4.66 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.9487, allocations: 4 kB / 1.402 GB, free: 4.656 MB / 1.123 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003391/0.949, allocations: 188.8 kB / 1.402 GB, free: 4.465 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.9491, allocations: 7.938 kB / 1.402 GB, free: 4.457 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.9491, allocations: 0 / 1.402 GB, free: 4.457 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.9491, allocations: 4 kB / 1.402 GB, free: 4.453 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.9493, allocations: 39.95 kB / 1.402 GB, free: 4.414 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.9493, allocations: 4.188 kB / 1.402 GB, free: 4.41 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001968/0.9495, allocations: 59.27 kB / 1.402 GB, free: 4.352 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.9496, allocations: 8 kB / 1.402 GB, free: 4.344 MB / 1.123 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.0001917/0.9498, allocations: 209.6 kB / 1.403 GB, free: 4.129 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002103/0.95, allocations: 59.28 kB / 1.403 GB, free: 4.07 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.671e-05/0.9501, allocations: 60.33 kB / 1.403 GB, free: 4.008 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.9501, allocations: 0 / 1.403 GB, free: 4.008 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.9501, allocations: 8.062 kB / 1.403 GB, free: 4 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.9501, allocations: 11.98 kB / 1.403 GB, free: 3.988 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/0.9514, allocations: 1.297 MB / 1.404 GB, free: 2.602 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.9514, allocations: 4.188 kB / 1.404 GB, free: 2.598 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/0.9516, allocations: 39.95 kB / 1.404 GB, free: 2.559 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.289e-06/0.9516, allocations: 7.938 kB / 1.404 GB, free: 2.551 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.9517, allocations: 8 kB / 1.404 GB, free: 2.543 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.9517, allocations: 0 / 1.404 GB, free: 2.543 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.9517, allocations: 7.938 kB / 1.404 GB, free: 2.535 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003767/0.9521, allocations: 338.5 kB / 1.404 GB, free: 2.16 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001606/0.9522, allocations: 148.4 kB / 1.405 GB, free: 1.996 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.07e-05/0.9523, allocations: 7.984 kB / 1.405 GB, free: 1.988 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.9525, allocations: 8 kB / 1.405 GB, free: 1.98 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.27e-05/0.9525, allocations: 31.78 kB / 1.405 GB, free: 1.949 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.034e-06/0.9525, allocations: 4 kB / 1.405 GB, free: 1.945 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.000488/0.953, allocations: 0.4951 MB / 1.405 GB, free: 1.457 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.1e-07/0.953, allocations: 0 / 1.405 GB, free: 1.457 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0003722/0.9534, allocations: 79.91 kB / 1.405 GB, free: 1.379 MB / 1.123 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.0008029/0.9542, allocations: 0.9133 MB / 1.406 GB, free: 424 kB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0003052/0.9545, allocations: 107.8 kB / 1.406 GB, free: 316 kB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.9545, allocations: 0.5625 kB / 1.406 GB, free: 316 kB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.9547, allocations: 59.89 kB / 1.406 GB, free: 256 kB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/0.956, allocations: 285.5 kB / 1.407 GB, free: 15.98 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00495/0.9609, allocations: 4.444 MB / 1.411 GB, free: 11.36 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004345/0.9614, allocations: 0.9011 MB / 1.412 GB, free: 10.43 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0002773/0.9617, allocations: 104.6 kB / 1.412 GB, free: 10.33 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001978/0.9619, allocations: 175.4 kB / 1.412 GB, free: 10.16 MB / 1.139 GB Notification: Performance of SimCode: time 5.01e-07/0.9619, allocations: 4 kB / 1.412 GB, free: 10.16 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03498/0.9969, allocations: 13.8 MB / 1.425 GB, free: 12.58 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.508/9.505, allocations: 11.45 kB / 1.425 GB, free: 12.57 MB / 1.154 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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