Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.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.Examples.HeatingOnly,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|beaCooHea.heaToRoo.Q_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|beaCooHea.heaToRoo.Q_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.001875/0.001875, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.337/1.337, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.457/2.457, allocations: 437 MB / 0.7112 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 67.89 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.709/0.7103, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly): time 0.2697/0.98, allocations: 265.6 MB / 1.427 GB, free: 9.227 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.03215/1.012, allocations: 21.59 MB / 1.448 GB, free: 3.578 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005647/1.018, allocations: 119.3 kB / 1.448 GB, free: 3.461 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.005311/1.023, allocations: 1.747 MB / 1.45 GB, free: 1.703 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.01085/1.034, allocations: 4.158 MB / 1.454 GB, free: 13.52 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.007368/1.042, allocations: 2.646 MB / 1.456 GB, free: 10.89 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.01034/1.052, allocations: 7.854 MB / 1.464 GB, free: 3.031 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004585/1.057, allocations: 2.844 MB / 1.467 GB, free: 120 kB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007843/1.064, allocations: 3.541 MB / 1.47 GB, free: 12.57 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003846/1.068, allocations: 2.189 MB / 1.472 GB, free: 10.38 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0009493/1.069, allocations: 387.9 kB / 1.473 GB, free: 9.996 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005961/1.075, allocations: 2.725 MB / 1.475 GB, free: 7.266 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.001381/1.077, allocations: 1.149 MB / 1.476 GB, free: 6.113 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.003125/1.08, allocations: 2.053 MB / 1.478 GB, free: 4.051 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.009923/1.09, allocations: 7.015 MB / 1.485 GB, free: 13.02 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/1.09, allocations: 0 / 1.485 GB, free: 13.02 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.553e-06/1.09, allocations: 0 / 1.485 GB, free: 13.02 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.0001535/1.09, allocations: 0 / 1.485 GB, free: 13.02 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 481 * Number of variables: 481 Notification: Performance of Generate backend data structure: time 0.008917/1.099, allocations: 4.482 MB / 1.49 GB, free: 8.379 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/1.099, allocations: 8.031 kB / 1.49 GB, free: 8.371 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002279/1.101, allocations: 0.5031 MB / 1.49 GB, free: 7.863 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005821/1.107, allocations: 3.157 MB / 1.493 GB, free: 4.645 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001343/1.107, allocations: 155.7 kB / 1.493 GB, free: 4.492 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004247/1.108, allocations: 200 kB / 1.494 GB, free: 4.297 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004017/1.112, allocations: 2.445 MB / 1.496 GB, free: 1.801 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.053e-05/1.112, allocations: 3.938 kB / 1.496 GB, free: 1.797 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001839/1.112, allocations: 80 kB / 1.496 GB, free: 1.719 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.489e-05/1.112, allocations: 67.64 kB / 1.496 GB, free: 1.652 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003163/1.115, allocations: 1.904 MB / 1.498 GB, free: 15.75 MB / 1.232 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.01498/1.13, allocations: 9.912 MB / 1.508 GB, free: 5.383 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002178/1.132, allocations: 1.391 MB / 1.509 GB, free: 3.973 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001279/1.134, allocations: 0.9641 MB / 1.51 GB, free: 3.008 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001015/1.135, allocations: 1.172 MB / 1.511 GB, free: 1.574 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.269e-05/1.135, allocations: 47.56 kB / 1.511 GB, free: 1.52 MB / 1.232 GB Notification: Performance of pre-optimization done (n=111): time 5.47e-06/1.135, allocations: 0 / 1.511 GB, free: 1.52 MB / 1.232 GB Notification: Performance of matching and sorting (n=113): time 0.009588/1.144, allocations: 5.649 MB / 1.517 GB, free: 11.7 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/1.144, allocations: 234.6 kB / 1.517 GB, free: 11.41 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004916/1.149, allocations: 3.361 MB / 1.52 GB, free: 8.055 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0002299/1.15, allocations: 53.7 kB / 1.52 GB, free: 7.996 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.001243/1.151, allocations: 1.404 MB / 1.522 GB, free: 6.582 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004272/1.151, allocations: 394.3 kB / 1.522 GB, free: 6.191 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004886/1.152, allocations: 302.7 kB / 1.522 GB, free: 5.891 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 9.928e-05/1.152, allocations: 305.1 kB / 1.523 GB, free: 5.59 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001426/1.153, allocations: 1.072 MB / 1.524 GB, free: 4.516 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00176/1.155, allocations: 1.431 MB / 1.525 GB, free: 2.957 MB / 1.248 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.009515/1.165, allocations: 6.632 MB / 1.532 GB, free: 11.96 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/1.165, allocations: 4 kB / 1.532 GB, free: 11.96 MB / 1.264 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.004705/1.169, allocations: 3.157 MB / 1.535 GB, free: 8.719 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002252/1.17, allocations: 386.5 kB / 1.535 GB, free: 8.27 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/1.17, allocations: 4 kB / 1.535 GB, free: 8.266 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.595e-05/1.17, allocations: 12 kB / 1.535 GB, free: 8.254 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/1.171, allocations: 287.9 kB / 1.535 GB, free: 7.977 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004739/1.171, allocations: 0.6211 MB / 1.536 GB, free: 7.332 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00211/1.174, allocations: 83.92 kB / 1.536 GB, free: 7.25 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001853/1.174, allocations: 67.98 kB / 1.536 GB, free: 7.184 MB / 1.264 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002858/1.177, allocations: 1.792 MB / 1.538 GB, free: 5.387 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001848/1.178, allocations: 1.423 MB / 1.539 GB, free: 3.844 MB / 1.264 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01273/1.191, allocations: 6.587 MB / 1.546 GB, free: 12.9 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.322e-06/1.191, allocations: 0 / 1.546 GB, free: 12.9 MB / 1.279 GB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.004801/1.196, allocations: 3.149 MB / 1.549 GB, free: 9.664 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002314/1.196, allocations: 384.4 kB / 1.549 GB, free: 9.215 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/1.196, allocations: 8.781 kB / 1.549 GB, free: 9.207 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/1.196, allocations: 16 kB / 1.549 GB, free: 9.191 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/1.197, allocations: 255.6 kB / 1.549 GB, free: 8.941 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.226e-05/1.197, allocations: 19.92 kB / 1.549 GB, free: 8.922 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002147/1.2, allocations: 107.8 kB / 1.549 GB, free: 8.816 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001609/1.2, allocations: 59.98 kB / 1.549 GB, free: 8.758 MB / 1.279 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 7 (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,conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (155): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005726/1.2, allocations: 466.1 kB / 1.55 GB, free: 8.258 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007356/1.201, allocations: 304.2 kB / 1.55 GB, free: 7.957 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003611/1.205, allocations: 2.357 MB / 1.553 GB, free: 5.555 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002878/1.208, allocations: 2.097 MB / 1.555 GB, free: 3.375 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/1.208, allocations: 11.92 kB / 1.555 GB, free: 3.363 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001753/1.209, allocations: 0.6378 MB / 1.555 GB, free: 2.703 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008242/1.21, allocations: 32 kB / 1.555 GB, free: 2.672 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001766/1.212, allocations: 59.94 kB / 1.555 GB, free: 2.613 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002862/1.212, allocations: 124.8 kB / 1.555 GB, free: 2.488 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.6505/1.863, allocations: 2.554 MB / 1.558 GB, free: 384.7 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006636/1.87, allocations: 3.707 MB / 1.562 GB, free: 383.5 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001271/1.871, allocations: 0.9545 MB / 1.562 GB, free: 383.1 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.003721/1.875, allocations: 2.339 MB / 1.565 GB, free: 382.2 MB / 1.279 GB Notification: Performance of Backend: time 7.61e-07/1.875, allocations: 0 / 1.565 GB, free: 382.2 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.007672/1.882, allocations: 5.415 MB / 1.57 GB, free: 379.4 MB / 1.279 GB Notification: Performance of SimCode: time 0.01143/1.894, allocations: 7.078 MB / 1.577 GB, free: 375.9 MB / 1.279 GB Notification: Performance of Templates: time 0.094/1.988, allocations: 72.7 MB / 1.648 GB, free: 306.4 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches