Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.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.001808/0.001808, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.002288/0.002288, allocations: 211 kB / 23 MB, free: 4.969 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.533/1.533, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.124/3.124, allocations: 0.49 GB / 0.7959 GB, free: 35.41 MB / 0.6231 GB " [Timeout remaining time 177] 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.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") [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.002959/0.002959, allocations: 64.19 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3265, allocations: 176.1 MB / 1.327 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.3142/0.6407, allocations: 276.4 MB / 1.597 GB, free: 11.63 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.7552/1.396, allocations: 46.53 MB / 1.642 GB, free: 68.09 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00996/1.406, allocations: 420.8 kB / 1.643 GB, free: 68.09 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.01006/1.416, allocations: 3.379 MB / 1.646 GB, free: 68.03 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.02683/1.443, allocations: 9.671 MB / 1.656 GB, free: 67.69 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.01764/1.46, allocations: 6.786 MB / 1.662 GB, free: 67.51 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.0265/1.487, allocations: 18.89 MB / 1.681 GB, free: 67.48 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008585/1.496, allocations: 4.691 MB / 1.685 GB, free: 67.1 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01893/1.514, allocations: 8.234 MB / 1.693 GB, free: 66.17 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01009/1.525, allocations: 5.228 MB / 1.698 GB, free: 64.71 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.002537/1.527, allocations: 0.5677 MB / 1.699 GB, free: 64.71 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01617/1.543, allocations: 3.683 MB / 1.703 GB, free: 63.67 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.003493/1.547, allocations: 1.583 MB / 1.704 GB, free: 62.66 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.008366/1.555, allocations: 3.055 MB / 1.707 GB, free: 61.13 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.02098/1.576, allocations: 10.64 MB / 1.717 GB, free: 57.54 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/1.576, allocations: 7.125 kB / 1.718 GB, free: 57.53 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.683e-06/1.576, allocations: 0 / 1.718 GB, free: 57.53 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.00035/1.576, allocations: 0 / 1.718 GB, free: 57.53 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: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.01602/1.592, allocations: 7.66 MB / 1.725 GB, free: 52.3 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/1.592, allocations: 8.188 kB / 1.725 GB, free: 52.3 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003054/1.596, allocations: 0.8233 MB / 1.726 GB, free: 51.88 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01152/1.607, allocations: 5.319 MB / 1.731 GB, free: 48.26 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002483/1.607, allocations: 317.4 kB / 1.731 GB, free: 48.12 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008186/1.608, allocations: 440.7 kB / 1.732 GB, free: 47.97 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007627/1.616, allocations: 5.168 MB / 1.737 GB, free: 44.12 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001068/1.616, allocations: 17.39 kB / 1.737 GB, free: 44.11 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004392/1.616, allocations: 177.4 kB / 1.737 GB, free: 43.98 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001211/1.616, allocations: 116.5 kB / 1.737 GB, free: 43.98 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004986/1.621, allocations: 2.957 MB / 1.74 GB, free: 42.5 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.02244/1.644, allocations: 16.2 MB / 1.756 GB, free: 29.73 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002403/1.646, allocations: 1.697 MB / 1.757 GB, free: 28.82 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001157/1.647, allocations: 0.8889 MB / 1.758 GB, free: 28.38 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001292/1.649, allocations: 391.8 kB / 1.759 GB, free: 28.23 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.168e-05/1.649, allocations: 64.91 kB / 1.759 GB, free: 28.17 MB / 1.295 GB Notification: Performance of pre-optimization done (n=217): time 4.789e-06/1.649, allocations: 0 / 1.759 GB, free: 28.17 MB / 1.295 GB Notification: Performance of matching and sorting (n=217): time 0.01062/1.659, allocations: 3.767 MB / 1.762 GB, free: 26.28 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/1.659, allocations: 77.44 kB / 1.762 GB, free: 26.21 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00601/1.665, allocations: 4.325 MB / 1.767 GB, free: 22.13 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0005763/1.666, allocations: 77.7 kB / 1.767 GB, free: 22.05 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.001626/1.668, allocations: 2.852 MB / 1.77 GB, free: 19.19 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008618/1.668, allocations: 0.8003 MB / 1.77 GB, free: 18.4 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006809/1.669, allocations: 0.5727 MB / 1.771 GB, free: 17.82 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 4.006e-05/1.669, allocations: 301.1 kB / 1.771 GB, free: 17.53 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001194/1.67, allocations: 0.827 MB / 1.772 GB, free: 16.69 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001885/1.672, allocations: 3.011 MB / 1.775 GB, free: 12.96 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002959/1.675, allocations: 2.512 MB / 1.777 GB, free: 10.12 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.346e-05/1.675, allocations: 8 kB / 1.777 GB, free: 10.12 MB / 1.295 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.007483/1.683, allocations: 3.569 MB / 1.781 GB, free: 6.492 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.974e-05/1.683, allocations: 19.94 kB / 1.781 GB, free: 6.473 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.287e-05/1.683, allocations: 20 kB / 1.781 GB, free: 6.453 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002759/1.686, allocations: 0.5891 MB / 1.781 GB, free: 5.855 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001826/1.687, allocations: 0.5499 MB / 1.782 GB, free: 5.305 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001575/1.689, allocations: 2.686 MB / 1.785 GB, free: 2.52 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00382/1.693, allocations: 330.2 kB / 1.785 GB, free: 2.195 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003508/1.693, allocations: 132 kB / 1.785 GB, free: 2.066 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002833/1.696, allocations: 1.579 MB / 1.787 GB, free: 492 kB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003502/1.699, allocations: 2.98 MB / 1.79 GB, free: 12.78 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00399/1.703, allocations: 2.466 MB / 1.792 GB, free: 9.992 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.707e-05/1.703, allocations: 8 kB / 1.792 GB, free: 9.984 MB / 1.311 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.00748/1.711, allocations: 3.327 MB / 1.795 GB, free: 6.594 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/1.711, allocations: 16 kB / 1.795 GB, free: 6.578 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.574e-05/1.711, allocations: 20 kB / 1.795 GB, free: 6.559 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/1.712, allocations: 363.8 kB / 1.796 GB, free: 6.191 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001816/1.714, allocations: 0.5577 MB / 1.796 GB, free: 5.633 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008763/1.723, allocations: 7.663 MB / 1.804 GB, free: 13.6 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004077/1.727, allocations: 295.5 kB / 1.804 GB, free: 13.31 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003681/1.727, allocations: 136 kB / 1.804 GB, free: 13.18 MB / 1.326 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.0007538/1.728, allocations: 372.8 kB / 1.804 GB, free: 12.81 MB / 1.326 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001739/1.73, allocations: 0.5279 MB / 1.805 GB, free: 12.28 MB / 1.326 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007321/1.737, allocations: 3.608 MB / 1.808 GB, free: 8.613 MB / 1.326 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004536/1.741, allocations: 2.471 MB / 1.811 GB, free: 6.102 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-05/1.741, allocations: 11.92 kB / 1.811 GB, free: 6.09 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004036/1.746, allocations: 0.8261 MB / 1.812 GB, free: 5.266 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001385/1.747, allocations: 48 kB / 1.812 GB, free: 5.219 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002799/1.75, allocations: 115.8 kB / 1.812 GB, free: 5.105 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003537/1.75, allocations: 201.6 kB / 1.812 GB, free: 4.906 MB / 1.326 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006014/1.756, allocations: 2.842 MB / 1.815 GB, free: 2.066 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007344/1.763, allocations: 4.201 MB / 1.819 GB, free: 13.8 MB / 1.342 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001612/1.765, allocations: 0.9801 MB / 1.82 GB, free: 12.82 MB / 1.342 GB Notification: Performance of sorting global known variables: time 0.005105/1.77, allocations: 2.836 MB / 1.823 GB, free: 10.01 MB / 1.342 GB Notification: Performance of Backend: time 2.4e-07/1.77, allocations: 0 / 1.823 GB, free: 10.01 MB / 1.342 GB Notification: Performance of simCode: created initialization part: time 0.01292/1.783, allocations: 4.899 MB / 1.827 GB, free: 5.242 MB / 1.342 GB Notification: Performance of SimCode: time 0.02379/1.807, allocations: 11.65 MB / 1.839 GB, free: 9.699 MB / 1.357 GB Notification: Performance of Templates: time 0.2077/2.015, allocations: 123.4 MB / 1.959 GB, free: 328 kB / 1.467 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./Buildings_12_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_HeaterCooler_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.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: 13.753464647001238]