Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Examples.Performance.Example2.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_dp.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.Example2") translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_dp.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001514/0.001514, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.333/2.333, allocations: 437 MB / 0.7112 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 63.91 kB / 1.019 GB, free: 9.477 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8327/0.8341, allocations: 151.6 MB / 1.167 GB, free: 4.066 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.03136/0.8656, allocations: 30.06 MB / 1.197 GB, free: 5.895 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01663/0.8822, allocations: 11.72 MB / 1.208 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002049/0.8843, allocations: 55.69 kB / 1.208 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.004217/0.8886, allocations: 1.49 MB / 1.21 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.004681/0.8933, allocations: 1.665 MB / 1.211 GB, free: 6.922 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003688/0.897, allocations: 1.468 MB / 1.213 GB, free: 5.461 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.009612/0.9066, allocations: 6.743 MB / 1.219 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002482/0.9091, allocations: 1.396 MB / 1.221 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003651/0.9128, allocations: 1.521 MB / 1.222 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00201/0.9148, allocations: 1.117 MB / 1.223 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0005279/0.9154, allocations: 128 kB / 1.223 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003124/0.9185, allocations: 1.314 MB / 1.225 GB, free: 9.184 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000873/0.9194, allocations: 0.5256 MB / 1.225 GB, free: 8.656 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.002007/0.9214, allocations: 0.9716 MB / 1.226 GB, free: 7.68 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.006066/0.9275, allocations: 3.042 MB / 1.229 GB, free: 4.629 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.9275, allocations: 0 / 1.229 GB, free: 4.629 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9275, allocations: 0 / 1.229 GB, free: 4.629 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001043/0.9277, allocations: 4 kB / 1.229 GB, free: 4.625 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.006001/0.9337, allocations: 2.362 MB / 1.231 GB, free: 2.191 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.9337, allocations: 16.86 kB / 1.231 GB, free: 2.176 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001916/0.9356, allocations: 377.2 kB / 1.232 GB, free: 1.805 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004421/0.9401, allocations: 2.399 MB / 1.234 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.747e-05/0.9402, allocations: 66 kB / 1.234 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001606/0.9403, allocations: 84 kB / 1.234 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001756/0.9421, allocations: 1.016 MB / 1.235 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/0.9421, allocations: 4 kB / 1.235 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.151e-05/0.9422, allocations: 36 kB / 1.235 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.57e-05/0.9422, allocations: 16 kB / 1.235 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001588/0.9438, allocations: 0.7532 MB / 1.236 GB, free: 13.33 MB / 0.9669 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.007083/0.9509, allocations: 5.239 MB / 1.241 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001344/0.9523, allocations: 0.575 MB / 1.242 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006789/0.953, allocations: 322.8 kB / 1.242 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002986/0.956, allocations: 1.646 MB / 1.244 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007633/0.9568, allocations: 326.7 kB / 1.244 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005364/0.9573, allocations: 55.38 kB / 1.244 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=42): time 5.451e-06/0.9574, allocations: 4 kB / 1.244 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of matching and sorting (n=42): time 0.003401/0.9608, allocations: 1.23 MB / 1.245 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.9608, allocations: 63.41 kB / 1.245 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003065/0.9639, allocations: 1.869 MB / 1.247 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001106/0.964, allocations: 37.7 kB / 1.247 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007258/0.9648, allocations: 0.787 MB / 1.248 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001705/0.9649, allocations: 149.9 kB / 1.248 GB, free: 444 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003576/0.9653, allocations: 270.3 kB / 1.248 GB, free: 168 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.9655, allocations: 349.9 kB / 1.249 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007919/0.9663, allocations: 464.8 kB / 1.249 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/0.9673, allocations: 0.8354 MB / 1.25 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001643/0.969, allocations: 1.161 MB / 1.251 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.969, allocations: 4 kB / 1.251 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002992/0.972, allocations: 1.585 MB / 1.252 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.024e-05/0.972, allocations: 33.7 kB / 1.253 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/0.9721, allocations: 12 kB / 1.253 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006707/0.9727, allocations: 200.7 kB / 1.253 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006947/0.9735, allocations: 199.7 kB / 1.253 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007304/0.9742, allocations: 0.7629 MB / 1.254 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/0.9754, allocations: 71.95 kB / 1.254 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.845e-05/0.9756, allocations: 51.92 kB / 1.254 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001469/0.977, allocations: 0.869 MB / 1.255 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001036/0.9781, allocations: 0.8184 MB / 1.255 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001584/0.9797, allocations: 1.12 MB / 1.257 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.829e-06/0.9797, allocations: 4 kB / 1.257 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002771/0.9825, allocations: 1.584 MB / 1.258 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.431e-05/0.9825, allocations: 33.7 kB / 1.258 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/0.9825, allocations: 12 kB / 1.258 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002183/0.9828, allocations: 109.3 kB / 1.258 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006503/0.9834, allocations: 191.7 kB / 1.258 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002416/0.9859, allocations: 2.356 MB / 1.261 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/0.9875, allocations: 76 kB / 1.261 GB, free: 2.473 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001649/0.9876, allocations: 47.98 kB / 1.261 GB, free: 2.426 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 101 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0004592/0.9881, allocations: 236.5 kB / 1.261 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007029/0.9888, allocations: 169.8 kB / 1.261 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002575/0.9914, allocations: 0.912 MB / 1.262 GB, free: 1.09 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/0.9914, allocations: 7.984 kB / 1.262 GB, free: 1.082 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.9915, allocations: 0 / 1.262 GB, free: 1.082 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001648/0.9931, allocations: 0.892 MB / 1.263 GB, free: 124 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005786/0.9989, allocations: 1.991 MB / 1.265 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.999, allocations: 0 / 1.265 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005221/0.9995, allocations: 91.92 kB / 1.265 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003623/0.9999, allocations: 128.8 kB / 1.265 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.318e-05/0.9999, allocations: 11.98 kB / 1.265 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007243/1.001, allocations: 0.7473 MB / 1.266 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.001, allocations: 7.938 kB / 1.266 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002875/1.004, allocations: 1.233 MB / 1.267 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001202/1.005, allocations: 311 kB / 1.267 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005179/1.005, allocations: 16 kB / 1.267 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/1.006, allocations: 51.84 kB / 1.267 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/1.007, allocations: 31.95 kB / 1.267 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.926e-05/1.007, allocations: 19.98 kB / 1.268 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002746/1.009, allocations: 1.269 MB / 1.269 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.01e-07/1.009, allocations: 0 / 1.269 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003284/1.013, allocations: 0.819 MB / 1.27 GB, free: 9.223 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001494/1.014, allocations: 0.4981 MB / 1.27 GB, free: 8.723 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003759/1.018, allocations: 1.887 MB / 1.272 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/1.018, allocations: 0 / 1.272 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000822/1.019, allocations: 333 kB / 1.272 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003747/1.023, allocations: 0.7883 MB / 1.273 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006971/1.03, allocations: 3.068 MB / 1.276 GB, free: 2.602 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001304/1.031, allocations: 1.436 MB / 1.277 GB, free: 1.137 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005126/1.031, allocations: 135.4 kB / 1.277 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of SimCode: time 8.92e-07/1.031, allocations: 0 / 1.277 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of Templates: time 0.05413/1.086, allocations: 36.95 MB / 1.314 GB, free: 12.25 MB / 1.045 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.Example2.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.Example2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches