Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.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.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem1a.T|senTem1b.T|senTem2a.T|senTem2b.T|senTem3a.T|senTem3b.T|senTem4a.T|senTem4b.T|mix1.T|hea1.m_flow|hea2.m_flow|hea3.m_flow|hea4.m_flow|senTem5b.T|senTem5a.T|senTem6b.T|senTem7a.T|senTem7b.T|senTem8a.T|senTem8b.T|mix2.T|hea5.m_flow|hea6.m_flow|hea7.m_flow|hea8.m_flow|che1.y|che2.y|che9.y|che10.y|che3.y|che4.y|che5.y|che6.y|che7.y|che8.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem1a.T|senTem1b.T|senTem2a.T|senTem2b.T|senTem3a.T|senTem3b.T|senTem4a.T|senTem4b.T|mix1.T|hea1.m_flow|hea2.m_flow|hea3.m_flow|hea4.m_flow|senTem5b.T|senTem5a.T|senTem6b.T|senTem7a.T|senTem7b.T|senTem8a.T|senTem8b.T|mix2.T|hea5.m_flow|hea6.m_flow|hea7.m_flow|hea8.m_flow|che1.y|che2.y|che9.y|che10.y|che3.y|che4.y|che5.y|che6.y|che7.y|che8.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001469/0.00147, allocations: 111.2 kB / 16.42 MB, free: 6.496 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.001627/0.001627, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.263/1.263, 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 9.1.3-maint.9.1.x/package.mo): time 2.122/2.122, allocations: 390.2 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 67.89 kB / 0.9516 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.692/0.6933, allocations: 140.4 MB / 1.089 GB, free: 5.555 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.2736/0.967, allocations: 300.4 MB / 1.382 GB, free: 0.9961 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.06401/1.031, allocations: 50.04 MB / 1.431 GB, free: 14.83 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008884/1.04, allocations: 298.2 kB / 1.431 GB, free: 14.54 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.008783/1.049, allocations: 3.521 MB / 1.435 GB, free: 11 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.02322/1.072, allocations: 9.48 MB / 1.444 GB, free: 1.477 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.01611/1.088, allocations: 6.71 MB / 1.45 GB, free: 10.8 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.02545/1.114, allocations: 18.53 MB / 1.468 GB, free: 8.223 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009283/1.123, allocations: 5.829 MB / 1.474 GB, free: 2.293 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01535/1.138, allocations: 7.57 MB / 1.482 GB, free: 10.72 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007752/1.146, allocations: 5.093 MB / 1.487 GB, free: 5.609 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.001829/1.148, allocations: 0.5703 MB / 1.487 GB, free: 5.039 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0127/1.161, allocations: 4.383 MB / 1.491 GB, free: 0.6445 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.003028/1.164, allocations: 1.502 MB / 1.493 GB, free: 15.13 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.007255/1.171, allocations: 3.732 MB / 1.496 GB, free: 11.38 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.01628/1.187, allocations: 10.43 MB / 1.507 GB, free: 0.9258 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/1.187, allocations: 0 / 1.507 GB, free: 0.9258 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.683e-06/1.187, allocations: 0 / 1.507 GB, free: 0.9258 MB / 1.232 GB Notification: Performance of Transformations before backend: time 0.0001269/1.187, allocations: 0 / 1.507 GB, free: 0.9258 MB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.01115/1.199, allocations: 7.482 MB / 1.514 GB, free: 9.301 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/1.199, allocations: 8.031 kB / 1.514 GB, free: 9.293 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001862/1.201, allocations: 0.7842 MB / 1.515 GB, free: 8.5 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008376/1.209, allocations: 5.357 MB / 1.52 GB, free: 3.066 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002108/1.209, allocations: 316.1 kB / 1.52 GB, free: 2.754 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004966/1.21, allocations: 439.8 kB / 1.521 GB, free: 2.324 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006567/1.216, allocations: 4.382 MB / 1.525 GB, free: 13.66 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-05/1.216, allocations: 11.94 kB / 1.525 GB, free: 13.65 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003336/1.217, allocations: 176 kB / 1.525 GB, free: 13.48 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.97e-05/1.217, allocations: 119.9 kB / 1.525 GB, free: 13.36 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004761/1.222, allocations: 2.961 MB / 1.528 GB, free: 10.4 MB / 1.264 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.02482/1.246, allocations: 25.12 MB / 1.553 GB, free: 15.23 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003/1.249, allocations: 2.772 MB / 1.555 GB, free: 12.25 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001371/1.251, allocations: 0.9954 MB / 1.556 GB, free: 11.25 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002813/1.254, allocations: 3.908 MB / 1.56 GB, free: 6.477 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.658e-05/1.254, allocations: 60.5 kB / 1.56 GB, free: 6.406 MB / 1.295 GB Notification: Performance of pre-optimization done (n=217): time 4.458e-06/1.254, allocations: 4 kB / 1.56 GB, free: 6.402 MB / 1.295 GB Notification: Performance of matching and sorting (n=217): time 0.01011/1.264, allocations: 4.064 MB / 1.564 GB, free: 2.242 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/1.264, allocations: 77.41 kB / 1.564 GB, free: 2.156 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005646/1.27, allocations: 4.299 MB / 1.568 GB, free: 13.88 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0002444/1.27, allocations: 77.7 kB / 1.569 GB, free: 13.79 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.002041/1.272, allocations: 2.786 MB / 1.571 GB, free: 10.99 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006775/1.273, allocations: 0.7547 MB / 1.572 GB, free: 10.22 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006925/1.273, allocations: 0.5762 MB / 1.573 GB, free: 9.641 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 8.446e-05/1.273, allocations: 301.1 kB / 1.573 GB, free: 9.344 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001295/1.275, allocations: 0.8231 MB / 1.574 GB, free: 8.516 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002079/1.277, allocations: 1.822 MB / 1.575 GB, free: 6.258 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003326/1.28, allocations: 2.509 MB / 1.578 GB, free: 3.422 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-05/1.28, allocations: 8 kB / 1.578 GB, free: 3.414 MB / 1.311 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.4779/1.758, allocations: 3.548 MB / 1.581 GB, free: 438.3 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 3.913e-05/1.758, allocations: 15.55 kB / 1.581 GB, free: 438.3 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.282e-05/1.758, allocations: 20.97 kB / 1.581 GB, free: 438.3 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00263/1.761, allocations: 0.5944 MB / 1.582 GB, free: 438.3 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001916/1.763, allocations: 0.5523 MB / 1.583 GB, free: 438.3 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001685/1.764, allocations: 2.686 MB / 1.585 GB, free: 436.2 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003316/1.768, allocations: 326.7 kB / 1.585 GB, free: 436.2 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002564/1.768, allocations: 137 kB / 1.586 GB, free: 436.2 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002878/1.771, allocations: 1.565 MB / 1.587 GB, free: 436.1 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001902/1.773, allocations: 1.794 MB / 1.589 GB, free: 435 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002993/1.776, allocations: 2.463 MB / 1.591 GB, free: 433.4 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.653e-05/1.776, allocations: 7.109 kB / 1.591 GB, free: 433.4 MB / 1.311 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.006395/1.782, allocations: 3.314 MB / 1.595 GB, free: 432.2 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/1.782, allocations: 14.31 kB / 1.595 GB, free: 432.2 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.581e-05/1.782, allocations: 21.41 kB / 1.595 GB, free: 432.2 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009175/1.783, allocations: 375 kB / 1.595 GB, free: 432.1 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001699/1.785, allocations: 0.5527 MB / 1.595 GB, free: 432.1 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006402/1.791, allocations: 8.442 MB / 1.604 GB, free: 424.8 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003592/1.795, allocations: 296.8 kB / 1.604 GB, free: 424.7 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002734/1.795, allocations: 135.4 kB / 1.604 GB, free: 424.7 MB / 1.311 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (323): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,12), (1,9), (1,12), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0007131/1.796, allocations: 366.5 kB / 1.604 GB, free: 424.4 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001013/1.797, allocations: 0.5142 MB / 1.605 GB, free: 424.3 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005769/1.803, allocations: 3.56 MB / 1.608 GB, free: 422.9 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003511/1.806, allocations: 2.437 MB / 1.611 GB, free: 421.9 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/1.806, allocations: 1.75 kB / 1.611 GB, free: 421.9 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001808/1.808, allocations: 0.886 MB / 1.612 GB, free: 421.4 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005483/1.809, allocations: 41.16 kB / 1.612 GB, free: 421.3 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002131/1.811, allocations: 113.4 kB / 1.612 GB, free: 421.3 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002809/1.811, allocations: 189.9 kB / 1.612 GB, free: 421.3 MB / 1.311 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004977/1.816, allocations: 2.816 MB / 1.615 GB, free: 420.2 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005536/1.822, allocations: 4.097 MB / 1.619 GB, free: 418.3 MB / 1.311 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001387/1.823, allocations: 1.059 MB / 1.62 GB, free: 417.9 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.004106/1.827, allocations: 2.845 MB / 1.623 GB, free: 416.9 MB / 1.311 GB Notification: Performance of Backend: time 5.41e-07/1.827, allocations: 0 / 1.623 GB, free: 416.9 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.009859/1.837, allocations: 5.213 MB / 1.628 GB, free: 415.2 MB / 1.311 GB Notification: Performance of SimCode: time 0.01843/1.855, allocations: 11.45 MB / 1.639 GB, free: 409.9 MB / 1.311 GB Notification: Performance of Templates: time 0.1391/1.995, allocations: 109.5 MB / 1.746 GB, free: 328.5 MB / 1.311 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_HeaterCooler_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches