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.006664/0.006664, allocations: 101.5 kB / 15.73 MB, free: 6.449 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.00127/0.00127, allocations: 194.2 kB / 16.68 MB, free: 6.352 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.27/1.27, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.333/2.333, allocations: 437.1 MB / 0.7106 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 63.91 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2287/0.2303, allocations: 151.6 MB / 1.166 GB, free: 7.27 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.5872/0.8175, allocations: 176 MB / 1.338 GB, free: 13.22 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.008559/0.8261, allocations: 8.694 MB / 1.347 GB, free: 6.977 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003169/0.8264, allocations: 25.25 kB / 1.347 GB, free: 6.965 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005877/0.827, allocations: 302.9 kB / 1.347 GB, free: 6.762 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005129/0.8276, allocations: 313.4 kB / 1.347 GB, free: 6.578 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007269/0.8283, allocations: 367.8 kB / 1.348 GB, free: 6.398 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0009358/0.8292, allocations: 1.149 MB / 1.349 GB, free: 5.902 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006397/0.8299, allocations: 0.5956 MB / 1.349 GB, free: 5.645 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003411/0.8333, allocations: 2.048 MB / 1.351 GB, free: 4.699 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003306/0.8336, allocations: 356 kB / 1.352 GB, free: 4.535 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.642e-05/0.8337, allocations: 39.88 kB / 1.352 GB, free: 4.535 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000171/0.8339, allocations: 87 kB / 1.352 GB, free: 4.52 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002001/0.8341, allocations: 254.8 kB / 1.352 GB, free: 4.434 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002355/0.8343, allocations: 288.2 kB / 1.352 GB, free: 4.262 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005554/0.8349, allocations: 0.6329 MB / 1.353 GB, free: 4.004 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.8349, allocations: 1.156 kB / 1.353 GB, free: 4.004 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.102e-06/0.8349, allocations: 0 / 1.353 GB, free: 4.004 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.207e-06/0.8349, allocations: 0 / 1.353 GB, free: 4.004 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.0008834/0.8358, allocations: 0.8406 MB / 1.354 GB, free: 3.348 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.8359, allocations: 9.688 kB / 1.354 GB, free: 3.348 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.253e-05/0.8359, allocations: 100.8 kB / 1.354 GB, free: 3.273 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.915e-05/0.836, allocations: 72.39 kB / 1.354 GB, free: 3.234 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005525/0.8366, allocations: 448 kB / 1.354 GB, free: 2.922 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.882e-05/0.8366, allocations: 35.81 kB / 1.354 GB, free: 2.91 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.127e-05/0.8367, allocations: 59.55 kB / 1.354 GB, free: 2.887 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008596/0.8376, allocations: 0.7001 MB / 1.355 GB, free: 2.469 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.8376, allocations: 5.094 kB / 1.355 GB, free: 2.465 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.058e-05/0.8376, allocations: 27.77 kB / 1.355 GB, free: 2.445 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.043e-05/0.8377, allocations: 35.31 kB / 1.355 GB, free: 2.438 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005369/0.8382, allocations: 376.5 kB / 1.355 GB, free: 2.32 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002232/0.8405, allocations: 3.224 MB / 1.359 GB, free: 15.6 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002343/0.8407, allocations: 214.5 kB / 1.359 GB, free: 15.34 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/0.8409, allocations: 131.8 kB / 1.359 GB, free: 15.24 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/0.8409, allocations: 2.625 kB / 1.359 GB, free: 15.24 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.8409, allocations: 46.44 kB / 1.359 GB, free: 15.19 MB / 1.045 GB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.8409, allocations: 0 / 1.359 GB, free: 15.19 MB / 1.045 GB Notification: Performance of matching and sorting (n=10): time 0.0005774/0.8415, allocations: 255.4 kB / 1.359 GB, free: 15.07 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/0.8417, allocations: 295.3 kB / 1.359 GB, free: 14.72 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006364/0.8423, allocations: 0.6846 MB / 1.36 GB, free: 14.45 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.8423, allocations: 31.89 kB / 1.36 GB, free: 14.41 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000189/0.8425, allocations: 268.2 kB / 1.36 GB, free: 14.2 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.324e-05/0.8426, allocations: 35.78 kB / 1.36 GB, free: 14.17 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.734e-05/0.8426, allocations: 32.78 kB / 1.361 GB, free: 14.14 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.8428, allocations: 372.5 kB / 1.361 GB, free: 13.8 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.521e-05/0.8429, allocations: 32.94 kB / 1.361 GB, free: 13.8 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.843, allocations: 97.09 kB / 1.361 GB, free: 13.74 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002216/0.8433, allocations: 127.3 kB / 1.361 GB, free: 13.66 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.8433, allocations: 1.156 kB / 1.361 GB, free: 13.66 MB / 1.045 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003035/0.8436, allocations: 198.1 kB / 1.361 GB, free: 13.57 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.8436, allocations: 5.625 kB / 1.361 GB, free: 13.57 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.8436, allocations: 7.406 kB / 1.361 GB, free: 13.56 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.8436, allocations: 2.453 kB / 1.361 GB, free: 13.56 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/0.8438, allocations: 42.05 kB / 1.361 GB, free: 13.56 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.8438, allocations: 2.656 kB / 1.361 GB, free: 13.56 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/0.844, allocations: 69.92 kB / 1.361 GB, free: 13.51 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.759e-05/0.844, allocations: 6.656 kB / 1.361 GB, free: 13.51 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.0001752/0.8442, allocations: 200.5 kB / 1.362 GB, free: 13.37 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001813/0.8444, allocations: 60.22 kB / 1.362 GB, free: 13.34 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.446e-05/0.8445, allocations: 64.27 kB / 1.362 GB, free: 13.3 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.8445, allocations: 3.406 kB / 1.362 GB, free: 13.3 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.8445, allocations: 2.75 kB / 1.362 GB, free: 13.3 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.8445, allocations: 3.031 kB / 1.362 GB, free: 13.3 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001195/0.8457, allocations: 1.304 MB / 1.363 GB, free: 12.2 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.8457, allocations: 2.094 kB / 1.363 GB, free: 12.2 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.8459, allocations: 39.92 kB / 1.363 GB, free: 12.2 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.8459, allocations: 2.969 kB / 1.363 GB, free: 12.2 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.8459, allocations: 7.688 kB / 1.363 GB, free: 12.19 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.8459, allocations: 10.78 kB / 1.363 GB, free: 12.18 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.8459, allocations: 4.656 kB / 1.363 GB, free: 12.18 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003519/0.8463, allocations: 348.3 kB / 1.363 GB, free: 11.9 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.8464, allocations: 148.2 kB / 1.364 GB, free: 11.77 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.788e-05/0.8465, allocations: 3.438 kB / 1.364 GB, free: 11.77 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001498/0.8466, allocations: 15.14 kB / 1.364 GB, free: 11.77 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.571e-05/0.8467, allocations: 15.7 kB / 1.364 GB, free: 11.76 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-06/0.8467, allocations: 8.375 kB / 1.364 GB, free: 11.75 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004754/0.8471, allocations: 0.4956 MB / 1.364 GB, free: 11.55 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8472, allocations: 0 / 1.364 GB, free: 11.55 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003153/0.8475, allocations: 88.58 kB / 1.364 GB, free: 11.53 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.0007764/0.8483, allocations: 0.9078 MB / 1.365 GB, free: 10.72 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002639/0.8485, allocations: 107.3 kB / 1.365 GB, free: 10.7 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.8485, allocations: 384 / 1.365 GB, free: 10.7 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.8487, allocations: 65.86 kB / 1.365 GB, free: 10.68 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.8498, allocations: 285.5 kB / 1.365 GB, free: 10.59 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004414/0.8542, allocations: 4.458 MB / 1.37 GB, free: 7.953 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004238/0.8546, allocations: 0.8968 MB / 1.371 GB, free: 7.156 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001895/0.8548, allocations: 109.9 kB / 1.371 GB, free: 7.109 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001662/0.855, allocations: 169.5 kB / 1.371 GB, free: 6.973 MB / 1.045 GB Notification: Performance of SimCode: time 2.81e-07/0.855, allocations: 4 kB / 1.371 GB, free: 6.969 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.571/7.426, allocations: 13.6 MB / 1.384 GB, free: 368 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.67/26.09, allocations: 19.33 kB / 1.384 GB, free: 352 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=400 --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