Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.CoolingAndHeating,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|beaCooHea.heaToRoo.Q_flow",fileNamePrefix="Buildings_9_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_9_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.001081/0.001081, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001016/0.001016, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.305/1.305, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.229/2.229, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 63.91 kB / 0.9516 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7272/0.7287, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating): time 0.2908/1.02, allocations: 266.3 MB / 1.349 GB, free: 3.133 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.03693/1.056, allocations: 21.82 MB / 1.37 GB, free: 13.27 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004106/1.061, allocations: 127.3 kB / 1.37 GB, free: 13.14 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.004844/1.066, allocations: 1.772 MB / 1.372 GB, free: 11.36 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0109/1.076, allocations: 4.196 MB / 1.376 GB, free: 7.145 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.006837/1.083, allocations: 2.734 MB / 1.379 GB, free: 4.43 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.01054/1.094, allocations: 8.071 MB / 1.386 GB, free: 12.34 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004134/1.098, allocations: 3.002 MB / 1.389 GB, free: 9.27 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007594/1.106, allocations: 3.608 MB / 1.393 GB, free: 5.656 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003414/1.109, allocations: 2.26 MB / 1.395 GB, free: 3.387 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0006181/1.11, allocations: 400 kB / 1.395 GB, free: 2.996 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005391/1.115, allocations: 2.753 MB / 1.398 GB, free: 244 kB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001104/1.116, allocations: 1.184 MB / 1.399 GB, free: 15.05 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.002443/1.119, allocations: 2.154 MB / 1.401 GB, free: 12.89 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.00886/1.128, allocations: 7.229 MB / 1.409 GB, free: 5.637 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/1.128, allocations: 0 / 1.409 GB, free: 5.637 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.543e-06/1.128, allocations: 0 / 1.409 GB, free: 5.637 MB / 1.139 GB Notification: Performance of Transformations before backend: time 8.513e-05/1.128, allocations: 0 / 1.409 GB, free: 5.637 MB / 1.139 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.007834/1.136, allocations: 4.68 MB / 1.413 GB, free: 0.7969 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/1.136, allocations: 12.03 kB / 1.413 GB, free: 0.7852 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002076/1.138, allocations: 0.5302 MB / 1.414 GB, free: 256 kB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005326/1.143, allocations: 3.277 MB / 1.417 GB, free: 12.91 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001128/1.143, allocations: 160 kB / 1.417 GB, free: 12.75 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003171/1.143, allocations: 216 kB / 1.417 GB, free: 12.54 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004285/1.148, allocations: 2.595 MB / 1.42 GB, free: 9.863 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.324e-05/1.148, allocations: 0 / 1.42 GB, free: 9.863 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001851/1.148, allocations: 95.88 kB / 1.42 GB, free: 9.77 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.147e-05/1.148, allocations: 79.89 kB / 1.42 GB, free: 9.691 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0033/1.151, allocations: 1.991 MB / 1.422 GB, free: 7.699 MB / 1.154 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.01364/1.165, allocations: 10.7 MB / 1.432 GB, free: 12.5 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002251/1.167, allocations: 1.525 MB / 1.434 GB, free: 10.94 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001409/1.169, allocations: 1.038 MB / 1.435 GB, free: 9.898 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009861/1.17, allocations: 1.18 MB / 1.436 GB, free: 8.461 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/1.17, allocations: 47.56 kB / 1.436 GB, free: 8.406 MB / 1.17 GB Notification: Performance of pre-optimization done (n=124): time 3.797e-06/1.17, allocations: 0 / 1.436 GB, free: 8.406 MB / 1.17 GB Notification: Performance of matching and sorting (n=132): time 0.009656/1.179, allocations: 6.185 MB / 1.442 GB, free: 2.059 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/1.18, allocations: 234.6 kB / 1.442 GB, free: 1.777 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005284/1.185, allocations: 3.454 MB / 1.446 GB, free: 14.33 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001834/1.185, allocations: 57.7 kB / 1.446 GB, free: 14.27 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001358/1.186, allocations: 1.475 MB / 1.447 GB, free: 12.78 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004357/1.187, allocations: 457.4 kB / 1.448 GB, free: 12.33 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005645/1.187, allocations: 327.4 kB / 1.448 GB, free: 12 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 9.602e-05/1.188, allocations: 301.1 kB / 1.448 GB, free: 11.7 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001557/1.189, allocations: 1.114 MB / 1.449 GB, free: 10.59 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001887/1.191, allocations: 1.498 MB / 1.451 GB, free: 8.961 MB / 1.186 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.01055/1.202, allocations: 6.963 MB / 1.457 GB, free: 1.645 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/1.202, allocations: 4 kB / 1.457 GB, free: 1.641 MB / 1.186 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005184/1.207, allocations: 3.366 MB / 1.461 GB, free: 14.19 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002621/1.207, allocations: 388.3 kB / 1.461 GB, free: 13.73 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.771e-05/1.207, allocations: 4 kB / 1.461 GB, free: 13.73 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002374/1.207, allocations: 89.61 kB / 1.461 GB, free: 13.64 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/1.208, allocations: 276 kB / 1.461 GB, free: 13.37 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002774/1.211, allocations: 3.262 MB / 1.465 GB, free: 9.828 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002062/1.213, allocations: 95.92 kB / 1.465 GB, free: 9.734 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001767/1.214, allocations: 75.92 kB / 1.465 GB, free: 9.66 MB / 1.201 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.002918/1.216, allocations: 1.863 MB / 1.467 GB, free: 7.793 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001921/1.218, allocations: 1.485 MB / 1.468 GB, free: 6.176 MB / 1.201 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.01024/1.229, allocations: 6.912 MB / 1.475 GB, free: 14.9 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.851e-06/1.229, allocations: 0 / 1.475 GB, free: 14.9 MB / 1.217 GB Notification: Performance of matching and sorting (n=203) (initialization_lambda0): time 0.004994/1.234, allocations: 3.366 MB / 1.478 GB, free: 11.45 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002299/1.234, allocations: 392.3 kB / 1.479 GB, free: 10.99 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/1.234, allocations: 8 kB / 1.479 GB, free: 10.98 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001827/1.234, allocations: 85.61 kB / 1.479 GB, free: 10.89 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/1.235, allocations: 271.6 kB / 1.479 GB, free: 10.62 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002716/1.238, allocations: 3.269 MB / 1.482 GB, free: 7.078 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002102/1.24, allocations: 104 kB / 1.482 GB, free: 6.977 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001881/1.24, allocations: 71.98 kB / 1.482 GB, free: 6.906 MB / 1.217 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.0005845/1.241, allocations: 472.5 kB / 1.483 GB, free: 6.402 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008482/1.242, allocations: 324 kB / 1.483 GB, free: 6.082 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004145/1.246, allocations: 2.536 MB / 1.485 GB, free: 3.508 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002892/1.249, allocations: 2.237 MB / 1.488 GB, free: 1.18 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/1.249, allocations: 0 / 1.488 GB, free: 1.18 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001884/1.251, allocations: 0.6688 MB / 1.488 GB, free: 500 kB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001092/1.252, allocations: 32 kB / 1.488 GB, free: 468 kB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001856/1.254, allocations: 70.56 kB / 1.488 GB, free: 400 kB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003431/1.254, allocations: 145 kB / 1.489 GB, free: 252 kB / 1.217 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004264/1.258, allocations: 2.722 MB / 1.491 GB, free: 13.41 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005422/1.264, allocations: 3.972 MB / 1.495 GB, free: 9.383 MB / 1.232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001357/1.265, allocations: 1.033 MB / 1.496 GB, free: 8.348 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.004194/1.269, allocations: 2.393 MB / 1.498 GB, free: 5.969 MB / 1.232 GB Notification: Performance of Backend: time 8.32e-07/1.269, allocations: 4 kB / 1.498 GB, free: 5.965 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.009755/1.279, allocations: 6.049 MB / 1.504 GB, free: 15.59 MB / 1.248 GB Notification: Performance of SimCode: time 0.01525/1.294, allocations: 7.384 MB / 1.512 GB, free: 8.098 MB / 1.248 GB Notification: Performance of Templates: time 0.6066/1.901, allocations: 75.82 MB / 1.586 GB, free: 447.3 MB / 1.311 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches