Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 97.11 kB / 19.7 MB, free: 2.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 210.4 kB / 23 MB, free: 4.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.636/1.636, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.639/3.639, allocations: 0.49 GB / 0.7959 GB, free: 35.62 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T|beaCooHea.heaToRoo.Q_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T|beaCooHea.heaToRoo.Q_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002126/0.002126, allocations: 68.28 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5034/0.5055, allocations: 176.1 MB / 1.327 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating): time 0.3602/0.8657, allocations: 238 MB / 1.56 GB, free: 2.062 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.04455/0.9103, allocations: 20.45 MB / 1.58 GB, free: 13.57 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008208/0.9185, allocations: 178.6 kB / 1.58 GB, free: 13.39 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.007677/0.9262, allocations: 1.716 MB / 1.581 GB, free: 11.66 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.01769/0.9438, allocations: 4.228 MB / 1.585 GB, free: 7.418 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.009937/0.9538, allocations: 2.811 MB / 1.588 GB, free: 4.629 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.01678/0.9706, allocations: 8.128 MB / 1.596 GB, free: 12.48 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005871/0.9764, allocations: 2.354 MB / 1.598 GB, free: 10.06 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01374/0.9902, allocations: 4.12 MB / 1.603 GB, free: 5.93 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006132/0.9963, allocations: 2.333 MB / 1.605 GB, free: 3.59 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.001192/0.9975, allocations: 396 kB / 1.605 GB, free: 3.203 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00786/1.005, allocations: 2.343 MB / 1.607 GB, free: 0.8555 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 1.29/2.295, allocations: 1.212 MB / 1.609 GB, free: 33.16 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.007597/2.303, allocations: 1.665 MB / 1.61 GB, free: 33.16 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.02227/2.325, allocations: 7.245 MB / 1.617 GB, free: 32.8 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 1.028e-05/2.325, allocations: 0.7969 kB / 1.617 GB, free: 32.8 MB / 1.295 GB Notification: Performance of FrontEnd: time 3.277e-06/2.325, allocations: 0.8438 kB / 1.617 GB, free: 32.8 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0003611/2.326, allocations: 2.219 kB / 1.617 GB, free: 32.8 MB / 1.295 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.01961/2.345, allocations: 4.754 MB / 1.622 GB, free: 30.4 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 6.788e-05/2.345, allocations: 8.469 kB / 1.622 GB, free: 30.4 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003768/2.349, allocations: 0.5615 MB / 1.623 GB, free: 30.18 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01109/2.36, allocations: 3.248 MB / 1.626 GB, free: 29.48 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003367/2.36, allocations: 161.4 kB / 1.626 GB, free: 29.47 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001121/2.362, allocations: 226 kB / 1.626 GB, free: 29.47 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008445/2.37, allocations: 3.07 MB / 1.629 GB, free: 28.65 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.878e-05/2.37, allocations: 3.156 kB / 1.629 GB, free: 28.65 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003126/2.37, allocations: 92.67 kB / 1.629 GB, free: 28.65 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001416/2.37, allocations: 75.59 kB / 1.629 GB, free: 28.65 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00509/2.376, allocations: 2.176 MB / 1.631 GB, free: 28.45 MB / 1.295 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.02151/2.397, allocations: 7.798 MB / 1.639 GB, free: 26.63 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003232/2.4, allocations: 1.565 MB / 1.641 GB, free: 26.41 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0018/2.402, allocations: 1.169 MB / 1.642 GB, free: 26.22 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006309/2.403, allocations: 127.4 kB / 1.642 GB, free: 26.22 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.736e-05/2.403, allocations: 56.42 kB / 1.642 GB, free: 26.18 MB / 1.295 GB Notification: Performance of pre-optimization done (n=124): time 5.922e-06/2.403, allocations: 6.188 kB / 1.642 GB, free: 26.18 MB / 1.295 GB Notification: Performance of matching and sorting (n=132): time 0.01527/2.418, allocations: 6.524 MB / 1.648 GB, free: 24.37 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/2.418, allocations: 238 kB / 1.648 GB, free: 24.12 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007791/2.426, allocations: 3.139 MB / 1.651 GB, free: 23.86 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0007597/2.427, allocations: 59.8 kB / 1.652 GB, free: 23.83 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.001658/2.428, allocations: 1.515 MB / 1.653 GB, free: 23.37 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007995/2.429, allocations: 473.8 kB / 1.653 GB, free: 23.06 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006319/2.43, allocations: 325.8 kB / 1.654 GB, free: 23.04 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 7.159e-05/2.43, allocations: 308.2 kB / 1.654 GB, free: 22.73 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00191/2.432, allocations: 1.515 MB / 1.656 GB, free: 22.34 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002232/2.434, allocations: 2.486 MB / 1.658 GB, free: 20.9 MB / 1.295 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.01067/2.445, allocations: 7.376 MB / 1.665 GB, free: 18.93 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.44e-05/2.445, allocations: 2.688 kB / 1.665 GB, free: 18.93 MB / 1.295 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006227/2.451, allocations: 3.802 MB / 1.669 GB, free: 17.94 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002219/2.451, allocations: 379.4 kB / 1.669 GB, free: 17.56 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.494e-05/2.451, allocations: 13.28 kB / 1.669 GB, free: 17.56 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000274/2.451, allocations: 89 kB / 1.669 GB, free: 17.55 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/2.453, allocations: 277.2 kB / 1.67 GB, free: 17.55 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002677/2.455, allocations: 3.001 MB / 1.673 GB, free: 15.19 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003481/2.459, allocations: 90.95 kB / 1.673 GB, free: 15.18 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000392/2.459, allocations: 69.62 kB / 1.673 GB, free: 15.18 MB / 1.295 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.004857/2.464, allocations: 2.266 MB / 1.675 GB, free: 14.72 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002829/2.467, allocations: 2.477 MB / 1.677 GB, free: 13.28 MB / 1.295 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.01336/2.48, allocations: 7.332 MB / 1.685 GB, free: 11.31 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.144e-05/2.48, allocations: 0 / 1.685 GB, free: 11.31 MB / 1.295 GB Notification: Performance of matching and sorting (n=203) (initialization_lambda0): time 0.008732/2.489, allocations: 3.79 MB / 1.688 GB, free: 10.32 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002105/2.489, allocations: 387.9 kB / 1.689 GB, free: 9.941 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.332e-05/2.489, allocations: 5.531 kB / 1.689 GB, free: 9.941 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002287/2.489, allocations: 80.69 kB / 1.689 GB, free: 9.926 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/2.491, allocations: 280.2 kB / 1.689 GB, free: 9.926 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002578/2.493, allocations: 2.998 MB / 1.692 GB, free: 7.562 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003579/2.497, allocations: 96.91 kB / 1.692 GB, free: 7.562 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003605/2.497, allocations: 73.31 kB / 1.692 GB, free: 7.562 MB / 1.295 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.001014/2.498, allocations: 467.8 kB / 1.692 GB, free: 7.188 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002003/2.5, allocations: 316 kB / 1.693 GB, free: 7.02 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005701/2.506, allocations: 2.72 MB / 1.695 GB, free: 6.539 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003069/2.509, allocations: 2.437 MB / 1.698 GB, free: 5.906 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/2.509, allocations: 0 / 1.698 GB, free: 5.906 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003116/2.512, allocations: 0.5733 MB / 1.698 GB, free: 5.738 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00174/2.514, allocations: 38.31 kB / 1.698 GB, free: 5.734 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00287/2.517, allocations: 63.03 kB / 1.698 GB, free: 5.734 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004495/2.517, allocations: 143.2 kB / 1.699 GB, free: 5.734 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004779/2.522, allocations: 2.909 MB / 1.701 GB, free: 4.859 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007277/2.529, allocations: 4.361 MB / 1.706 GB, free: 3.859 MB / 1.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002204/2.531, allocations: 1.175 MB / 1.707 GB, free: 19.66 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.006998/2.538, allocations: 2.164 MB / 1.709 GB, free: 19.51 MB / 1.311 GB Notification: Performance of Backend: time 1.413e-06/2.538, allocations: 1 kB / 1.709 GB, free: 19.51 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.01789/2.556, allocations: 6.517 MB / 1.715 GB, free: 15.7 MB / 1.311 GB Notification: Performance of SimCode: time 0.02264/2.579, allocations: 7.259 MB / 1.722 GB, free: 11.97 MB / 1.311 GB Notification: Performance of Templates: time 0.1513/2.73, allocations: 80.33 MB / 1.801 GB, free: 8.012 MB / 1.357 GB " [Timeout remaining time 297] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.994787824995]