Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Examples.Performance.Example4.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.Examples.Performance.Example4,fileNamePrefix="Buildings_10_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_10_Buildings_Fluid_Examples_Performance_Example4",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.0008548/0.0008548, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005199/0.005199, allocations: 170.8 kB / 16.26 MB, free: 6.613 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.236/1.236, allocations: 223.3 MB / 240.3 MB, free: 5.367 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.471/2.471, allocations: 437.8 MB / 0.7121 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003138/0.0003138, allocations: 8 kB / 0.8729 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5405/0.5409, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.9088/1.45, allocations: 232.3 MB / 1.25 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02168/1.471, allocations: 15.73 MB / 1.265 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002942/1.474, allocations: 53.25 kB / 1.265 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003127/1.478, allocations: 0.8746 MB / 1.266 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01046/1.488, allocations: 2.798 MB / 1.269 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005251/1.493, allocations: 1.518 MB / 1.27 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.008565/1.502, allocations: 4.654 MB / 1.275 GB, free: 1.848 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001854/1.504, allocations: 1.038 MB / 1.276 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006803/1.511, allocations: 2.219 MB / 1.278 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002868/1.513, allocations: 1.066 MB / 1.279 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000151/1.514, allocations: 46.75 kB / 1.279 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007176/1.521, allocations: 3.585 MB / 1.283 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000589/1.521, allocations: 397.5 kB / 1.283 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00136/1.523, allocations: 0.7467 MB / 1.284 GB, free: 17.56 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005948/1.529, allocations: 3.046 MB / 1.287 GB, free: 17.38 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/1.529, allocations: 1.969 kB / 1.287 GB, free: 17.38 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.013e-06/1.529, allocations: 3.375 kB / 1.287 GB, free: 17.38 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.82e-05/1.529, allocations: 0 / 1.287 GB, free: 17.38 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003269/1.532, allocations: 1.718 MB / 1.288 GB, free: 16.38 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/1.532, allocations: 9.594 kB / 1.289 GB, free: 16.38 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001793/1.532, allocations: 153.7 kB / 1.289 GB, free: 16.34 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0027/1.535, allocations: 0.532 MB / 1.289 GB, free: 16.23 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002026/1.537, allocations: 1.121 MB / 1.29 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009023/1.538, allocations: 274.1 kB / 1.291 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/1.538, allocations: 99.25 kB / 1.291 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002295/1.54, allocations: 1.343 MB / 1.292 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.786e-05/1.541, allocations: 2.906 kB / 1.292 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.547e-05/1.541, allocations: 41.03 kB / 1.292 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.482e-05/1.541, allocations: 43.22 kB / 1.292 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002359/1.543, allocations: 1.122 MB / 1.293 GB, free: 15.49 MB / 0.9981 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.007534/1.551, allocations: 6.648 MB / 1.3 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/1.552, allocations: 0.608 MB / 1.3 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006249/1.553, allocations: 286.6 kB / 1.3 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003994/1.553, allocations: 285.9 kB / 1.301 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.518e-05/1.553, allocations: 37.91 kB / 1.301 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 2.254e-06/1.553, allocations: 0 / 1.301 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.002489/1.556, allocations: 0.9066 MB / 1.302 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/1.556, allocations: 64.22 kB / 1.302 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001734/1.558, allocations: 1.367 MB / 1.303 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.655e-05/1.558, allocations: 32.27 kB / 1.303 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006263/1.558, allocations: 0.6851 MB / 1.304 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/1.559, allocations: 111.7 kB / 1.304 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/1.559, allocations: 57.86 kB / 1.304 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001509/1.559, allocations: 333 kB / 1.304 GB, free: 9.852 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008865/1.56, allocations: 325.4 kB / 1.305 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001169/1.561, allocations: 0.6481 MB / 1.305 GB, free: 9.441 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001777/1.563, allocations: 0.89 MB / 1.306 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/1.563, allocations: 2.938 kB / 1.306 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002333/1.565, allocations: 1.032 MB / 1.307 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002738/1.565, allocations: 372 kB / 1.307 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/1.565, allocations: 8.312 kB / 1.307 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.59e-05/1.565, allocations: 15.56 kB / 1.307 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008515/1.566, allocations: 208.7 kB / 1.308 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.254e-05/1.566, allocations: 21.59 kB / 1.308 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001774/1.568, allocations: 234.9 kB / 1.308 GB, free: 8.441 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.497e-05/1.568, allocations: 34.73 kB / 1.308 GB, free: 8.441 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/1.568, allocations: 6.281 kB / 1.308 GB, free: 8.441 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00236/1.57, allocations: 0.891 MB / 1.309 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/1.571, allocations: 11.16 kB / 1.309 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/1.571, allocations: 12.34 kB / 1.309 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007593/1.571, allocations: 201.8 kB / 1.309 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.597e-05/1.571, allocations: 22.47 kB / 1.309 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/1.573, allocations: 200.3 kB / 1.309 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.16e-05/1.573, allocations: 39.97 kB / 1.309 GB, free: 8.34 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (78): * Single equations (assignments): 78 * 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.000714/1.574, allocations: 416.9 kB / 1.31 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002245/1.574, allocations: 136.9 kB / 1.31 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001651/1.575, allocations: 0.6884 MB / 1.31 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/1.575, allocations: 2.969 kB / 1.31 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/1.575, allocations: 0 / 1.31 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/1.575, allocations: 6.953 kB / 1.31 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003347/1.579, allocations: 1.974 MB / 1.312 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/1.579, allocations: 6.031 kB / 1.312 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004785/1.579, allocations: 103.8 kB / 1.312 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/1.579, allocations: 8.125 kB / 1.313 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.344e-05/1.579, allocations: 12.09 kB / 1.313 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/1.579, allocations: 8.875 kB / 1.313 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.579, allocations: 5.188 kB / 1.313 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001529/1.581, allocations: 0.8457 MB / 1.313 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004326/1.581, allocations: 299.5 kB / 1.314 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001849/1.582, allocations: 10.06 kB / 1.314 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/1.583, allocations: 113.1 kB / 1.314 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/1.583, allocations: 38.98 kB / 1.314 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.73e-05/1.583, allocations: 20.2 kB / 1.314 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001372/1.584, allocations: 1.003 MB / 1.315 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.91e-07/1.584, allocations: 1.75 kB / 1.315 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001786/1.586, allocations: 0.5695 MB / 1.315 GB, free: 6.754 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (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 Backend phase and start with SimCode phase: time 0.002326/1.588, allocations: 1.566 MB / 1.317 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002717/1.591, allocations: 1.14 MB / 1.318 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/1.591, allocations: 0 / 1.318 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006477/1.592, allocations: 276.7 kB / 1.318 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004416/1.596, allocations: 0.7758 MB / 1.319 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01954/1.616, allocations: 10.87 MB / 1.33 GB, free: 1.062 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001004/1.617, allocations: 1.18 MB / 1.331 GB, free: 344 kB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001935/1.619, allocations: 369.3 kB / 1.331 GB, free: 248 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000675/1.619, allocations: 0.4946 MB / 1.332 GB, free: 240 kB / 0.9981 GB Notification: Performance of SimCode: time 1.282e-06/1.619, allocations: 0 / 1.332 GB, free: 240 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09078/1.71, allocations: 36.07 MB / 1.367 GB, free: 8.477 MB / 1.029 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002668/1.71, allocations: 233.5 kB / 1.367 GB, free: 8.227 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.895/4.606, allocations: 7.938 kB / 1.367 GB, free: 8.219 MB / 1.029 GB (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Examples.Performance.Example4_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_10_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches