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.002241/0.002241, allocations: 108 kB / 15.61 MB, free: 152 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.002145/0.002145, allocations: 193.8 kB / 16.53 MB, free: 6.699 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.243/1.243, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.461/2.461, allocations: 469.8 MB / 0.7424 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 65.61 kB / 0.9086 GB, free: 34.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2343, allocations: 159.2 MB / 1.064 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1745/0.4089, allocations: 176 MB / 1.236 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009026/0.4179, allocations: 8.709 MB / 1.244 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002366/0.4182, allocations: 23.81 kB / 1.244 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005586/0.4188, allocations: 309.7 kB / 1.245 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005059/0.4193, allocations: 302.4 kB / 1.245 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007471/0.42, allocations: 374.2 kB / 1.245 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001038/0.4211, allocations: 1.152 MB / 1.247 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007123/0.4218, allocations: 0.592 MB / 1.247 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003263/0.4251, allocations: 2.059 MB / 1.249 GB, free: 48 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4116/0.8367, allocations: 341.5 kB / 1.249 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001561/0.8368, allocations: 39.72 kB / 1.249 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002968/0.8372, allocations: 77.25 kB / 1.25 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002917/0.8375, allocations: 260.8 kB / 1.25 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003922/0.8379, allocations: 282.2 kB / 1.25 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007627/0.8386, allocations: 0.6112 MB / 1.251 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.8386, allocations: 0.875 kB / 1.251 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.442e-06/0.8386, allocations: 1.406 kB / 1.251 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.737e-05/0.8387, allocations: 0.5625 kB / 1.251 GB, free: 6.645 MB / 0.9981 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.001034/0.8397, allocations: 0.8238 MB / 1.251 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.8397, allocations: 9.906 kB / 1.251 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.481e-05/0.8398, allocations: 92.36 kB / 1.252 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/0.84, allocations: 67.39 kB / 1.252 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006891/0.8406, allocations: 410.3 kB / 1.252 GB, free: 21.86 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.722e-05/0.8407, allocations: 45.27 kB / 1.252 GB, free: 21.85 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.247e-05/0.8408, allocations: 56.06 kB / 1.252 GB, free: 21.85 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008895/0.8416, allocations: 0.7039 MB / 1.253 GB, free: 21.61 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.8417, allocations: 5.875 kB / 1.253 GB, free: 21.61 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.206e-05/0.8417, allocations: 25.84 kB / 1.253 GB, free: 21.61 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-05/0.8418, allocations: 28.69 kB / 1.253 GB, free: 21.61 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005732/0.8424, allocations: 377.1 kB / 1.253 GB, free: 21.61 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002375/0.8447, allocations: 3.225 MB / 1.256 GB, free: 19.23 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.8449, allocations: 221.1 kB / 1.257 GB, free: 18.99 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/0.8451, allocations: 129.9 kB / 1.257 GB, free: 18.91 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.8451, allocations: 6.156 kB / 1.257 GB, free: 18.91 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.8451, allocations: 51.16 kB / 1.257 GB, free: 18.87 MB / 1.014 GB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.8451, allocations: 0.9375 kB / 1.257 GB, free: 18.87 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.0006265/0.8458, allocations: 249.1 kB / 1.257 GB, free: 18.81 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001536/0.8459, allocations: 299.3 kB / 1.257 GB, free: 18.46 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006613/0.8466, allocations: 0.6814 MB / 1.258 GB, free: 18.34 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.8466, allocations: 28.05 kB / 1.258 GB, free: 18.3 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.8468, allocations: 274.8 kB / 1.258 GB, free: 18.21 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/0.8468, allocations: 32.94 kB / 1.258 GB, free: 18.19 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.267e-05/0.8469, allocations: 28.72 kB / 1.258 GB, free: 18.17 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.847, allocations: 372.4 kB / 1.259 GB, free: 17.86 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.721e-05/0.8471, allocations: 34.14 kB / 1.259 GB, free: 17.86 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.8473, allocations: 97.83 kB / 1.259 GB, free: 17.81 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001853/0.8475, allocations: 128.4 kB / 1.259 GB, free: 17.77 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.8475, allocations: 2.719 kB / 1.259 GB, free: 17.77 MB / 1.014 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002914/0.8478, allocations: 194.7 kB / 1.259 GB, free: 17.7 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.8478, allocations: 7.062 kB / 1.259 GB, free: 17.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.8478, allocations: 0 / 1.259 GB, free: 17.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.8478, allocations: 5.234 kB / 1.259 GB, free: 17.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000187/0.848, allocations: 41.77 kB / 1.259 GB, free: 17.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.848, allocations: 6.406 kB / 1.259 GB, free: 17.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001954/0.8482, allocations: 54.59 kB / 1.259 GB, free: 17.67 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.8482, allocations: 7.938 kB / 1.259 GB, free: 17.67 MB / 1.014 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.0001652/0.8484, allocations: 202.2 kB / 1.259 GB, free: 17.55 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001818/0.8486, allocations: 65.69 kB / 1.259 GB, free: 17.52 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.104e-05/0.8487, allocations: 62.61 kB / 1.26 GB, free: 17.5 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.8487, allocations: 4.172 kB / 1.26 GB, free: 17.5 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.8487, allocations: 4.031 kB / 1.26 GB, free: 17.5 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.8487, allocations: 4.219 kB / 1.26 GB, free: 17.5 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.8498, allocations: 1.307 MB / 1.261 GB, free: 16.53 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.8499, allocations: 3.25 kB / 1.261 GB, free: 16.53 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.85, allocations: 44.69 kB / 1.261 GB, free: 16.53 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.85, allocations: 2.781 kB / 1.261 GB, free: 16.53 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.8501, allocations: 2.875 kB / 1.261 GB, free: 16.53 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.8501, allocations: 3.75 kB / 1.261 GB, free: 16.53 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.8501, allocations: 6.781 kB / 1.261 GB, free: 16.53 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003098/0.8504, allocations: 333.8 kB / 1.261 GB, free: 16.3 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/0.8505, allocations: 147.9 kB / 1.261 GB, free: 16.18 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.247e-05/0.8506, allocations: 8.688 kB / 1.261 GB, free: 16.18 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.8507, allocations: 10.09 kB / 1.261 GB, free: 16.18 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.716e-05/0.8508, allocations: 21.94 kB / 1.261 GB, free: 16.17 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.8508, allocations: 5.562 kB / 1.261 GB, free: 16.17 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004231/0.8512, allocations: 0.492 MB / 1.262 GB, free: 16.08 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8512, allocations: 0 / 1.262 GB, free: 16.08 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003239/0.8516, allocations: 83.73 kB / 1.262 GB, free: 16.08 MB / 1.014 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.0007619/0.8523, allocations: 0.9077 MB / 1.263 GB, free: 15.31 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002635/0.8526, allocations: 108.4 kB / 1.263 GB, free: 15.31 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.8526, allocations: 1.062 kB / 1.263 GB, free: 15.31 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.8527, allocations: 63.53 kB / 1.263 GB, free: 15.31 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/0.8539, allocations: 279.8 kB / 1.263 GB, free: 15.29 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00406/0.858, allocations: 4.572 MB / 1.268 GB, free: 13.45 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004773/0.8585, allocations: 0.9017 MB / 1.269 GB, free: 12.75 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002108/0.8587, allocations: 105.6 kB / 1.269 GB, free: 12.75 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.8588, allocations: 173.5 kB / 1.269 GB, free: 12.74 MB / 1.014 GB Notification: Performance of SimCode: time 2.61e-07/0.8588, allocations: 0.9062 kB / 1.269 GB, free: 12.74 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 23.85/24.71, allocations: 13.47 MB / 1.282 GB, free: 11.91 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.913/32.63, allocations: 5.438 kB / 1.282 GB, free: 11.91 MB / 1.014 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