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.006824/0.006824, allocations: 102.6 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.001533/0.001533, allocations: 193.1 kB / 16.67 MB, free: 5.973 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.453/1.453, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.759/2.759, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 67.91 kB / 1.054 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2934, allocations: 157.4 MB / 1.207 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.8884/1.182, allocations: 194.1 MB / 1.397 GB, free: 12.27 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01446/1.196, allocations: 10.03 MB / 1.407 GB, free: 4.117 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001375/1.198, allocations: 29.69 kB / 1.407 GB, free: 4.105 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001327/1.199, allocations: 393.3 kB / 1.407 GB, free: 3.762 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003316/1.202, allocations: 1.029 MB / 1.408 GB, free: 2.961 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003813/1.206, allocations: 1.287 MB / 1.409 GB, free: 2 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002659/1.209, allocations: 1.705 MB / 1.411 GB, free: 1.016 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001464/1.21, allocations: 0.8356 MB / 1.412 GB, free: 0.5156 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003507/1.214, allocations: 1.427 MB / 1.413 GB, free: 15.61 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001089/1.215, allocations: 0.5248 MB / 1.414 GB, free: 15.29 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002866/1.215, allocations: 63.19 kB / 1.414 GB, free: 15.29 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003193/1.219, allocations: 1.41 MB / 1.415 GB, free: 14.5 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0004878/1.219, allocations: 346.2 kB / 1.415 GB, free: 14.28 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0008379/1.22, allocations: 440.2 kB / 1.416 GB, free: 14 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.003069/1.223, allocations: 1.507 MB / 1.417 GB, free: 13.07 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/1.223, allocations: 0 / 1.417 GB, free: 13.07 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.462e-06/1.223, allocations: 2.688 kB / 1.417 GB, free: 13.07 MB / 1.107 GB Notification: Performance of Transformations before backend: time 3.767e-05/1.223, allocations: 0 / 1.417 GB, free: 13.07 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.00189/1.225, allocations: 1.142 MB / 1.418 GB, free: 12.16 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/1.225, allocations: 8.219 kB / 1.418 GB, free: 12.16 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001589/1.225, allocations: 126 kB / 1.419 GB, free: 12.05 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001826/1.227, allocations: 291.5 kB / 1.419 GB, free: 11.92 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/1.228, allocations: 0.5736 MB / 1.419 GB, free: 11.45 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.211e-05/1.228, allocations: 61.73 kB / 1.419 GB, free: 11.43 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/1.228, allocations: 73.88 kB / 1.42 GB, free: 11.4 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/1.23, allocations: 0.889 MB / 1.42 GB, free: 10.81 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/1.23, allocations: 7.938 kB / 1.42 GB, free: 10.8 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.611e-05/1.23, allocations: 34.83 kB / 1.42 GB, free: 10.78 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-05/1.23, allocations: 35.95 kB / 1.42 GB, free: 10.77 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009771/1.231, allocations: 0.5808 MB / 1.421 GB, free: 10.5 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.003789/1.235, allocations: 3.48 MB / 1.424 GB, free: 7.449 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003816/1.235, allocations: 227.6 kB / 1.425 GB, free: 7.293 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000247/1.235, allocations: 151.1 kB / 1.425 GB, free: 7.207 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008059/1.236, allocations: 487.9 kB / 1.425 GB, free: 6.699 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/1.236, allocations: 37.47 kB / 1.425 GB, free: 6.656 MB / 1.107 GB Notification: Performance of pre-optimization done (n=21): time 4.509e-06/1.236, allocations: 0 / 1.425 GB, free: 6.656 MB / 1.107 GB Notification: Performance of matching and sorting (n=21): time 0.001244/1.238, allocations: 453.4 kB / 1.426 GB, free: 6.434 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/1.238, allocations: 109.7 kB / 1.426 GB, free: 6.305 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/1.239, allocations: 0.8673 MB / 1.427 GB, free: 5.836 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.438e-05/1.239, allocations: 32.52 kB / 1.427 GB, free: 5.801 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002883/1.239, allocations: 378.7 kB / 1.427 GB, free: 5.43 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 7.627e-05/1.239, allocations: 82.98 kB / 1.427 GB, free: 5.348 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/1.239, allocations: 61.61 kB / 1.427 GB, free: 5.281 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001031/1.239, allocations: 318 kB / 1.428 GB, free: 4.965 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002638/1.24, allocations: 99.91 kB / 1.428 GB, free: 4.867 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002937/1.24, allocations: 219.5 kB / 1.428 GB, free: 4.613 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004553/1.24, allocations: 304.6 kB / 1.428 GB, free: 4.277 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/1.24, allocations: 7.938 kB / 1.428 GB, free: 4.27 MB / 1.107 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007308/1.241, allocations: 396.2 kB / 1.429 GB, free: 3.875 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/1.241, allocations: 12.28 kB / 1.429 GB, free: 3.863 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/1.241, allocations: 8 kB / 1.429 GB, free: 3.855 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/1.241, allocations: 4 kB / 1.429 GB, free: 3.852 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003189/1.241, allocations: 60.66 kB / 1.429 GB, free: 3.793 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/1.242, allocations: 7.984 kB / 1.429 GB, free: 3.785 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004927/1.242, allocations: 83.05 kB / 1.429 GB, free: 3.703 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.95e-05/1.242, allocations: 16 kB / 1.429 GB, free: 3.688 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.0002937/1.242, allocations: 229.6 kB / 1.429 GB, free: 3.453 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001586/1.243, allocations: 83.06 kB / 1.429 GB, free: 3.371 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006382/1.243, allocations: 315.7 kB / 1.429 GB, free: 3.055 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/1.243, allocations: 7.938 kB / 1.429 GB, free: 3.047 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/1.243, allocations: 1.125 kB / 1.429 GB, free: 3.047 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/1.243, allocations: 4 kB / 1.429 GB, free: 3.043 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002056/1.245, allocations: 1.365 MB / 1.431 GB, free: 1.566 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/1.245, allocations: 4 kB / 1.431 GB, free: 1.562 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002213/1.246, allocations: 43.91 kB / 1.431 GB, free: 1.52 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.096e-06/1.246, allocations: 8.531 kB / 1.431 GB, free: 1.512 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.556e-05/1.246, allocations: 15.94 kB / 1.431 GB, free: 1.496 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.198e-06/1.246, allocations: 12.88 kB / 1.431 GB, free: 1.484 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/1.246, allocations: 4 kB / 1.431 GB, free: 1.48 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006567/1.246, allocations: 0.5107 MB / 1.431 GB, free: 0.9023 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003079/1.247, allocations: 184.2 kB / 1.431 GB, free: 0.7031 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001314/1.247, allocations: 19.97 kB / 1.431 GB, free: 0.6836 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003633/1.247, allocations: 19.88 kB / 1.431 GB, free: 0.6641 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.214e-05/1.247, allocations: 31.91 kB / 1.431 GB, free: 0.6328 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.248e-05/1.247, allocations: 12.81 kB / 1.431 GB, free: 0.6211 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0008061/1.248, allocations: 0.6122 MB / 1.432 GB, free: 12 kB / 1.107 GB Notification: Performance of sort global known variables: time 3.41e-07/1.248, allocations: 0 / 1.432 GB, free: 12 kB / 1.107 GB Notification: Performance of remove unused functions: time 0.0006627/1.249, allocations: 167.9 kB / 1.432 GB, free: 15.84 MB / 1.123 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.001216/1.25, allocations: 1.142 MB / 1.433 GB, free: 14.64 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0005939/1.251, allocations: 267.6 kB / 1.434 GB, free: 14.38 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/1.251, allocations: 0 / 1.434 GB, free: 14.38 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0002506/1.251, allocations: 129.1 kB / 1.434 GB, free: 14.26 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001829/1.253, allocations: 419 kB / 1.434 GB, free: 13.86 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008187/1.261, allocations: 5.988 MB / 1.44 GB, free: 7.562 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005798/1.261, allocations: 0.9878 MB / 1.441 GB, free: 6.547 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0005614/1.262, allocations: 166.2 kB / 1.441 GB, free: 6.383 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003415/1.262, allocations: 275.3 kB / 1.441 GB, free: 6.117 MB / 1.123 GB Notification: Performance of SimCode: time 1.062e-06/1.262, allocations: 4 kB / 1.441 GB, free: 6.113 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0455/1.308, allocations: 21.07 MB / 1.462 GB, free: 1.371 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.248/10.56, allocations: 4.656 kB / 1.462 GB, free: 1.367 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