Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Fluid_Sources_Examples_PropertySource_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="Buildings_9_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.001471/0.001471, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001776/0.001776, allocations: 196.5 kB / 16.14 MB, free: 6.711 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.234/1.234, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.099/2.099, allocations: 390.2 MB / 0.6643 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 59.91 kB / 0.812 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4993/0.5008, allocations: 140.4 MB / 0.949 GB, free: 9.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.1664/0.6672, allocations: 191.9 MB / 1.136 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.009575/0.6768, allocations: 10.03 MB / 1.146 GB, free: 7.52 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003548/0.6772, allocations: 27.81 kB / 1.146 GB, free: 7.492 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0006945/0.6779, allocations: 313.8 kB / 1.147 GB, free: 7.184 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001746/0.6797, allocations: 0.9764 MB / 1.148 GB, free: 6.203 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001993/0.6817, allocations: 1.187 MB / 1.149 GB, free: 5.016 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001673/0.6833, allocations: 2.341 MB / 1.151 GB, free: 2.66 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007566/0.6841, allocations: 0.7235 MB / 1.152 GB, free: 1.914 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001959/0.6861, allocations: 1.311 MB / 1.153 GB, free: 0.5977 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000471/0.6866, allocations: 0.5562 MB / 1.153 GB, free: 40 kB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.819e-05/0.6867, allocations: 44.05 kB / 1.154 GB, free: 15.99 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001989/0.6887, allocations: 1.66 MB / 1.155 GB, free: 14.33 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002602/0.6889, allocations: 323.1 kB / 1.155 GB, free: 14.02 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003383/0.6893, allocations: 421.7 kB / 1.156 GB, free: 13.6 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001505/0.6908, allocations: 1.57 MB / 1.157 GB, free: 12.03 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.6908, allocations: 0 / 1.157 GB, free: 12.03 MB / 0.92 GB Notification: Performance of FrontEnd: time 7.22e-07/0.6908, allocations: 0 / 1.157 GB, free: 12.03 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.6908, allocations: 0 / 1.157 GB, free: 12.03 MB / 0.92 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.001256/0.6921, allocations: 1.142 MB / 1.159 GB, free: 10.84 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.6921, allocations: 8.031 kB / 1.159 GB, free: 10.83 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001156/0.6922, allocations: 122.6 kB / 1.159 GB, free: 10.7 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001662/0.6939, allocations: 290.6 kB / 1.159 GB, free: 10.41 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006621/0.6946, allocations: 0.5388 MB / 1.159 GB, free: 9.836 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.766e-05/0.6946, allocations: 54 kB / 1.159 GB, free: 9.781 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.357e-05/0.6947, allocations: 83.97 kB / 1.16 GB, free: 9.699 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/0.6959, allocations: 0.8922 MB / 1.16 GB, free: 8.754 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.6959, allocations: 0 / 1.16 GB, free: 8.754 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.794e-05/0.696, allocations: 32 kB / 1.16 GB, free: 8.723 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.861e-05/0.6961, allocations: 49.17 kB / 1.161 GB, free: 8.672 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009128/0.697, allocations: 0.5788 MB / 1.161 GB, free: 8.09 MB / 0.92 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.00294/0.6999, allocations: 3.489 MB / 1.164 GB, free: 4.41 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00034/0.7003, allocations: 227.7 kB / 1.165 GB, free: 4.16 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002283/0.7005, allocations: 146.8 kB / 1.165 GB, free: 4.008 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007377/0.7013, allocations: 489.4 kB / 1.165 GB, free: 3.438 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.7013, allocations: 38.45 kB / 1.165 GB, free: 3.391 MB / 0.92 GB Notification: Performance of pre-optimization done (n=21): time 1.362e-06/0.7013, allocations: 4 kB / 1.165 GB, free: 3.387 MB / 0.92 GB Notification: Performance of matching and sorting (n=21): time 0.0011/0.7024, allocations: 453.8 kB / 1.166 GB, free: 2.938 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.7025, allocations: 110.8 kB / 1.166 GB, free: 2.805 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008934/0.7034, allocations: 0.8686 MB / 1.167 GB, free: 1.922 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.7034, allocations: 25.7 kB / 1.167 GB, free: 1.891 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002547/0.7036, allocations: 391.8 kB / 1.167 GB, free: 1.504 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.207e-05/0.7037, allocations: 78.8 kB / 1.167 GB, free: 1.426 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.32e-05/0.7038, allocations: 57.7 kB / 1.167 GB, free: 1.363 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.803e-05/0.7039, allocations: 318 kB / 1.168 GB, free: 1.047 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/0.7041, allocations: 99.91 kB / 1.168 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000274/0.7044, allocations: 219.5 kB / 1.168 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004507/0.7048, allocations: 307.9 kB / 1.168 GB, free: 364 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.7049, allocations: 0 / 1.168 GB, free: 364 kB / 0.92 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006254/0.7055, allocations: 402.3 kB / 1.169 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.7055, allocations: 8 kB / 1.169 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.7055, allocations: 4 kB / 1.169 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.7055, allocations: 7.938 kB / 1.169 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002924/0.7058, allocations: 55.91 kB / 1.169 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.7059, allocations: 11.92 kB / 1.169 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004238/0.7063, allocations: 91.2 kB / 1.169 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.555e-05/0.7063, allocations: 19.98 kB / 1.169 GB, free: 15.76 MB / 0.9356 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.0002228/0.7066, allocations: 237.6 kB / 1.169 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.7067, allocations: 79.06 kB / 1.169 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005563/0.7073, allocations: 316.8 kB / 1.169 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.7073, allocations: 4 kB / 1.169 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.7073, allocations: 0 / 1.169 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.7073, allocations: 0 / 1.169 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001718/0.709, allocations: 1.369 MB / 1.171 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.709, allocations: 8 kB / 1.171 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002035/0.7092, allocations: 47.91 kB / 1.171 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.7092, allocations: 4 kB / 1.171 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/0.7093, allocations: 11.94 kB / 1.171 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.7093, allocations: 8.062 kB / 1.171 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.7093, allocations: 8.375 kB / 1.171 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005614/0.7099, allocations: 0.5214 MB / 1.171 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001986/0.7101, allocations: 188 kB / 1.171 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.775e-05/0.7102, allocations: 15.98 kB / 1.171 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003644/0.7105, allocations: 27.92 kB / 1.172 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.692e-05/0.7106, allocations: 31.84 kB / 1.172 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.7106, allocations: 12 kB / 1.172 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0006489/0.7113, allocations: 0.6083 MB / 1.172 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7113, allocations: 0 / 1.172 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004817/0.7118, allocations: 163.8 kB / 1.172 GB, free: 11.91 MB / 0.9356 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.001035/0.7128, allocations: 1.153 MB / 1.173 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004789/0.7133, allocations: 256.3 kB / 1.174 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.7133, allocations: 0 / 1.174 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002377/0.7136, allocations: 133 kB / 1.174 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001629/0.7152, allocations: 406 kB / 1.174 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007038/0.7222, allocations: 6.452 MB / 1.18 GB, free: 3.156 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00047/0.7227, allocations: 0.9959 MB / 1.181 GB, free: 2.133 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.000472/0.7232, allocations: 166.2 kB / 1.182 GB, free: 1.969 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000299/0.7235, allocations: 275.3 kB / 1.182 GB, free: 1.703 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.7235, allocations: 0 / 1.182 GB, free: 1.703 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9168/1.64, allocations: 19.85 MB / 1.201 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002064/1.641, allocations: 248 kB / 1.201 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.996/3.636, allocations: 0 / 1.201 GB, free: 13.92 MB / 0.9669 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_PropertySource_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_PropertySource_T.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_PropertySource_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches