Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001567/0.001567, allocations: 113.2 kB / 16.42 MB, free: 6.516 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.001791/0.001791, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.311/1.311, 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 11.0.1-master/package.mo): time 2.533/2.533, allocations: 461.9 MB / 0.7355 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 59.91 kB / 1.055 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.714/0.7153, allocations: 157.4 MB / 1.208 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.2777/0.9931, allocations: 300.4 MB / 1.502 GB, free: 168 kB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.06286/1.056, allocations: 50.03 MB / 1.551 GB, free: 14 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007906/1.064, allocations: 298.2 kB / 1.551 GB, free: 13.71 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.008644/1.073, allocations: 3.419 MB / 1.554 GB, free: 10.27 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.02323/1.096, allocations: 9.041 MB / 1.563 GB, free: 1.188 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.6092/1.705, allocations: 6.635 MB / 1.57 GB, free: 82.82 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.02394/1.729, allocations: 18.47 MB / 1.588 GB, free: 82.81 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008633/1.738, allocations: 5.853 MB / 1.593 GB, free: 82.11 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01734/1.755, allocations: 7.542 MB / 1.601 GB, free: 82.08 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009299/1.764, allocations: 5.09 MB / 1.606 GB, free: 81.28 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.001663/1.766, allocations: 0.5664 MB / 1.606 GB, free: 81.28 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01077/1.777, allocations: 4.376 MB / 1.611 GB, free: 81.28 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.001602/1.778, allocations: 1.503 MB / 1.612 GB, free: 81.02 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.005444/1.784, allocations: 3.741 MB / 1.616 GB, free: 79.98 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.01365/1.797, allocations: 10.43 MB / 1.626 GB, free: 78.7 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/1.798, allocations: 0 / 1.626 GB, free: 78.7 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.342e-06/1.798, allocations: 0 / 1.626 GB, free: 78.7 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0002029/1.798, allocations: 4 kB / 1.626 GB, free: 78.69 MB / 1.279 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.01135/1.809, allocations: 7.477 MB / 1.633 GB, free: 75.28 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/1.809, allocations: 8.312 kB / 1.633 GB, free: 75.28 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001998/1.811, allocations: 0.7812 MB / 1.634 GB, free: 74.91 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008505/1.82, allocations: 5.356 MB / 1.639 GB, free: 73.78 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000194/1.82, allocations: 325.6 kB / 1.639 GB, free: 73.77 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005904/1.82, allocations: 430 kB / 1.64 GB, free: 73.77 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00646/1.827, allocations: 4.38 MB / 1.644 GB, free: 72.96 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.123e-05/1.827, allocations: 16.22 kB / 1.644 GB, free: 72.96 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003626/1.827, allocations: 174.4 kB / 1.644 GB, free: 72.96 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.842e-05/1.828, allocations: 120.2 kB / 1.644 GB, free: 72.96 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004627/1.832, allocations: 2.958 MB / 1.647 GB, free: 72.93 MB / 1.279 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.02113/1.853, allocations: 25.13 MB / 1.672 GB, free: 57.05 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002357/1.856, allocations: 2.768 MB / 1.675 GB, free: 55.88 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001186/1.857, allocations: 0.9921 MB / 1.676 GB, free: 55.86 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001818/1.859, allocations: 3.912 MB / 1.679 GB, free: 51.45 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.749e-05/1.859, allocations: 65.78 kB / 1.679 GB, free: 51.41 MB / 1.279 GB Notification: Performance of pre-optimization done (n=217): time 4.067e-06/1.859, allocations: 0 / 1.679 GB, free: 51.41 MB / 1.279 GB Notification: Performance of matching and sorting (n=217): time 0.009558/1.868, allocations: 4.068 MB / 1.683 GB, free: 50.54 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.423e-05/1.868, allocations: 76.03 kB / 1.683 GB, free: 50.47 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00537/1.874, allocations: 4.304 MB / 1.688 GB, free: 50.12 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0003271/1.874, allocations: 79.83 kB / 1.688 GB, free: 50.09 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0015/1.876, allocations: 2.772 MB / 1.69 GB, free: 49.22 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006726/1.876, allocations: 0.7635 MB / 1.691 GB, free: 48.73 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006575/1.877, allocations: 0.5763 MB / 1.692 GB, free: 48.68 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 3.406e-05/1.877, allocations: 301.1 kB / 1.692 GB, free: 48.38 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001169/1.878, allocations: 0.8188 MB / 1.693 GB, free: 48.36 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001676/1.88, allocations: 1.825 MB / 1.695 GB, free: 47.2 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002876/1.883, allocations: 2.51 MB / 1.697 GB, free: 46.3 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.27e-05/1.883, allocations: 7.656 kB / 1.697 GB, free: 46.3 MB / 1.279 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.006794/1.89, allocations: 3.563 MB / 1.701 GB, free: 43.82 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/1.89, allocations: 12 kB / 1.701 GB, free: 43.81 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.088e-05/1.89, allocations: 24 kB / 1.701 GB, free: 43.79 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002503/1.892, allocations: 0.5831 MB / 1.701 GB, free: 43.28 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001541/1.894, allocations: 0.5546 MB / 1.702 GB, free: 42.79 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001477/1.895, allocations: 2.687 MB / 1.704 GB, free: 40.25 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003213/1.898, allocations: 320.8 kB / 1.705 GB, free: 39.98 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001983/1.899, allocations: 135 kB / 1.705 GB, free: 39.87 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002475/1.901, allocations: 1.572 MB / 1.706 GB, free: 38.96 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001524/1.903, allocations: 1.795 MB / 1.708 GB, free: 37.1 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002595/1.905, allocations: 2.463 MB / 1.71 GB, free: 34.76 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.021e-05/1.905, allocations: 7.656 kB / 1.71 GB, free: 34.75 MB / 1.279 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.005279/1.911, allocations: 3.312 MB / 1.714 GB, free: 31.52 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/1.911, allocations: 12 kB / 1.714 GB, free: 31.51 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/1.911, allocations: 28.03 kB / 1.714 GB, free: 31.48 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008582/1.911, allocations: 372.2 kB / 1.714 GB, free: 31.11 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001484/1.913, allocations: 0.5533 MB / 1.715 GB, free: 30.6 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005659/1.919, allocations: 8.443 MB / 1.723 GB, free: 21.63 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00329/1.922, allocations: 298.9 kB / 1.723 GB, free: 21.34 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001966/1.922, allocations: 132 kB / 1.723 GB, free: 21.21 MB / 1.279 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.0005634/1.923, allocations: 367.8 kB / 1.724 GB, free: 20.88 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009523/1.924, allocations: 0.5016 MB / 1.724 GB, free: 20.38 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005195/1.929, allocations: 3.573 MB / 1.728 GB, free: 16.81 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003079/1.932, allocations: 2.439 MB / 1.73 GB, free: 14.35 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/1.932, allocations: 0 / 1.73 GB, free: 14.35 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001781/1.934, allocations: 0.8806 MB / 1.731 GB, free: 13.44 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005701/1.934, allocations: 40 kB / 1.731 GB, free: 13.4 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002108/1.936, allocations: 127.8 kB / 1.731 GB, free: 13.28 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002329/1.937, allocations: 181.7 kB / 1.731 GB, free: 13.1 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004442/1.941, allocations: 2.834 MB / 1.734 GB, free: 10.27 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004838/1.946, allocations: 4.092 MB / 1.738 GB, free: 6.125 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001141/1.947, allocations: 1.047 MB / 1.739 GB, free: 5.078 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.003356/1.951, allocations: 2.844 MB / 1.742 GB, free: 2.262 MB / 1.279 GB Notification: Performance of Backend: time 5.81e-07/1.951, allocations: 4 kB / 1.742 GB, free: 2.258 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.009382/1.96, allocations: 5.207 MB / 1.747 GB, free: 13.29 MB / 1.295 GB Notification: Performance of SimCode: time 0.01984/1.98, allocations: 11.44 MB / 1.758 GB, free: 1.91 MB / 1.295 GB Notification: Performance of Templates: time 0.169/2.149, allocations: 109.5 MB / 1.865 GB, free: 6.438 MB / 1.404 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_HeaterCooler_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches