Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.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_T,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_PropertySource_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_PropertySource_T",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.002188/0.002188, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00752/0.00752, allocations: 194.5 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.333/2.333, allocations: 222.9 MB / 239.9 MB, free: 4.488 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.441/4.441, allocations: 461.9 MB / 0.7344 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002522/0.002522, allocations: 66.39 kB / 0.8987 GB, free: 37.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4593/0.4619, allocations: 157.4 MB / 1.052 GB, free: 8.691 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.3679/0.8298, allocations: 191.6 MB / 1.24 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 1.116/1.946, allocations: 9.944 MB / 1.249 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001898/1.948, allocations: 24.97 kB / 1.249 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001766/1.95, allocations: 334.9 kB / 1.25 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004245/1.954, allocations: 0.9519 MB / 1.251 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004963/1.959, allocations: 1.208 MB / 1.252 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00361/1.963, allocations: 1.7 MB / 1.253 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001635/1.964, allocations: 0.7876 MB / 1.254 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005566/1.97, allocations: 1.4 MB / 1.255 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001307/1.971, allocations: 0.5624 MB / 1.256 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001628/1.971, allocations: 64.59 kB / 1.256 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004918/1.976, allocations: 1.455 MB / 1.258 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007702/1.977, allocations: 357.3 kB / 1.258 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008514/1.978, allocations: 435.2 kB / 1.258 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003986/1.982, allocations: 1.59 MB / 1.26 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/1.982, allocations: 0 / 1.26 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.114e-06/1.982, allocations: 0.8438 kB / 1.26 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.814e-05/1.982, allocations: 0 / 1.26 GB, free: 2.305 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.0025/1.984, allocations: 1.14 MB / 1.261 GB, free: 17.63 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.813e-05/1.985, allocations: 9.875 kB / 1.261 GB, free: 17.63 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00022/1.985, allocations: 127.2 kB / 1.261 GB, free: 17.59 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003023/1.988, allocations: 291.3 kB / 1.261 GB, free: 17.55 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001375/1.989, allocations: 0.5296 MB / 1.262 GB, free: 17.27 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.936e-05/1.989, allocations: 60.33 kB / 1.262 GB, free: 17.27 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/1.989, allocations: 73.25 kB / 1.262 GB, free: 17.27 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002157/1.992, allocations: 0.9023 MB / 1.263 GB, free: 17.08 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.007e-05/1.992, allocations: 0 / 1.263 GB, free: 17.08 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.587e-05/1.992, allocations: 31.78 kB / 1.263 GB, free: 17.08 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.936e-05/1.992, allocations: 39.62 kB / 1.263 GB, free: 17.08 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001783/1.994, allocations: 0.577 MB / 1.264 GB, free: 17.07 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007595/2.001, allocations: 3.502 MB / 1.267 GB, free: 14.92 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/2.002, allocations: 225.8 kB / 1.267 GB, free: 14.85 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006582/2.003, allocations: 145.7 kB / 1.267 GB, free: 14.82 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001916/2.005, allocations: 489.1 kB / 1.268 GB, free: 14.36 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.438e-05/2.005, allocations: 40.45 kB / 1.268 GB, free: 14.32 MB / 1.014 GB Notification: Performance of pre-optimization done (n=21): time 8.406e-06/2.005, allocations: 1.75 kB / 1.268 GB, free: 14.32 MB / 1.014 GB Notification: Performance of matching and sorting (n=21): time 0.002638/2.008, allocations: 450.7 kB / 1.268 GB, free: 14.24 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/2.008, allocations: 110.8 kB / 1.268 GB, free: 14.12 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002475/2.01, allocations: 0.8656 MB / 1.269 GB, free: 13.99 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.729e-05/2.011, allocations: 31.45 kB / 1.269 GB, free: 13.96 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005108/2.011, allocations: 380.6 kB / 1.27 GB, free: 13.82 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/2.011, allocations: 76.09 kB / 1.27 GB, free: 13.77 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002229/2.011, allocations: 62.72 kB / 1.27 GB, free: 13.75 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002132/2.012, allocations: 321.9 kB / 1.27 GB, free: 13.45 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004629/2.012, allocations: 103 kB / 1.27 GB, free: 13.45 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005874/2.013, allocations: 213.1 kB / 1.27 GB, free: 13.34 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000851/2.014, allocations: 307.9 kB / 1.271 GB, free: 13.24 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/2.014, allocations: 1 kB / 1.271 GB, free: 13.24 MB / 1.014 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001354/2.015, allocations: 401.5 kB / 1.271 GB, free: 13.17 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.376e-05/2.015, allocations: 7.906 kB / 1.271 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/2.015, allocations: 3.281 kB / 1.271 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.21e-05/2.015, allocations: 4.406 kB / 1.271 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005425/2.016, allocations: 63.83 kB / 1.271 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-05/2.016, allocations: 6.406 kB / 1.271 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/2.017, allocations: 89.12 kB / 1.271 GB, free: 13.12 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-05/2.017, allocations: 15.02 kB / 1.271 GB, free: 13.12 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (32): * Single equations (assignments): 32 * 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.0006024/2.017, allocations: 240 kB / 1.271 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002922/2.018, allocations: 83.25 kB / 1.271 GB, free: 12.96 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001163/2.019, allocations: 322.1 kB / 1.272 GB, free: 12.92 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/2.019, allocations: 7.156 kB / 1.272 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/2.019, allocations: 2.281 kB / 1.272 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/2.019, allocations: 2.188 kB / 1.272 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004423/2.023, allocations: 1.365 MB / 1.273 GB, free: 12.32 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.069e-05/2.023, allocations: 5.484 kB / 1.273 GB, free: 12.32 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004054/2.024, allocations: 50.27 kB / 1.273 GB, free: 12.32 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.107e-05/2.024, allocations: 5.156 kB / 1.273 GB, free: 12.32 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.264e-05/2.024, allocations: 8.016 kB / 1.273 GB, free: 12.32 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.376e-05/2.024, allocations: 7.531 kB / 1.273 GB, free: 12.32 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.576e-05/2.024, allocations: 8.156 kB / 1.273 GB, free: 12.32 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001437/2.025, allocations: 0.5183 MB / 1.274 GB, free: 12 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006517/2.026, allocations: 191.4 kB / 1.274 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003141/2.026, allocations: 15.83 kB / 1.274 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008583/2.027, allocations: 28.48 kB / 1.274 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/2.028, allocations: 28.33 kB / 1.274 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.734e-05/2.028, allocations: 11.36 kB / 1.274 GB, free: 11.86 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001902/2.03, allocations: 0.6123 MB / 1.275 GB, free: 11.77 MB / 1.014 GB Notification: Performance of sort global known variables: time 5.41e-07/2.03, allocations: 0 / 1.275 GB, free: 11.77 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001243/2.031, allocations: 169.4 kB / 1.275 GB, free: 11.75 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (21): * Single equations (assignments): 21 * 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.002313/2.033, allocations: 1.145 MB / 1.276 GB, free: 10.9 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001044/2.034, allocations: 265.1 kB / 1.276 GB, free: 10.9 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/2.034, allocations: 1.281 kB / 1.276 GB, free: 10.9 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004413/2.035, allocations: 130.9 kB / 1.276 GB, free: 10.9 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003708/2.038, allocations: 422.1 kB / 1.277 GB, free: 10.86 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01807/2.056, allocations: 6.488 MB / 1.283 GB, free: 8.125 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001113/2.058, allocations: 0.9895 MB / 1.284 GB, free: 7.426 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001405/2.059, allocations: 158.9 kB / 1.284 GB, free: 7.414 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005864/2.06, allocations: 269.6 kB / 1.284 GB, free: 7.406 MB / 1.014 GB Notification: Performance of SimCode: time 1.643e-06/2.06, allocations: 0 / 1.284 GB, free: 7.406 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3343/2.394, allocations: 20.38 MB / 1.304 GB, free: 6.086 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004437/2.395, allocations: 244.3 kB / 1.304 GB, free: 5.836 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.79/8.185, allocations: 3.938 kB / 1.304 GB, free: 5.832 MB / 1.014 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_PropertySource_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_PropertySource_T.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_PropertySource_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches