Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.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.CoolingAndHeating,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|beaCooHea.heaToRoo.Q_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|beaCooHea.heaToRoo.Q_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001695/0.001695, allocations: 118.1 kB / 16.42 MB, free: 6.012 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.00188/0.00188, allocations: 183.4 kB / 17.35 MB, free: 5.629 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.354/1.354, 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.461/2.461, allocations: 437.1 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 63.91 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.754/0.7553, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating): time 0.2646/1.02, allocations: 266.3 MB / 1.427 GB, free: 8.621 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02969/1.05, allocations: 21.82 MB / 1.449 GB, free: 2.746 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004544/1.054, allocations: 123.4 kB / 1.449 GB, free: 2.625 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.005137/1.059, allocations: 1.78 MB / 1.451 GB, free: 0.8359 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.01067/1.07, allocations: 4.198 MB / 1.455 GB, free: 12.62 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.007121/1.077, allocations: 2.737 MB / 1.457 GB, free: 9.898 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.01095/1.088, allocations: 8.063 MB / 1.465 GB, free: 1.824 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005635/1.094, allocations: 3.006 MB / 1.468 GB, free: 14.75 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008146/1.102, allocations: 3.602 MB / 1.472 GB, free: 11.14 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003817/1.106, allocations: 2.261 MB / 1.474 GB, free: 8.875 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.001132/1.107, allocations: 400 kB / 1.474 GB, free: 8.484 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005913/1.113, allocations: 2.757 MB / 1.477 GB, free: 5.723 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.001502/1.115, allocations: 1.196 MB / 1.478 GB, free: 4.523 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.003389/1.118, allocations: 2.142 MB / 1.48 GB, free: 2.371 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.01005/1.128, allocations: 7.221 MB / 1.487 GB, free: 11.13 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/1.128, allocations: 0 / 1.487 GB, free: 11.13 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.684e-06/1.128, allocations: 0 / 1.487 GB, free: 11.13 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.0001671/1.128, allocations: 0 / 1.487 GB, free: 11.13 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: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.00936/1.138, allocations: 4.688 MB / 1.492 GB, free: 6.281 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/1.138, allocations: 12.03 kB / 1.492 GB, free: 6.27 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002395/1.14, allocations: 0.5378 MB / 1.492 GB, free: 5.727 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006078/1.146, allocations: 3.261 MB / 1.495 GB, free: 2.402 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/1.146, allocations: 172 kB / 1.496 GB, free: 2.234 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004698/1.147, allocations: 223.8 kB / 1.496 GB, free: 2.016 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004685/1.152, allocations: 2.578 MB / 1.498 GB, free: 15.35 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.716e-05/1.152, allocations: 7.938 kB / 1.498 GB, free: 15.34 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002305/1.152, allocations: 88 kB / 1.498 GB, free: 15.26 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.238e-05/1.152, allocations: 79.88 kB / 1.499 GB, free: 15.18 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003458/1.155, allocations: 1.991 MB / 1.5 GB, free: 13.19 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.01499/1.17, allocations: 10.7 MB / 1.511 GB, free: 1.977 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002376/1.173, allocations: 1.532 MB / 1.512 GB, free: 436 kB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001446/1.174, allocations: 1.042 MB / 1.513 GB, free: 15.38 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009243/1.175, allocations: 1.172 MB / 1.515 GB, free: 13.95 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.1e-05/1.175, allocations: 51.64 kB / 1.515 GB, free: 13.89 MB / 1.248 GB Notification: Performance of pre-optimization done (n=124): time 3.948e-06/1.175, allocations: 7.938 kB / 1.515 GB, free: 13.88 MB / 1.248 GB Notification: Performance of matching and sorting (n=132): time 0.01042/1.186, allocations: 6.172 MB / 1.521 GB, free: 7.543 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/1.186, allocations: 234.6 kB / 1.521 GB, free: 7.266 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005182/1.191, allocations: 3.458 MB / 1.524 GB, free: 3.816 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0002362/1.191, allocations: 57.7 kB / 1.524 GB, free: 3.754 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.001284/1.193, allocations: 1.486 MB / 1.526 GB, free: 2.254 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004788/1.193, allocations: 461.3 kB / 1.526 GB, free: 1.797 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006152/1.194, allocations: 327.4 kB / 1.527 GB, free: 1.473 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 8.768e-05/1.194, allocations: 301.1 kB / 1.527 GB, free: 1.176 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001555/1.195, allocations: 1.114 MB / 1.528 GB, free: 60 kB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001927/1.197, allocations: 1.501 MB / 1.529 GB, free: 14.43 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): time 0.01028/1.208, allocations: 6.963 MB / 1.536 GB, free: 7.105 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/1.208, allocations: 0 / 1.536 GB, free: 7.105 MB / 1.264 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004931/1.213, allocations: 3.374 MB / 1.539 GB, free: 3.641 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002001/1.213, allocations: 384.4 kB / 1.54 GB, free: 3.191 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/1.213, allocations: 4 kB / 1.54 GB, free: 3.188 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002093/1.213, allocations: 89.61 kB / 1.54 GB, free: 3.094 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/1.214, allocations: 284.1 kB / 1.54 GB, free: 2.816 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00264/1.217, allocations: 3.25 MB / 1.543 GB, free: 15.29 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002158/1.219, allocations: 107.8 kB / 1.543 GB, free: 15.18 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002192/1.219, allocations: 67.98 kB / 1.544 GB, free: 15.12 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.002933/1.222, allocations: 1.863 MB / 1.545 GB, free: 13.25 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001869/1.224, allocations: 1.493 MB / 1.547 GB, free: 11.63 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.009986/1.234, allocations: 6.911 MB / 1.554 GB, free: 4.363 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.592e-06/1.234, allocations: 4 kB / 1.554 GB, free: 4.359 MB / 1.279 GB Notification: Performance of matching and sorting (n=203) (initialization_lambda0): time 0.004895/1.239, allocations: 3.354 MB / 1.557 GB, free: 0.9141 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002016/1.239, allocations: 384.3 kB / 1.557 GB, free: 476 kB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/1.239, allocations: 11.98 kB / 1.557 GB, free: 464 kB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001718/1.239, allocations: 85.67 kB / 1.557 GB, free: 372 kB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/1.241, allocations: 271.6 kB / 1.558 GB, free: 100 kB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6715/1.912, allocations: 3.249 MB / 1.561 GB, free: 111.7 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002416/1.914, allocations: 108.3 kB / 1.561 GB, free: 111.7 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002084/1.915, allocations: 67.47 kB / 1.561 GB, free: 111.7 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: 28 * Number of states: 0 () * Number of discrete variables: 8 (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,conCoo.I.trigger_internal,conHea.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (171): * Single equations (assignments): 157 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000524/1.915, allocations: 467.8 kB / 1.561 GB, free: 111.3 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006616/1.916, allocations: 325.4 kB / 1.562 GB, free: 111.3 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004405/1.92, allocations: 2.538 MB / 1.564 GB, free: 111 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002679/1.923, allocations: 2.234 MB / 1.566 GB, free: 110.6 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/1.923, allocations: 1.812 kB / 1.566 GB, free: 110.6 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001479/1.925, allocations: 0.6755 MB / 1.567 GB, free: 110.5 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004204/1.925, allocations: 35.47 kB / 1.567 GB, free: 110.5 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001255/1.926, allocations: 73.28 kB / 1.567 GB, free: 110.5 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002879/1.927, allocations: 140.4 kB / 1.567 GB, free: 110.5 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00354/1.93, allocations: 2.716 MB / 1.57 GB, free: 109.8 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00456/1.935, allocations: 3.98 MB / 1.574 GB, free: 109.3 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001172/1.936, allocations: 1.035 MB / 1.575 GB, free: 109.3 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.003315/1.939, allocations: 2.39 MB / 1.577 GB, free: 109.2 MB / 1.279 GB Notification: Performance of Backend: time 6.42e-07/1.939, allocations: 0 / 1.577 GB, free: 109.2 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.007529/1.947, allocations: 6.051 MB / 1.583 GB, free: 107.2 MB / 1.279 GB Notification: Performance of SimCode: time 0.01207/1.959, allocations: 7.397 MB / 1.59 GB, free: 104.2 MB / 1.279 GB Notification: Performance of Templates: time 0.1085/2.067, allocations: 75.82 MB / 1.664 GB, free: 74.32 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches