Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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: translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example4") translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008495/0.0008497, allocations: 90.52 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.004933/0.004933, allocations: 171.1 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.377/1.377, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.718/2.718, allocations: 462.6 MB / 0.7363 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003264/0.0003264, allocations: 8.406 kB / 0.9027 GB, free: 36.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3754/0.3758, allocations: 159.6 MB / 1.059 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 1.009/1.384, allocations: 232.2 MB / 1.285 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02872/1.413, allocations: 15.75 MB / 1.301 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003362/1.417, allocations: 54.41 kB / 1.301 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003328/1.42, allocations: 0.8634 MB / 1.302 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0109/1.431, allocations: 2.806 MB / 1.304 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005906/1.437, allocations: 1.51 MB / 1.306 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00847/1.445, allocations: 4.657 MB / 1.31 GB, free: 1.945 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002514/1.448, allocations: 1.034 MB / 1.311 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008487/1.456, allocations: 2.225 MB / 1.314 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003759/1.46, allocations: 1.066 MB / 1.315 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003597/1.461, allocations: 46.5 kB / 1.315 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008607/1.469, allocations: 3.577 MB / 1.318 GB, free: 1.672 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007397/1.47, allocations: 405.2 kB / 1.319 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001798/1.472, allocations: 0.7448 MB / 1.319 GB, free: 17.63 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.007267/1.479, allocations: 3.051 MB / 1.322 GB, free: 17.44 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/1.479, allocations: 1.375 kB / 1.322 GB, free: 17.44 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.705e-06/1.479, allocations: 0 / 1.322 GB, free: 17.44 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.755e-05/1.479, allocations: 0 / 1.322 GB, free: 17.44 MB / 1.014 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.004013/1.483, allocations: 1.712 MB / 1.324 GB, free: 16.45 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.843e-05/1.483, allocations: 15.5 kB / 1.324 GB, free: 16.44 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002794/1.486, allocations: 0.5367 MB / 1.325 GB, free: 16.34 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002413/1.488, allocations: 1.116 MB / 1.326 GB, free: 15.94 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009529/1.489, allocations: 282.9 kB / 1.326 GB, free: 15.92 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001428/1.49, allocations: 94.5 kB / 1.326 GB, free: 15.92 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002551/1.492, allocations: 1.333 MB / 1.327 GB, free: 15.63 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.795e-05/1.492, allocations: 5.531 kB / 1.327 GB, free: 15.63 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/1.492, allocations: 46.58 kB / 1.327 GB, free: 15.62 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.42e-05/1.492, allocations: 53.8 kB / 1.327 GB, free: 15.62 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002568/1.495, allocations: 1.116 MB / 1.328 GB, free: 15.59 MB / 1.014 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.00824/1.503, allocations: 6.641 MB / 1.335 GB, free: 11.4 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001608/1.505, allocations: 0.6009 MB / 1.336 GB, free: 11.36 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00062/1.505, allocations: 291.8 kB / 1.336 GB, free: 11.34 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000395/1.506, allocations: 286.9 kB / 1.336 GB, free: 11.05 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/1.506, allocations: 38.84 kB / 1.336 GB, free: 11.01 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 2.354e-06/1.506, allocations: 0 / 1.336 GB, free: 11.01 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.002432/1.508, allocations: 0.9068 MB / 1.337 GB, free: 10.88 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/1.508, allocations: 58.53 kB / 1.337 GB, free: 10.81 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001719/1.51, allocations: 1.376 MB / 1.338 GB, free: 10.64 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.133e-05/1.51, allocations: 32.48 kB / 1.338 GB, free: 10.61 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005033/1.511, allocations: 0.6841 MB / 1.339 GB, free: 10.36 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/1.511, allocations: 117.2 kB / 1.339 GB, free: 10.28 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.396e-05/1.511, allocations: 57.19 kB / 1.339 GB, free: 10.27 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001138/1.511, allocations: 330.6 kB / 1.34 GB, free: 9.957 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008844/1.512, allocations: 324.8 kB / 1.34 GB, free: 9.949 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001135/1.513, allocations: 0.6442 MB / 1.341 GB, free: 9.543 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001754/1.515, allocations: 0.8893 MB / 1.341 GB, free: 9.176 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/1.515, allocations: 3.562 kB / 1.341 GB, free: 9.176 MB / 1.014 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002513/1.517, allocations: 1.037 MB / 1.342 GB, free: 9.043 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003006/1.518, allocations: 369.9 kB / 1.343 GB, free: 8.613 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/1.518, allocations: 12 kB / 1.343 GB, free: 8.609 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.475e-05/1.518, allocations: 14.53 kB / 1.343 GB, free: 8.609 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008408/1.519, allocations: 201.4 kB / 1.343 GB, free: 8.605 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.994e-05/1.519, allocations: 16.5 kB / 1.343 GB, free: 8.605 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001708/1.52, allocations: 235.2 kB / 1.343 GB, free: 8.535 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.681e-05/1.52, allocations: 34.45 kB / 1.343 GB, free: 8.535 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/1.52, allocations: 9.719 kB / 1.343 GB, free: 8.531 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002005/1.522, allocations: 0.8843 MB / 1.344 GB, free: 8.504 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/1.522, allocations: 11.16 kB / 1.344 GB, free: 8.504 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/1.522, allocations: 15.41 kB / 1.344 GB, free: 8.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007638/1.523, allocations: 201.2 kB / 1.344 GB, free: 8.496 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/1.523, allocations: 18.77 kB / 1.344 GB, free: 8.496 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/1.525, allocations: 198.3 kB / 1.345 GB, free: 8.445 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-05/1.525, allocations: 35.61 kB / 1.345 GB, free: 8.445 MB / 1.014 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.0007177/1.526, allocations: 416.4 kB / 1.345 GB, free: 8.246 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002072/1.526, allocations: 137.3 kB / 1.345 GB, free: 8.176 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001674/1.527, allocations: 0.7001 MB / 1.346 GB, free: 8.078 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/1.527, allocations: 2.938 kB / 1.346 GB, free: 8.078 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/1.527, allocations: 0 / 1.346 GB, free: 8.078 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.916e-06/1.527, allocations: 9.344 kB / 1.346 GB, free: 8.074 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003557/1.531, allocations: 1.964 MB / 1.348 GB, free: 7.586 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/1.531, allocations: 3.531 kB / 1.348 GB, free: 7.586 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005017/1.532, allocations: 106.5 kB / 1.348 GB, free: 7.582 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/1.532, allocations: 5.594 kB / 1.348 GB, free: 7.582 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.177e-05/1.532, allocations: 12.89 kB / 1.348 GB, free: 7.582 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/1.532, allocations: 9.344 kB / 1.348 GB, free: 7.582 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.532, allocations: 9.219 kB / 1.348 GB, free: 7.578 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001601/1.533, allocations: 0.8521 MB / 1.349 GB, free: 7.211 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005074/1.534, allocations: 308.3 kB / 1.349 GB, free: 7.031 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001956/1.534, allocations: 9.781 kB / 1.349 GB, free: 7.031 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/1.535, allocations: 109.4 kB / 1.349 GB, free: 7.02 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.526e-05/1.535, allocations: 33.2 kB / 1.349 GB, free: 7.016 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.547e-05/1.535, allocations: 24.81 kB / 1.349 GB, free: 7.016 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001513/1.537, allocations: 0.9922 MB / 1.35 GB, free: 6.902 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.3e-07/1.537, allocations: 2.516 kB / 1.35 GB, free: 6.902 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001771/1.539, allocations: 0.5734 MB / 1.351 GB, free: 6.848 MB / 1.014 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.0005516/1.539, allocations: 276.2 kB / 1.351 GB, free: 6.711 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002807/1.542, allocations: 1.141 MB / 1.352 GB, free: 6.672 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/1.542, allocations: 7.062 kB / 1.352 GB, free: 6.668 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006862/1.543, allocations: 276.9 kB / 1.352 GB, free: 6.66 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004515/1.547, allocations: 0.7782 MB / 1.353 GB, free: 6.594 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0051/1.552, allocations: 2.714 MB / 1.356 GB, free: 5.207 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007028/1.553, allocations: 1.189 MB / 1.357 GB, free: 4.41 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001674/1.555, allocations: 363.8 kB / 1.357 GB, free: 4.234 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002888/1.555, allocations: 106.2 kB / 1.357 GB, free: 4.219 MB / 1.014 GB Notification: Performance of SimCode: time 7.72e-07/1.555, allocations: 0 / 1.357 GB, free: 4.219 MB / 1.014 GB Notification: Performance of Templates: time 0.04576/1.601, allocations: 25.42 MB / 1.382 GB, free: 7.66 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches