Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.CoolingOnly,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|beaCoo.heaToRoo.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|beaCoo.heaToRoo.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 98.64 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 182.8 kB / 16.92 MB, free: 6.918 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.388/1.388, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.561/2.561, allocations: 390.9 MB / 0.667 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004401/0.0004401, allocations: 11.94 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8266/0.8271, allocations: 142.4 MB / 0.9557 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly): time 0.2643/1.092, allocations: 222.7 MB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02369/1.115, allocations: 14.53 MB / 1.187 GB, free: 1.402 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003801/1.119, allocations: 71.56 kB / 1.187 GB, free: 1.332 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.003904/1.123, allocations: 0.9364 MB / 1.188 GB, free: 400 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.009138/1.132, allocations: 2.493 MB / 1.191 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.006089/1.138, allocations: 1.624 MB / 1.192 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0101/1.148, allocations: 6.338 MB / 1.199 GB, free: 5.922 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003795/1.152, allocations: 1.536 MB / 1.2 GB, free: 4.34 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006166/1.158, allocations: 1.983 MB / 1.202 GB, free: 2.348 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003883/1.162, allocations: 1.329 MB / 1.203 GB, free: 1.016 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0007093/1.163, allocations: 75.94 kB / 1.203 GB, free: 0.9414 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005794/1.169, allocations: 2.14 MB / 1.205 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0013/1.17, allocations: 0.5759 MB / 1.206 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.002881/1.173, allocations: 1.121 MB / 1.207 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.006099/1.179, allocations: 3.44 MB / 1.21 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/1.179, allocations: 0 / 1.21 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.675e-06/1.179, allocations: 0 / 1.21 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001476/1.18, allocations: 0 / 1.21 GB, free: 9.637 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.006174/1.186, allocations: 2.484 MB / 1.213 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/1.186, allocations: 15.97 kB / 1.213 GB, free: 7.035 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002223/1.188, allocations: 388.7 kB / 1.213 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004804/1.193, allocations: 1.901 MB / 1.215 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001262/1.193, allocations: 102.6 kB / 1.215 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004556/1.193, allocations: 143.9 kB / 1.215 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003977/1.197, allocations: 1.61 MB / 1.217 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.553e-05/1.198, allocations: 0 / 1.217 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001849/1.198, allocations: 59.98 kB / 1.217 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.171e-05/1.198, allocations: 58.47 kB / 1.217 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002883/1.201, allocations: 1.244 MB / 1.218 GB, free: 1.43 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.01292/1.214, allocations: 6.633 MB / 1.225 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001775/1.215, allocations: 0.9525 MB / 1.226 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001053/1.217, allocations: 0.634 MB / 1.226 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007682/1.217, allocations: 0.6811 MB / 1.227 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.414e-05/1.217, allocations: 43.69 kB / 1.227 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 2.595e-06/1.217, allocations: 3.938 kB / 1.227 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of matching and sorting (n=84): time 0.007855/1.225, allocations: 3.617 MB / 1.231 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001312/1.225, allocations: 149.1 kB / 1.231 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004446/1.23, allocations: 2 MB / 1.233 GB, free: 1.996 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001756/1.23, allocations: 45.7 kB / 1.233 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001031/1.231, allocations: 0.8909 MB / 1.234 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003876/1.232, allocations: 287.8 kB / 1.234 GB, free: 0.7617 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001764/1.232, allocations: 89.67 kB / 1.234 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001582/1.232, allocations: 341.9 kB / 1.234 GB, free: 336 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00108/1.233, allocations: 0.619 MB / 1.235 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001285/1.234, allocations: 0.8516 MB / 1.236 GB, free: 14.78 MB / 0.9981 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.007131/1.241, allocations: 3.915 MB / 1.239 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/1.242, allocations: 0 / 1.239 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.003354/1.245, allocations: 1.868 MB / 1.241 GB, free: 8.75 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000322/1.245, allocations: 409.9 kB / 1.242 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/1.245, allocations: 4 kB / 1.242 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.134e-05/1.245, allocations: 8 kB / 1.242 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007662/1.246, allocations: 179.7 kB / 1.242 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.205e-05/1.246, allocations: 15.98 kB / 1.242 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/1.248, allocations: 111.8 kB / 1.242 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001279/1.248, allocations: 47.98 kB / 1.242 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/1.248, allocations: 4 kB / 1.242 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002883/1.251, allocations: 1.869 MB / 1.244 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/1.251, allocations: 4 kB / 1.244 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/1.251, allocations: 8 kB / 1.244 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007117/1.252, allocations: 179.7 kB / 1.244 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.126e-05/1.252, allocations: 15.92 kB / 1.244 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00174/1.253, allocations: 119.8 kB / 1.244 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/1.254, allocations: 36 kB / 1.244 GB, free: 5.633 MB / 0.9981 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 4 (beaCoo.conCoo.mod.airFlo_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.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 (108): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 6 * 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.001407/1.255, allocations: 0.7088 MB / 1.245 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005839/1.256, allocations: 197.6 kB / 1.245 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002743/1.258, allocations: 1.481 MB / 1.247 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.445e-05/1.258, allocations: 12 kB / 1.247 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/1.258, allocations: 0 / 1.247 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001984/1.26, allocations: 1.534 MB / 1.248 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6978/1.958, allocations: 3.58 MB / 1.252 GB, free: 282.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.444e-05/1.958, allocations: 5.297 kB / 1.252 GB, free: 282.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008267/1.959, allocations: 163.2 kB / 1.252 GB, free: 282.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-05/1.959, allocations: 8.875 kB / 1.252 GB, free: 282.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.182e-05/1.959, allocations: 29.75 kB / 1.252 GB, free: 282.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.961e-05/1.959, allocations: 13 kB / 1.252 GB, free: 282.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.217e-05/1.959, allocations: 10.22 kB / 1.252 GB, free: 282.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004294/1.964, allocations: 2.368 MB / 1.254 GB, free: 281.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001239/1.965, allocations: 446.9 kB / 1.255 GB, free: 281.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002419/1.965, allocations: 34.67 kB / 1.255 GB, free: 281.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/1.966, allocations: 90.42 kB / 1.255 GB, free: 281.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002893/1.967, allocations: 98.67 kB / 1.255 GB, free: 281.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.935e-05/1.967, allocations: 35.89 kB / 1.255 GB, free: 281.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002848/1.969, allocations: 1.401 MB / 1.256 GB, free: 280.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.9e-07/1.969, allocations: 3.969 kB / 1.256 GB, free: 280.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003226/1.973, allocations: 0.7833 MB / 1.257 GB, free: 280.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (conPID.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,beaCoo.conCoo.hex.vol.dynBal.U) * Number of discrete variables: 3 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.airFlo_mod.i) * Number of discrete states: 3 (beaCoo.conCoo.mod.airFlo_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 2 * 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.001255/1.974, allocations: 428.7 kB / 1.257 GB, free: 280.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00515/1.979, allocations: 3.071 MB / 1.26 GB, free: 278.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/1.979, allocations: 1.438 kB / 1.26 GB, free: 278.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001394/1.981, allocations: 0.9981 MB / 1.261 GB, free: 278.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006537/1.987, allocations: 1.015 MB / 1.262 GB, free: 278 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00752/1.995, allocations: 4.629 MB / 1.267 GB, free: 275.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001338/1.996, allocations: 1.524 MB / 1.268 GB, free: 274.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000671/1.997, allocations: 140 kB / 1.268 GB, free: 274.4 MB / 0.9981 GB Notification: Performance of SimCode: time 8.12e-07/1.997, allocations: 4.969 kB / 1.268 GB, free: 274.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.0584/2.055, allocations: 33.95 MB / 1.302 GB, free: 250 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches