Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.HeatExchangers.ActiveBeams.Examples.CoolingOnly,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|beaCoo.heaToRoo.Q_flow",fileNamePrefix="Buildings_latest_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_latest_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.0009697/0.0009697, allocations: 91.84 kB / 15.36 MB, free: 0.7344 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.005014/0.005014, allocations: 169.8 kB / 16.26 MB, free: 6.68 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.314/1.314, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.605/2.605, allocations: 462.6 MB / 0.7364 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003704/0.0003704, allocations: 12.05 kB / 0.9027 GB, free: 36.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2891, allocations: 159.6 MB / 1.059 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly): time 0.7324/1.022, allocations: 222.7 MB / 1.276 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01853/1.04, allocations: 14.52 MB / 1.29 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003563/1.044, allocations: 69.69 kB / 1.29 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002967/1.047, allocations: 0.9369 MB / 1.291 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008442/1.055, allocations: 2.51 MB / 1.294 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005047/1.06, allocations: 1.626 MB / 1.295 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008911/1.069, allocations: 6.335 MB / 1.301 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003179/1.072, allocations: 1.543 MB / 1.303 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006041/1.078, allocations: 1.981 MB / 1.305 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004061/1.083, allocations: 1.325 MB / 1.306 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008629/1.083, allocations: 73.47 kB / 1.306 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006009/1.089, allocations: 2.142 MB / 1.308 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001166/1.091, allocations: 0.5746 MB / 1.309 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002815/1.093, allocations: 1.121 MB / 1.31 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007533/1.101, allocations: 4.295 MB / 1.314 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/1.101, allocations: 0 / 1.314 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.903e-06/1.101, allocations: 0 / 1.314 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001233/1.101, allocations: 1.094 kB / 1.314 GB, free: 1.953 MB / 0.9981 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.005563/1.107, allocations: 2.485 MB / 1.317 GB, free: 16.48 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/1.107, allocations: 8.188 kB / 1.317 GB, free: 16.48 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00215/1.109, allocations: 384.4 kB / 1.317 GB, free: 16.35 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00388/1.113, allocations: 1.916 MB / 1.319 GB, free: 15.85 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/1.113, allocations: 105 kB / 1.319 GB, free: 15.84 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003572/1.113, allocations: 142.8 kB / 1.319 GB, free: 15.84 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002961/1.116, allocations: 1.607 MB / 1.321 GB, free: 15.68 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.718e-05/1.116, allocations: 6.031 kB / 1.321 GB, free: 15.68 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001304/1.116, allocations: 55.28 kB / 1.321 GB, free: 15.68 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.557e-05/1.117, allocations: 53.27 kB / 1.321 GB, free: 15.67 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002107/1.119, allocations: 1.243 MB / 1.322 GB, free: 15.65 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.008953/1.128, allocations: 6.637 MB / 1.328 GB, free: 13.11 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/1.129, allocations: 0.955 MB / 1.329 GB, free: 12.98 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008062/1.13, allocations: 0.631 MB / 1.33 GB, free: 12.97 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006068/1.13, allocations: 0.6862 MB / 1.331 GB, free: 12.22 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/1.131, allocations: 40.75 kB / 1.331 GB, free: 12.18 MB / 1.014 GB Notification: Performance of pre-optimization done (n=82): time 2.755e-06/1.131, allocations: 0 / 1.331 GB, free: 12.18 MB / 1.014 GB Notification: Performance of matching and sorting (n=84): time 0.006458/1.137, allocations: 3.623 MB / 1.334 GB, free: 11.21 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.94e-05/1.137, allocations: 144.9 kB / 1.334 GB, free: 11.05 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003557/1.141, allocations: 2.006 MB / 1.336 GB, free: 10.83 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000179/1.141, allocations: 46.7 kB / 1.336 GB, free: 10.8 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007198/1.142, allocations: 0.8844 MB / 1.337 GB, free: 10.54 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002907/1.142, allocations: 290.9 kB / 1.338 GB, free: 10.36 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/1.142, allocations: 90.19 kB / 1.338 GB, free: 10.34 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001144/1.142, allocations: 341.7 kB / 1.338 GB, free: 10.04 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000804/1.143, allocations: 0.6199 MB / 1.339 GB, free: 10.04 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009876/1.144, allocations: 0.854 MB / 1.339 GB, free: 9.828 MB / 1.014 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.005877/1.15, allocations: 3.913 MB / 1.343 GB, free: 8.891 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/1.15, allocations: 3.188 kB / 1.343 GB, free: 8.891 MB / 1.014 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002772/1.153, allocations: 1.875 MB / 1.345 GB, free: 8.543 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002439/1.153, allocations: 395.8 kB / 1.345 GB, free: 8.125 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/1.153, allocations: 7.5 kB / 1.345 GB, free: 8.121 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.664e-05/1.153, allocations: 9.797 kB / 1.345 GB, free: 8.121 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007031/1.154, allocations: 177.2 kB / 1.346 GB, free: 8.121 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.488e-05/1.154, allocations: 21.12 kB / 1.346 GB, free: 8.113 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001683/1.155, allocations: 115.6 kB / 1.346 GB, free: 8.102 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/1.156, allocations: 42.94 kB / 1.346 GB, free: 8.098 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 7.785e-06/1.156, allocations: 2.406 kB / 1.346 GB, free: 8.098 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002254/1.158, allocations: 1.867 MB / 1.348 GB, free: 7.883 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/1.158, allocations: 3.594 kB / 1.348 GB, free: 7.883 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/1.158, allocations: 9.969 kB / 1.348 GB, free: 7.883 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000666/1.159, allocations: 178.8 kB / 1.348 GB, free: 7.883 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.545e-05/1.159, allocations: 8 kB / 1.348 GB, free: 7.883 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001635/1.16, allocations: 120.5 kB / 1.348 GB, free: 7.867 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.864e-05/1.16, allocations: 45.97 kB / 1.348 GB, free: 7.867 MB / 1.014 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.001134/1.161, allocations: 0.7046 MB / 1.349 GB, free: 7.578 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004386/1.162, allocations: 193.1 kB / 1.349 GB, free: 7.48 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00218/1.164, allocations: 1.487 MB / 1.35 GB, free: 7.285 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/1.164, allocations: 6.25 kB / 1.35 GB, free: 7.285 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/1.164, allocations: 0 / 1.35 GB, free: 7.285 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001592/1.166, allocations: 1.522 MB / 1.352 GB, free: 6.73 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005709/1.171, allocations: 3.589 MB / 1.355 GB, free: 5.211 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/1.171, allocations: 3.219 kB / 1.355 GB, free: 5.211 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006737/1.172, allocations: 170.1 kB / 1.355 GB, free: 5.176 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-05/1.172, allocations: 9.031 kB / 1.355 GB, free: 5.176 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.004e-05/1.172, allocations: 30.69 kB / 1.355 GB, free: 5.16 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.18e-05/1.172, allocations: 20.92 kB / 1.356 GB, free: 5.148 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.172, allocations: 5.094 kB / 1.356 GB, free: 5.148 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00296/1.175, allocations: 2.38 MB / 1.358 GB, free: 3.707 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008964/1.176, allocations: 447.5 kB / 1.358 GB, free: 3.34 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003773/1.177, allocations: 26.69 kB / 1.358 GB, free: 3.328 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001238/1.178, allocations: 98.94 kB / 1.358 GB, free: 3.281 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000188/1.178, allocations: 98.92 kB / 1.358 GB, free: 3.227 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.177e-05/1.178, allocations: 41.34 kB / 1.359 GB, free: 3.215 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002121/1.18, allocations: 1.398 MB / 1.36 GB, free: 2.422 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.41e-07/1.18, allocations: 2.531 kB / 1.36 GB, free: 2.422 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002393/1.183, allocations: 0.7864 MB / 1.361 GB, free: 2.344 MB / 1.014 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.0009347/1.184, allocations: 416.6 kB / 1.361 GB, free: 2.137 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003614/1.187, allocations: 3.067 MB / 1.364 GB, free: 268 kB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/1.187, allocations: 2.5 kB / 1.364 GB, free: 268 kB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001209/1.188, allocations: 1.003 MB / 1.365 GB, free: 15.67 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006156/1.195, allocations: 1.021 MB / 1.366 GB, free: 15.18 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006486/1.201, allocations: 4.524 MB / 1.37 GB, free: 12.1 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001216/1.202, allocations: 1.528 MB / 1.372 GB, free: 10.98 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001769/1.204, allocations: 435.9 kB / 1.372 GB, free: 10.79 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003912/1.205, allocations: 131.5 kB / 1.372 GB, free: 10.77 MB / 1.029 GB Notification: Performance of SimCode: time 7.32e-07/1.205, allocations: 0 / 1.372 GB, free: 10.77 MB / 1.029 GB Notification: Performance of Templates: time 0.06454/1.269, allocations: 40.24 MB / 1.412 GB, free: 7.672 MB / 1.061 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches