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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001231/0.001231, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00132/0.00132, allocations: 187.5 kB / 16.25 MB, free: 6.621 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.304/1.304, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.229/2.229, allocations: 390.2 MB / 0.6644 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 63.89 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5085/0.5098, allocations: 140.4 MB / 0.9492 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.1847/0.6945, allocations: 191.6 MB / 1.136 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01156/0.7061, allocations: 9.965 MB / 1.146 GB, free: 7.758 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009661/0.7071, allocations: 23.81 kB / 1.146 GB, free: 7.734 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.7082, allocations: 337.9 kB / 1.146 GB, free: 7.402 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002705/0.711, allocations: 0.953 MB / 1.147 GB, free: 6.445 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002943/0.7139, allocations: 1.203 MB / 1.149 GB, free: 5.242 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002004/0.7159, allocations: 1.698 MB / 1.15 GB, free: 3.531 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001104/0.7171, allocations: 0.7885 MB / 1.151 GB, free: 2.727 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003726/0.7208, allocations: 1.397 MB / 1.152 GB, free: 1.324 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001114/0.7219, allocations: 0.5602 MB / 1.153 GB, free: 0.7617 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002142/0.7222, allocations: 64 kB / 1.153 GB, free: 0.6992 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003574/0.7257, allocations: 1.473 MB / 1.154 GB, free: 15.22 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0006439/0.7264, allocations: 355.1 kB / 1.155 GB, free: 14.88 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0008952/0.7273, allocations: 433.8 kB / 1.155 GB, free: 14.45 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003507/0.7308, allocations: 1.585 MB / 1.157 GB, free: 12.86 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.7309, allocations: 0 / 1.157 GB, free: 12.86 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.793e-06/0.7309, allocations: 4 kB / 1.157 GB, free: 12.86 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.949e-05/0.7309, allocations: 0 / 1.157 GB, free: 12.86 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.002636/0.7336, allocations: 1.134 MB / 1.158 GB, free: 11.67 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.7336, allocations: 12.03 kB / 1.158 GB, free: 11.66 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000261/0.7339, allocations: 130.5 kB / 1.158 GB, free: 11.52 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002867/0.7368, allocations: 290.6 kB / 1.158 GB, free: 11.23 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/0.7381, allocations: 0.5349 MB / 1.159 GB, free: 10.66 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.714e-05/0.7382, allocations: 54 kB / 1.159 GB, free: 10.61 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001523/0.7384, allocations: 75.98 kB / 1.159 GB, free: 10.54 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002202/0.7406, allocations: 0.8948 MB / 1.16 GB, free: 9.578 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.808e-05/0.7406, allocations: 3.938 kB / 1.16 GB, free: 9.574 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.7407, allocations: 35.98 kB / 1.16 GB, free: 9.539 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.451e-05/0.7409, allocations: 45.3 kB / 1.16 GB, free: 9.496 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001516/0.7424, allocations: 0.5748 MB / 1.16 GB, free: 8.918 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.005391/0.7478, allocations: 3.501 MB / 1.164 GB, free: 5.223 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005619/0.7484, allocations: 219.7 kB / 1.164 GB, free: 4.98 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003779/0.7488, allocations: 146.8 kB / 1.164 GB, free: 4.828 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001179/0.75, allocations: 489.4 kB / 1.165 GB, free: 4.258 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/0.75, allocations: 42.45 kB / 1.165 GB, free: 4.207 MB / 0.92 GB Notification: Performance of pre-optimization done (n=21): time 2.435e-06/0.75, allocations: 0 / 1.165 GB, free: 4.207 MB / 0.92 GB Notification: Performance of matching and sorting (n=21): time 0.001899/0.7519, allocations: 452.5 kB / 1.165 GB, free: 3.758 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.811e-05/0.752, allocations: 110.8 kB / 1.165 GB, free: 3.625 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001648/0.7537, allocations: 0.8683 MB / 1.166 GB, free: 2.746 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.456e-05/0.7538, allocations: 29.7 kB / 1.166 GB, free: 2.711 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003995/0.7542, allocations: 383.9 kB / 1.166 GB, free: 2.332 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 9.049e-05/0.7543, allocations: 70.86 kB / 1.166 GB, free: 2.262 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001594/0.7544, allocations: 65.69 kB / 1.167 GB, free: 2.191 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.7546, allocations: 310 kB / 1.167 GB, free: 1.883 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003258/0.7549, allocations: 107.9 kB / 1.167 GB, free: 1.777 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000447/0.7554, allocations: 215.5 kB / 1.167 GB, free: 1.527 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007245/0.7561, allocations: 312.9 kB / 1.167 GB, free: 1.184 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.7561, allocations: 0 / 1.167 GB, free: 1.184 MB / 0.92 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001123/0.7572, allocations: 392.5 kB / 1.168 GB, free: 0.793 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.7573, allocations: 16.05 kB / 1.168 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.7573, allocations: 0 / 1.168 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/0.7573, allocations: 7.938 kB / 1.168 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004846/0.7578, allocations: 63.91 kB / 1.168 GB, free: 0.707 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.415e-05/0.7579, allocations: 4 kB / 1.168 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008067/0.7587, allocations: 95 kB / 1.168 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.273e-05/0.7588, allocations: 12 kB / 1.168 GB, free: 0.5977 MB / 0.92 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.0003925/0.7592, allocations: 237.6 kB / 1.168 GB, free: 364 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002242/0.7594, allocations: 75.06 kB / 1.168 GB, free: 288 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009267/0.7603, allocations: 331.3 kB / 1.169 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.7604, allocations: 4 kB / 1.169 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.7604, allocations: 4 kB / 1.169 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.7604, allocations: 3.984 kB / 1.169 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002868/0.7633, allocations: 1.366 MB / 1.17 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/0.7633, allocations: 4 kB / 1.17 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003133/0.7636, allocations: 51.84 kB / 1.17 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-06/0.7636, allocations: 4 kB / 1.17 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.691e-05/0.7637, allocations: 15.94 kB / 1.17 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.057e-06/0.7637, allocations: 7.938 kB / 1.17 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.972e-06/0.7637, allocations: 4 kB / 1.17 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008921/0.7646, allocations: 0.5166 MB / 1.171 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003475/0.765, allocations: 188.1 kB / 1.171 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001469/0.7651, allocations: 7.984 kB / 1.171 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006174/0.7658, allocations: 27.92 kB / 1.171 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.822e-05/0.7659, allocations: 35.84 kB / 1.171 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.799e-05/0.7659, allocations: 12 kB / 1.171 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00111/0.767, allocations: 0.6122 MB / 1.171 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.5e-07/0.767, allocations: 0 / 1.171 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008513/0.7679, allocations: 163.8 kB / 1.172 GB, free: 12.74 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.001632/0.7695, allocations: 1.139 MB / 1.173 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007844/0.7703, allocations: 268 kB / 1.173 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.7704, allocations: 4 kB / 1.173 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003667/0.7707, allocations: 129.1 kB / 1.173 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002653/0.7734, allocations: 416.1 kB / 1.173 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008862/0.7823, allocations: 6.467 MB / 1.18 GB, free: 3.957 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004953/0.7828, allocations: 0.9956 MB / 1.181 GB, free: 2.934 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0005275/0.7833, allocations: 162.2 kB / 1.181 GB, free: 2.773 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003108/0.7836, allocations: 279.3 kB / 1.181 GB, free: 2.504 MB / 0.9356 GB Notification: Performance of SimCode: time 2.6e-07/0.7836, allocations: 0 / 1.181 GB, free: 2.504 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4028/1.186, allocations: 20.37 MB / 1.201 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002208/1.187, allocations: 238.4 kB / 1.201 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.246/3.433, allocations: 0 / 1.201 GB, free: 14.25 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