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.006988/0.006988, allocations: 103 kB / 15.73 MB, free: 6.035 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.001492/0.001492, allocations: 190 kB / 16.67 MB, free: 5.965 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.729/2.729, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 64.06 kB / 1.054 GB, free: 7.66 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2913, allocations: 157.4 MB / 1.207 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.824/1.115, allocations: 194.1 MB / 1.397 GB, free: 12.56 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01253/1.128, allocations: 10.03 MB / 1.407 GB, free: 4.414 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001295/1.129, allocations: 30.25 kB / 1.407 GB, free: 4.402 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001193/1.13, allocations: 396.7 kB / 1.407 GB, free: 4.055 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003005/1.134, allocations: 1.028 MB / 1.408 GB, free: 3.254 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003258/1.137, allocations: 1.288 MB / 1.409 GB, free: 2.293 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.00239/1.139, allocations: 1.702 MB / 1.411 GB, free: 1.312 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001314/1.141, allocations: 0.8363 MB / 1.412 GB, free: 0.8125 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00313/1.144, allocations: 1.423 MB / 1.413 GB, free: 15.91 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001002/1.145, allocations: 0.5284 MB / 1.414 GB, free: 15.59 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002267/1.145, allocations: 62.22 kB / 1.414 GB, free: 15.59 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002791/1.148, allocations: 1.415 MB / 1.415 GB, free: 14.79 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0004721/1.148, allocations: 343.6 kB / 1.415 GB, free: 14.57 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0007435/1.149, allocations: 442.8 kB / 1.416 GB, free: 14.3 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002957/1.152, allocations: 1.495 MB / 1.417 GB, free: 13.38 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/1.152, allocations: 0 / 1.417 GB, free: 13.38 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.863e-06/1.152, allocations: 3.938 kB / 1.417 GB, free: 13.38 MB / 1.107 GB Notification: Performance of Transformations before backend: time 4.116e-05/1.152, allocations: 3.984 kB / 1.417 GB, free: 13.37 MB / 1.107 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.00186/1.154, allocations: 1.148 MB / 1.418 GB, free: 12.45 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/1.154, allocations: 12.59 kB / 1.418 GB, free: 12.45 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001478/1.154, allocations: 122.7 kB / 1.419 GB, free: 12.35 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001723/1.156, allocations: 292.4 kB / 1.419 GB, free: 12.21 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/1.157, allocations: 0.5678 MB / 1.419 GB, free: 11.75 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.635e-05/1.157, allocations: 60.7 kB / 1.419 GB, free: 11.72 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.786e-05/1.157, allocations: 73.92 kB / 1.42 GB, free: 11.7 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/1.159, allocations: 0.9042 MB / 1.42 GB, free: 11.09 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.72e-05/1.159, allocations: 3 kB / 1.42 GB, free: 11.09 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.326e-05/1.159, allocations: 32.89 kB / 1.42 GB, free: 11.07 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.893e-05/1.159, allocations: 41.89 kB / 1.421 GB, free: 11.06 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/1.16, allocations: 0.5697 MB / 1.421 GB, free: 10.79 MB / 1.107 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.003781/1.164, allocations: 3.48 MB / 1.424 GB, free: 7.742 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004024/1.164, allocations: 230.9 kB / 1.425 GB, free: 7.582 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002403/1.164, allocations: 139.5 kB / 1.425 GB, free: 7.508 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007626/1.165, allocations: 494.9 kB / 1.425 GB, free: 6.996 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/1.165, allocations: 38.48 kB / 1.425 GB, free: 6.949 MB / 1.107 GB Notification: Performance of pre-optimization done (n=21): time 2.334e-06/1.165, allocations: 2.125 kB / 1.425 GB, free: 6.949 MB / 1.107 GB Notification: Performance of matching and sorting (n=21): time 0.001268/1.167, allocations: 449.6 kB / 1.426 GB, free: 6.73 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.899e-05/1.167, allocations: 113.2 kB / 1.426 GB, free: 6.598 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/1.168, allocations: 0.8711 MB / 1.427 GB, free: 6.035 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.571e-05/1.168, allocations: 29.7 kB / 1.427 GB, free: 6 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002943/1.168, allocations: 383.8 kB / 1.427 GB, free: 5.621 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 6.983e-05/1.168, allocations: 66.95 kB / 1.427 GB, free: 5.555 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/1.168, allocations: 69.53 kB / 1.427 GB, free: 5.48 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 9.953e-05/1.168, allocations: 321.9 kB / 1.428 GB, free: 5.16 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002252/1.169, allocations: 99.92 kB / 1.428 GB, free: 5.062 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003295/1.169, allocations: 211.6 kB / 1.428 GB, free: 4.816 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004927/1.169, allocations: 316.1 kB / 1.428 GB, free: 4.469 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/1.169, allocations: 0 / 1.428 GB, free: 4.469 MB / 1.107 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007312/1.17, allocations: 404.4 kB / 1.429 GB, free: 4.066 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/1.17, allocations: 5.406 kB / 1.429 GB, free: 4.062 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.699e-06/1.17, allocations: 4 kB / 1.429 GB, free: 4.059 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/1.17, allocations: 4 kB / 1.429 GB, free: 4.055 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003009/1.171, allocations: 63.84 kB / 1.429 GB, free: 3.992 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/1.171, allocations: 7.938 kB / 1.429 GB, free: 3.984 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005043/1.171, allocations: 79.8 kB / 1.429 GB, free: 3.906 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.031e-05/1.171, allocations: 16.22 kB / 1.429 GB, free: 3.891 MB / 1.107 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.0002788/1.171, allocations: 233.7 kB / 1.429 GB, free: 3.652 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/1.172, allocations: 75.06 kB / 1.429 GB, free: 3.578 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006413/1.172, allocations: 324.1 kB / 1.429 GB, free: 3.254 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-06/1.172, allocations: 7.922 kB / 1.429 GB, free: 3.246 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/1.172, allocations: 4 kB / 1.429 GB, free: 3.242 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/1.172, allocations: 0 / 1.429 GB, free: 3.242 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002006/1.174, allocations: 1.37 MB / 1.431 GB, free: 1.762 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/1.174, allocations: 12.8 kB / 1.431 GB, free: 1.75 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002072/1.175, allocations: 43.92 kB / 1.431 GB, free: 1.707 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/1.175, allocations: 8 kB / 1.431 GB, free: 1.699 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.291e-05/1.175, allocations: 7.938 kB / 1.431 GB, free: 1.691 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.065e-06/1.175, allocations: 11.98 kB / 1.431 GB, free: 1.68 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/1.175, allocations: 8.75 kB / 1.431 GB, free: 1.672 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006371/1.175, allocations: 0.5048 MB / 1.431 GB, free: 1.098 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000299/1.176, allocations: 192 kB / 1.431 GB, free: 0.8906 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.744e-05/1.176, allocations: 12 kB / 1.431 GB, free: 0.8789 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003463/1.176, allocations: 19.92 kB / 1.431 GB, free: 0.8594 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.38e-05/1.176, allocations: 23.92 kB / 1.431 GB, free: 0.8359 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/1.176, allocations: 12.62 kB / 1.431 GB, free: 0.8242 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0007237/1.177, allocations: 0.6161 MB / 1.432 GB, free: 216 kB / 1.107 GB Notification: Performance of sort global known variables: time 2.7e-07/1.177, allocations: 3.938 kB / 1.432 GB, free: 212 kB / 1.107 GB Notification: Performance of remove unused functions: time 0.0006018/1.177, allocations: 167.8 kB / 1.432 GB, free: 44 kB / 1.107 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.001201/1.179, allocations: 1.129 MB / 1.433 GB, free: 14.85 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0005806/1.179, allocations: 272.2 kB / 1.434 GB, free: 14.59 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/1.179, allocations: 0 / 1.434 GB, free: 14.59 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0002595/1.18, allocations: 137.2 kB / 1.434 GB, free: 14.45 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001909/1.181, allocations: 421.3 kB / 1.434 GB, free: 14.06 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007651/1.189, allocations: 5.968 MB / 1.44 GB, free: 7.777 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000547/1.19, allocations: 0.9995 MB / 1.441 GB, free: 6.75 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0005697/1.19, allocations: 166.2 kB / 1.441 GB, free: 6.586 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000341/1.191, allocations: 271.3 kB / 1.441 GB, free: 6.324 MB / 1.123 GB Notification: Performance of SimCode: time 6.42e-07/1.191, allocations: 0 / 1.441 GB, free: 6.324 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04438/1.235, allocations: 21.08 MB / 1.462 GB, free: 1.574 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.869/10.1, allocations: 11.58 kB / 1.462 GB, free: 1.566 MB / 1.139 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