Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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_T,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_PropertySource_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="Buildings_10_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.0008477/0.0008507, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005079/0.005079, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.274/1.274, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.402/2.402, allocations: 437.8 MB / 0.7121 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002906/0.0002906, allocations: 12 kB / 0.8729 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5028/0.5031, allocations: 153.8 MB / 1.023 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.1778/0.6809, allocations: 189.3 MB / 1.208 GB, free: 1.762 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.009682/0.6906, allocations: 9.915 MB / 1.218 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003924/0.691, allocations: 23.81 kB / 1.218 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006563/0.6917, allocations: 305.9 kB / 1.218 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001804/0.6935, allocations: 0.9724 MB / 1.219 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002234/0.6958, allocations: 1.188 MB / 1.22 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00179/0.6976, allocations: 2.341 MB / 1.222 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007742/0.6984, allocations: 0.7028 MB / 1.223 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001935/0.7003, allocations: 1.3 MB / 1.224 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004847/0.7008, allocations: 0.525 MB / 1.225 GB, free: 424 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.686e-05/0.7009, allocations: 36 kB / 1.225 GB, free: 388 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001959/0.7028, allocations: 1.652 MB / 1.227 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000254/0.7031, allocations: 311.2 kB / 1.227 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003269/0.7034, allocations: 427.4 kB / 1.227 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001448/0.7049, allocations: 1.55 MB / 1.229 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.7049, allocations: 0 / 1.229 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.243e-06/0.7049, allocations: 0 / 1.229 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.7049, allocations: 0 / 1.229 GB, free: 12.44 MB / 0.9825 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.001146/0.7061, allocations: 0.9821 MB / 1.23 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.7061, allocations: 8.031 kB / 1.23 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001189/0.7062, allocations: 126.6 kB / 1.23 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001533/0.7078, allocations: 290.6 kB / 1.23 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000668/0.7085, allocations: 0.5349 MB / 1.231 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.134e-05/0.7085, allocations: 62 kB / 1.231 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.514e-05/0.7086, allocations: 71.98 kB / 1.231 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/0.7098, allocations: 0.9025 MB / 1.232 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.7098, allocations: 0 / 1.232 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.519e-05/0.7099, allocations: 32 kB / 1.232 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.012e-05/0.7099, allocations: 41.23 kB / 1.232 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009044/0.7108, allocations: 0.5865 MB / 1.232 GB, free: 8.652 MB / 0.9825 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.00293/0.7138, allocations: 3.509 MB / 1.236 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003318/0.7141, allocations: 223.7 kB / 1.236 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002339/0.7144, allocations: 158.4 kB / 1.236 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007081/0.7151, allocations: 0.4897 MB / 1.237 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/0.7151, allocations: 30.56 kB / 1.237 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=21): time 1.173e-06/0.7151, allocations: 0 / 1.237 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21): time 0.001066/0.7162, allocations: 478.7 kB / 1.237 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.7162, allocations: 114.7 kB / 1.237 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008967/0.7171, allocations: 0.8722 MB / 1.238 GB, free: 2.434 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.7172, allocations: 25.7 kB / 1.238 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002565/0.7174, allocations: 387.8 kB / 1.238 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.297e-05/0.7175, allocations: 66.95 kB / 1.238 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.084e-05/0.7175, allocations: 29.7 kB / 1.238 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.437e-05/0.7176, allocations: 322 kB / 1.239 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002068/0.7179, allocations: 107.9 kB / 1.239 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002765/0.7181, allocations: 211.1 kB / 1.239 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004643/0.7186, allocations: 325 kB / 1.239 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.7186, allocations: 4 kB / 1.239 GB, free: 0.8867 MB / 0.9825 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006217/0.7193, allocations: 409.8 kB / 1.24 GB, free: 492 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.7193, allocations: 4 kB / 1.24 GB, free: 488 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.7193, allocations: 4 kB / 1.24 GB, free: 484 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.7193, allocations: 7.938 kB / 1.24 GB, free: 476 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000269/0.7196, allocations: 72.19 kB / 1.24 GB, free: 404 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.7196, allocations: 8 kB / 1.24 GB, free: 396 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004029/0.72, allocations: 91 kB / 1.24 GB, free: 304 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.648e-05/0.72, allocations: 16 kB / 1.24 GB, free: 288 kB / 0.9825 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.0002396/0.7203, allocations: 235 kB / 1.24 GB, free: 44 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.7204, allocations: 83.17 kB / 1.24 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005835/0.721, allocations: 341.9 kB / 1.241 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.721, allocations: 4 kB / 1.241 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.721, allocations: 4 kB / 1.241 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.7211, allocations: 4 kB / 1.241 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001698/0.7228, allocations: 1.373 MB / 1.242 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.7228, allocations: 4 kB / 1.242 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001885/0.723, allocations: 43.92 kB / 1.242 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.723, allocations: 12.47 kB / 1.242 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.723, allocations: 11.98 kB / 1.242 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.723, allocations: 12 kB / 1.242 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.723, allocations: 7.938 kB / 1.242 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005778/0.7236, allocations: 0.5315 MB / 1.243 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001905/0.7238, allocations: 184.1 kB / 1.243 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.413e-05/0.7239, allocations: 11.94 kB / 1.243 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003455/0.7242, allocations: 31.97 kB / 1.243 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.44e-05/0.7243, allocations: 31.86 kB / 1.243 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.7243, allocations: 11.98 kB / 1.243 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000655/0.725, allocations: 0.6122 MB / 1.243 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.725, allocations: 0 / 1.243 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004706/0.7255, allocations: 163.7 kB / 1.244 GB, free: 12.39 MB / 0.9981 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.00104/0.7265, allocations: 1.155 MB / 1.245 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000482/0.727, allocations: 266.1 kB / 1.245 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.727, allocations: 0 / 1.245 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00024/0.7273, allocations: 137.2 kB / 1.245 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002068/0.7293, allocations: 417.6 kB / 1.246 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006995/0.7364, allocations: 6.523 MB / 1.252 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004736/0.7368, allocations: 0.9958 MB / 1.253 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004605/0.7373, allocations: 158.2 kB / 1.253 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002961/0.7376, allocations: 271.3 kB / 1.253 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/0.7376, allocations: 4 kB / 1.253 GB, free: 2.078 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.321/2.059, allocations: 19.65 MB / 1.272 GB, free: 228 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001603/2.059, allocations: 239.1 kB / 1.273 GB, free: 227.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.194/4.253, allocations: 0 / 1.273 GB, free: 227.7 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sources_Examples_PropertySource_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sources_Examples_PropertySource_T.fmu > Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_PropertySource_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches