Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.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.HeatExchangers.ActiveBeams.Validation.NumberOfBeams,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|beaCooHea10.heaToRoo.Q_flow|beaCooHea.heaToRoo.Q_flow|pumHotWat10.dp|pumHotWat.dp|pumChiWat.dp|pumChiWat10.dp|pumChiWat10.m_flow|pumChiWat.m_flow|pumHotWat10.m_flow|pumHotWat.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|beaCooHea10.heaToRoo.Q_flow|beaCooHea.heaToRoo.Q_flow|pumHotWat10.dp|pumHotWat.dp|pumChiWat.dp|pumChiWat10.dp|pumChiWat10.m_flow|pumChiWat.m_flow|pumHotWat10.m_flow|pumHotWat.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 107.7 kB / 16.41 MB, free: 6.438 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.001832/0.001832, allocations: 190.7 kB / 17.35 MB, free: 5.703 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.389/1.389, allocations: 222.9 MB / 241.1 MB, free: 15.08 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.481/2.481, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 63.91 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8264/0.8278, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams): time 1.151/1.979, allocations: 420.3 MB / 1.578 GB, free: 30.85 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.08165/2.061, allocations: 63.08 MB / 1.639 GB, free: 30.34 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01376/2.074, allocations: 320.6 kB / 1.64 GB, free: 30.34 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.01545/2.09, allocations: 5.295 MB / 1.645 GB, free: 30.24 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.02717/2.117, allocations: 10.33 MB / 1.655 GB, free: 29.85 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.01697/2.134, allocations: 6.642 MB / 1.661 GB, free: 29.7 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.04029/2.175, allocations: 30.16 MB / 1.691 GB, free: 29.47 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0136/2.188, allocations: 7.009 MB / 1.698 GB, free: 26.43 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02146/2.21, allocations: 8.993 MB / 1.707 GB, free: 23.86 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01027/2.22, allocations: 5.471 MB / 1.712 GB, free: 21.79 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.003064/2.223, allocations: 0.8887 MB / 1.713 GB, free: 21.78 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01252/2.236, allocations: 4.716 MB / 1.717 GB, free: 20.25 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.004186/2.24, allocations: 3.239 MB / 1.721 GB, free: 18.11 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.01146/2.251, allocations: 5.544 MB / 1.726 GB, free: 14.23 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.02468/2.276, allocations: 17.16 MB / 1.743 GB, free: 13.61 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/2.276, allocations: 0 / 1.743 GB, free: 13.61 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.174e-06/2.276, allocations: 0 / 1.743 GB, free: 13.61 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0005491/2.277, allocations: 4 kB / 1.743 GB, free: 13.61 MB / 1.295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1034 * Number of variables: 1034 Notification: Performance of Generate backend data structure: time 0.02805/2.305, allocations: 11.65 MB / 1.754 GB, free: 1.762 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/2.305, allocations: 12.92 kB / 1.754 GB, free: 1.75 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01232/2.317, allocations: 2.277 MB / 1.756 GB, free: 15.46 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0237/2.341, allocations: 11.51 MB / 1.768 GB, free: 4.195 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000427/2.341, allocations: 343.9 kB / 1.768 GB, free: 3.859 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001353/2.343, allocations: 448 kB / 1.768 GB, free: 3.422 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01479/2.357, allocations: 5.716 MB / 1.774 GB, free: 13.55 MB / 1.326 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001178/2.358, allocations: 6.75 kB / 1.774 GB, free: 13.55 MB / 1.326 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001032/2.359, allocations: 172 kB / 1.774 GB, free: 13.38 MB / 1.326 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.729e-05/2.359, allocations: 100 kB / 1.774 GB, free: 13.29 MB / 1.326 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01384/2.373, allocations: 4.945 MB / 1.779 GB, free: 8.371 MB / 1.326 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.0482/2.421, allocations: 27.09 MB / 1.805 GB, free: 12.34 MB / 1.357 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008878/2.43, allocations: 3.444 MB / 1.809 GB, free: 8.871 MB / 1.357 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004847/2.435, allocations: 2.144 MB / 1.811 GB, free: 6.727 MB / 1.357 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0163/2.451, allocations: 8.431 MB / 1.819 GB, free: 13.76 MB / 1.373 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.459e-05/2.451, allocations: 51.88 kB / 1.819 GB, free: 13.7 MB / 1.373 GB Notification: Performance of pre-optimization done (n=178): time 4.418e-06/2.451, allocations: 4 kB / 1.819 GB, free: 13.69 MB / 1.373 GB Notification: Performance of matching and sorting (n=178): time 0.01684/2.468, allocations: 6.981 MB / 1.826 GB, free: 6.629 MB / 1.373 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002106/2.468, allocations: 413.1 kB / 1.826 GB, free: 6.141 MB / 1.373 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02482/2.493, allocations: 10.5 MB / 1.837 GB, free: 11.7 MB / 1.389 GB Notification: Performance of collectPreVariables (initialization): time 0.0008797/2.494, allocations: 81.7 kB / 1.837 GB, free: 11.61 MB / 1.389 GB Notification: Performance of collectInitialEqns (initialization): time 0.006397/2.5, allocations: 4.167 MB / 1.841 GB, free: 7.449 MB / 1.389 GB Notification: Performance of collectInitialBindings (initialization): time 0.001576/2.502, allocations: 0.6187 MB / 1.841 GB, free: 6.836 MB / 1.389 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003974/2.506, allocations: 1.095 MB / 1.842 GB, free: 5.734 MB / 1.389 GB Notification: Performance of setup shared object (initialization): time 0.000104/2.506, allocations: 306.6 kB / 1.843 GB, free: 5.434 MB / 1.389 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007034/2.513, allocations: 3.327 MB / 1.846 GB, free: 2.098 MB / 1.389 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008708/2.522, allocations: 4.671 MB / 1.851 GB, free: 12.93 MB / 1.404 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01331/2.535, allocations: 7.933 MB / 1.858 GB, free: 4.508 MB / 1.404 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.835e-05/2.535, allocations: 12 kB / 1.858 GB, free: 4.496 MB / 1.404 GB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01994/2.555, allocations: 9.459 MB / 1.868 GB, free: 11.04 MB / 1.42 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004985/2.556, allocations: 0.7546 MB / 1.868 GB, free: 10.13 MB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.279e-05/2.556, allocations: 28 kB / 1.868 GB, free: 10.11 MB / 1.42 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.168e-05/2.556, allocations: 44 kB / 1.868 GB, free: 10.06 MB / 1.42 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004064/2.56, allocations: 0.9262 MB / 1.869 GB, free: 9.188 MB / 1.42 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.932e-05/2.56, allocations: 70.45 kB / 1.869 GB, free: 9.129 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008079/2.568, allocations: 0.7744 MB / 1.87 GB, free: 8.352 MB / 1.42 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009032/2.569, allocations: 207.9 kB / 1.87 GB, free: 8.148 MB / 1.42 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01068/2.58, allocations: 5.327 MB / 1.875 GB, free: 2.812 MB / 1.42 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007865/2.588, allocations: 4.654 MB / 1.88 GB, free: 13.66 MB / 1.436 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01294/2.601, allocations: 7.92 MB / 1.888 GB, free: 5.254 MB / 1.436 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.56e-05/2.601, allocations: 8 kB / 1.888 GB, free: 5.246 MB / 1.436 GB Notification: Performance of matching and sorting (n=644) (initialization_lambda0): time 0.01881/2.62, allocations: 9.444 MB / 1.897 GB, free: 11.8 MB / 1.451 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004511/2.62, allocations: 0.7527 MB / 1.898 GB, free: 10.9 MB / 1.451 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.083e-05/2.62, allocations: 30.81 kB / 1.898 GB, free: 10.87 MB / 1.451 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.182e-05/2.62, allocations: 48 kB / 1.898 GB, free: 10.82 MB / 1.451 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004005/2.624, allocations: 0.9157 MB / 1.899 GB, free: 9.957 MB / 1.451 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-05/2.624, allocations: 64.45 kB / 1.899 GB, free: 9.906 MB / 1.451 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006955/2.631, allocations: 0.6386 MB / 1.899 GB, free: 9.266 MB / 1.451 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007331/2.632, allocations: 203.9 kB / 1.9 GB, free: 9.066 MB / 1.451 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * Number of states: 0 () * Number of discrete variables: 12 (beaCooHea10.conHea.mod.airFlo_mod.i,beaCooHea10.conHea.mod.watFlo_mod.i,beaCooHea10.conHea.mod.temDif_mod.i,beaCooHea10.conCoo.mod.airFlo_mod.i,beaCooHea10.conCoo.mod.watFlo_mod.i,beaCooHea10.conCoo.mod.temDif_mod.i,beaCooHea.conHea.mod.airFlo_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.temDif_mod.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (456): * Single equations (assignments): 424 * Array equations: 4 * Algorithm blocks: 24 * Record equations: 4 * 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.001413/2.633, allocations: 0.779 MB / 1.9 GB, free: 8.266 MB / 1.451 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002593/2.636, allocations: 0.8522 MB / 1.901 GB, free: 7.402 MB / 1.451 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01331/2.649, allocations: 5.813 MB / 1.907 GB, free: 1.516 MB / 1.451 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.969e-05/2.649, allocations: 11.95 kB / 1.907 GB, free: 1.504 MB / 1.451 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/2.649, allocations: 3.938 kB / 1.907 GB, free: 1.5 MB / 1.451 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004751/2.654, allocations: 1.637 MB / 1.908 GB, free: 15.83 MB / 1.467 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002435/2.657, allocations: 52 kB / 1.909 GB, free: 15.78 MB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005439/2.662, allocations: 331.6 kB / 1.909 GB, free: 15.46 MB / 1.467 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005467/2.663, allocations: 253.7 kB / 1.909 GB, free: 15.21 MB / 1.467 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01224/2.675, allocations: 5.68 MB / 1.915 GB, free: 9.332 MB / 1.467 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01232/2.687, allocations: 5.688 MB / 1.92 GB, free: 3.547 MB / 1.467 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004636/2.692, allocations: 2.229 MB / 1.922 GB, free: 1.316 MB / 1.467 GB Notification: Performance of sorting global known variables: time 0.01388/2.706, allocations: 7.121 MB / 1.929 GB, free: 10.24 MB / 1.482 GB Notification: Performance of Backend: time 1.192e-06/2.706, allocations: 0 / 1.929 GB, free: 10.24 MB / 1.482 GB Notification: Performance of simCode: created initialization part: time 0.02732/2.733, allocations: 13.87 MB / 1.943 GB, free: 12.12 MB / 1.498 GB Notification: Performance of SimCode: time 0.04285/2.776, allocations: 18.89 MB / 1.961 GB, free: 9.094 MB / 1.514 GB Notification: Performance of Templates: time 0.3027/3.079, allocations: 195.3 MB / 2.152 GB, free: 7.914 MB / 1.701 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeams.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches