Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.HeatingOnly,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|beaCooHea.heaToRoo.Q_flow",fileNamePrefix="Buildings_latest_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_latest_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.001541/0.001541, allocations: 115.2 kB / 16.42 MB, free: 6.457 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.001768/0.001768, allocations: 183.9 kB / 17.35 MB, free: 5.734 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.317/1.317, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.586/2.586, allocations: 472.7 MB / 0.746 GB, free: 488 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 67.89 kB / 1.07 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6899/0.6912, allocations: 159.9 MB / 1.226 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly): time 0.2605/0.9518, allocations: 265.6 MB / 1.486 GB, free: 3.047 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.02971/0.9815, allocations: 21.59 MB / 1.507 GB, free: 13.4 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003807/0.9854, allocations: 119.4 kB / 1.507 GB, free: 13.29 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.004718/0.9901, allocations: 1.743 MB / 1.509 GB, free: 11.53 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.01071/1.001, allocations: 4.157 MB / 1.513 GB, free: 7.359 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.00622/1.007, allocations: 2.652 MB / 1.515 GB, free: 4.727 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.009329/1.016, allocations: 7.843 MB / 1.523 GB, free: 12.87 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004042/1.021, allocations: 2.851 MB / 1.526 GB, free: 9.945 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006872/1.027, allocations: 3.528 MB / 1.529 GB, free: 6.41 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003507/1.031, allocations: 2.19 MB / 1.531 GB, free: 4.215 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0008151/1.032, allocations: 384 kB / 1.532 GB, free: 3.84 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005625/1.037, allocations: 2.729 MB / 1.534 GB, free: 1.105 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.001305/1.039, allocations: 1.149 MB / 1.536 GB, free: 15.95 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.002889/1.042, allocations: 2.053 MB / 1.538 GB, free: 13.89 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.009334/1.051, allocations: 7.039 MB / 1.544 GB, free: 6.828 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/1.051, allocations: 0 / 1.544 GB, free: 6.828 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.522e-06/1.051, allocations: 0 / 1.544 GB, free: 6.828 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0001389/1.051, allocations: 0 / 1.544 GB, free: 6.828 MB / 1.264 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.00865/1.06, allocations: 4.597 MB / 1.549 GB, free: 2.07 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/1.06, allocations: 8.031 kB / 1.549 GB, free: 2.062 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002303/1.062, allocations: 0.5286 MB / 1.549 GB, free: 1.531 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005127/1.067, allocations: 3.172 MB / 1.553 GB, free: 14.3 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/1.067, allocations: 159.7 kB / 1.553 GB, free: 14.14 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002928/1.068, allocations: 204 kB / 1.553 GB, free: 13.94 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003814/1.072, allocations: 2.445 MB / 1.555 GB, free: 11.45 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.207e-05/1.072, allocations: 4 kB / 1.555 GB, free: 11.44 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001675/1.072, allocations: 80 kB / 1.555 GB, free: 11.36 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.507e-05/1.072, allocations: 67.64 kB / 1.555 GB, free: 11.3 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003068/1.075, allocations: 1.904 MB / 1.557 GB, free: 9.391 MB / 1.279 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.5588/1.634, allocations: 9.941 MB / 1.567 GB, free: 332 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002612/1.636, allocations: 1.386 MB / 1.568 GB, free: 331.9 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001565/1.638, allocations: 0.9591 MB / 1.569 GB, free: 331.9 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007443/1.639, allocations: 1.169 MB / 1.57 GB, free: 330.6 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/1.639, allocations: 52.25 kB / 1.57 GB, free: 330.5 MB / 1.279 GB Notification: Performance of pre-optimization done (n=111): time 3.547e-06/1.639, allocations: 3.062 kB / 1.57 GB, free: 330.5 MB / 1.279 GB Notification: Performance of matching and sorting (n=113): time 0.00857/1.647, allocations: 5.704 MB / 1.576 GB, free: 327.8 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.727e-05/1.647, allocations: 235.9 kB / 1.576 GB, free: 327.6 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004798/1.652, allocations: 3.364 MB / 1.58 GB, free: 326.3 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0001883/1.652, allocations: 58.17 kB / 1.58 GB, free: 326.2 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.001071/1.654, allocations: 1.417 MB / 1.581 GB, free: 325.2 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003349/1.654, allocations: 405 kB / 1.581 GB, free: 324.9 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005084/1.654, allocations: 307.2 kB / 1.582 GB, free: 324.8 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 3.798e-05/1.654, allocations: 304.2 kB / 1.582 GB, free: 324.5 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001365/1.656, allocations: 1.059 MB / 1.583 GB, free: 324.1 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001613/1.657, allocations: 1.428 MB / 1.584 GB, free: 323.3 MB / 1.279 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.008038/1.665, allocations: 6.636 MB / 1.591 GB, free: 319.7 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.136e-06/1.666, allocations: 2.625 kB / 1.591 GB, free: 319.7 MB / 1.279 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.003909/1.669, allocations: 3.17 MB / 1.594 GB, free: 318.1 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001344/1.67, allocations: 384.8 kB / 1.594 GB, free: 317.7 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/1.67, allocations: 4.625 kB / 1.594 GB, free: 317.7 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-05/1.67, allocations: 15.78 kB / 1.594 GB, free: 317.7 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/1.671, allocations: 275.6 kB / 1.595 GB, free: 317.7 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002796/1.671, allocations: 0.6179 MB / 1.595 GB, free: 317.1 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001862/1.673, allocations: 93.44 kB / 1.595 GB, free: 317.1 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001375/1.673, allocations: 64.95 kB / 1.595 GB, free: 317 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 system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002295/1.675, allocations: 1.791 MB / 1.597 GB, free: 316.2 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001482/1.677, allocations: 1.426 MB / 1.598 GB, free: 315.4 MB / 1.279 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.007312/1.684, allocations: 6.599 MB / 1.605 GB, free: 310.2 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.451e-06/1.684, allocations: 3.609 kB / 1.605 GB, free: 310.2 MB / 1.279 GB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.003421/1.688, allocations: 3.166 MB / 1.608 GB, free: 307.1 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001214/1.688, allocations: 382.4 kB / 1.608 GB, free: 306.7 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/1.688, allocations: 8 kB / 1.608 GB, free: 306.7 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/1.688, allocations: 14.59 kB / 1.608 GB, free: 306.7 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009426/1.689, allocations: 257.5 kB / 1.609 GB, free: 306.5 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/1.689, allocations: 15.94 kB / 1.609 GB, free: 306.4 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001764/1.691, allocations: 103.9 kB / 1.609 GB, free: 306.4 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/1.691, allocations: 63.38 kB / 1.609 GB, free: 306.3 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.0004334/1.691, allocations: 468.2 kB / 1.609 GB, free: 305.8 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003904/1.692, allocations: 317.9 kB / 1.61 GB, free: 305.5 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00281/1.694, allocations: 2.357 MB / 1.612 GB, free: 303.4 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001962/1.696, allocations: 2.104 MB / 1.614 GB, free: 301.4 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.491e-05/1.696, allocations: 4 kB / 1.614 GB, free: 301.4 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009034/1.697, allocations: 0.6587 MB / 1.615 GB, free: 300.8 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003389/1.698, allocations: 28 kB / 1.615 GB, free: 300.7 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/1.699, allocations: 64.84 kB / 1.615 GB, free: 300.7 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002363/1.699, allocations: 131.9 kB / 1.615 GB, free: 300.6 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002744/1.702, allocations: 2.557 MB / 1.617 GB, free: 298.2 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003448/1.705, allocations: 3.714 MB / 1.621 GB, free: 294.4 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009148/1.706, allocations: 0.9565 MB / 1.622 GB, free: 293.4 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.00267/1.709, allocations: 2.339 MB / 1.624 GB, free: 291.1 MB / 1.279 GB Notification: Performance of Backend: time 9.42e-07/1.709, allocations: 4 kB / 1.624 GB, free: 291.1 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.00612/1.715, allocations: 5.425 MB / 1.629 GB, free: 285.5 MB / 1.279 GB Notification: Performance of SimCode: time 0.009524/1.724, allocations: 7.185 MB / 1.636 GB, free: 278.4 MB / 1.279 GB Notification: Performance of Templates: time 0.08733/1.812, allocations: 72.68 MB / 1.707 GB, free: 206.6 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches