Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Convection.Examples.Interior.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.HeatTransfer.Convection.Examples.Interior,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conCon.Q_flow|conVer.Q_flow|conHorFluTop.Q_flow|conHorSolTop.Q_flow|conHorFluTop.solid.T|conHorFluTop.fluid.T",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Convection.Examples.Interior") translateModel(Buildings.HeatTransfer.Convection.Examples.Interior,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conCon.Q_flow|conVer.Q_flow|conHorFluTop.Q_flow|conHorSolTop.Q_flow|conHorFluTop.solid.T|conHorFluTop.fluid.T",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Convection.Examples.Interior") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 192.5 kB / 16.53 MB, free: 6.664 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.474/1.474, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.771/2.771, allocations: 437 MB / 0.7104 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 71.88 kB / 0.8692 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7079/0.7099, allocations: 151.6 MB / 1.017 GB, free: 2.547 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Interior): time 0.004547/0.7145, allocations: 2.418 MB / 1.02 GB, free: 120 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002054/0.7166, allocations: 0.9466 MB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002774/0.7169, allocations: 7.938 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001328/0.717, allocations: 39.58 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005316/0.7176, allocations: 115.1 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004674/0.7181, allocations: 171.7 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005855/0.7187, allocations: 354.3 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002384/0.719, allocations: 105.9 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002083/0.7192, allocations: 127.5 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002998/0.7195, allocations: 131.4 kB / 1.022 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.201e-05/0.7196, allocations: 20 kB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.7197, allocations: 43.97 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.652e-05/0.7198, allocations: 63.7 kB / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001521/0.7199, allocations: 131.3 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003658/0.7203, allocations: 298.9 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.7203, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.283e-06/0.7203, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.7203, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0009388/0.7213, allocations: 0.561 MB / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.7213, allocations: 15.98 kB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.084e-05/0.7214, allocations: 32.56 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000354/0.7218, allocations: 262.7 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/0.7218, allocations: 16.81 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.522e-05/0.7218, allocations: 20.38 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004013/0.7223, allocations: 179.6 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.7223, allocations: 0 / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.571e-05/0.7223, allocations: 15.94 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.7223, allocations: 4 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003592/0.7227, allocations: 133.7 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/0.7238, allocations: 0.808 MB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003669/0.7242, allocations: 122.5 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.7244, allocations: 72.73 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.7244, allocations: 4 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.7244, allocations: 34.56 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.402e-06/0.7245, allocations: 0 / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0005503/0.725, allocations: 177.4 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.79e-05/0.7251, allocations: 55.41 kB / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002803/0.7254, allocations: 238.6 kB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.7254, allocations: 29.7 kB / 1.025 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.7255, allocations: 156.2 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.703e-05/0.7256, allocations: 47.45 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.385e-05/0.7257, allocations: 33.61 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.7258, allocations: 326.8 kB / 1.025 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.726, allocations: 44.77 kB / 1.025 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.7261, allocations: 43.97 kB / 1.025 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002482/0.7264, allocations: 96.69 kB / 1.026 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.7264, allocations: 0 / 1.026 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003491/0.7267, allocations: 133.5 kB / 1.026 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.7268, allocations: 7.938 kB / 1.026 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.7268, allocations: 0 / 1.026 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.7268, allocations: 7.984 kB / 1.026 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.7269, allocations: 27.92 kB / 1.026 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.727, allocations: 4 kB / 1.026 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.7271, allocations: 15.84 kB / 1.026 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.7271, allocations: 7.984 kB / 1.026 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001957/0.7273, allocations: 124.1 kB / 1.026 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001236/0.7274, allocations: 43.95 kB / 1.026 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002267/0.7277, allocations: 88.81 kB / 1.026 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.92e-07/0.7277, allocations: 0 / 1.026 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 0.0003169/0.728, allocations: 136.9 kB / 1.026 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.257e-06/0.728, allocations: 8 kB / 1.026 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.728, allocations: 4 kB / 1.026 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.318e-06/0.728, allocations: 3.938 kB / 1.026 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.7282, allocations: 23.98 kB / 1.026 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.494e-06/0.7282, allocations: 0 / 1.026 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.952e-05/0.7283, allocations: 20 kB / 1.026 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.7283, allocations: 7.938 kB / 1.026 GB, free: 9.16 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001269/0.7284, allocations: 180.3 kB / 1.026 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.477e-05/0.7285, allocations: 31.59 kB / 1.026 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003877/0.7289, allocations: 155.4 kB / 1.026 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.729, allocations: 4 kB / 1.026 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.729, allocations: 0 / 1.026 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.729, allocations: 0 / 1.026 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003747/0.7294, allocations: 273.5 kB / 1.027 GB, free: 8.473 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.7294, allocations: 0 / 1.027 GB, free: 8.473 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.7295, allocations: 23.98 kB / 1.027 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.7295, allocations: 3.938 kB / 1.027 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.7295, allocations: 0 / 1.027 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.7295, allocations: 3.938 kB / 1.027 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.7295, allocations: 0 / 1.027 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004173/0.73, allocations: 251.2 kB / 1.027 GB, free: 8.18 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002069/0.7302, allocations: 100.8 kB / 1.027 GB, free: 8.062 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.743e-05/0.7302, allocations: 7.938 kB / 1.027 GB, free: 8.055 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.7304, allocations: 11.98 kB / 1.027 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.357e-05/0.7304, allocations: 7.984 kB / 1.027 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.7305, allocations: 0 / 1.027 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000198/0.7307, allocations: 182 kB / 1.027 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7307, allocations: 0 / 1.027 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004234/0.7311, allocations: 91.69 kB / 1.027 GB, free: 7.766 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002354/0.7313, allocations: 123.1 kB / 1.028 GB, free: 7.633 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004977/0.7318, allocations: 149.1 kB / 1.028 GB, free: 7.488 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.7319, allocations: 0 / 1.028 GB, free: 7.488 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.732, allocations: 55.91 kB / 1.028 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005099/0.7325, allocations: 55.06 kB / 1.028 GB, free: 7.383 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008345/0.7334, allocations: 385.6 kB / 1.028 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000511/0.7339, allocations: 0.7518 MB / 1.029 GB, free: 6.207 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001053/0.734, allocations: 25.52 kB / 1.029 GB, free: 6.184 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.733e-05/0.7341, allocations: 23.38 kB / 1.029 GB, free: 6.16 MB / 0.7794 GB Notification: Performance of SimCode: time 6.02e-07/0.7341, allocations: 3.938 kB / 1.029 GB, free: 6.156 MB / 0.7794 GB Notification: Performance of Templates: time 0.007473/0.7415, allocations: 2.613 MB / 1.031 GB, free: 3.578 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Convection.Examples.Interior.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Convection.Examples.Interior.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Convection.Examples.Interior.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Convection.Examples.Interior.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Convection.Examples.Interior.sim & ./Buildings_10_Buildings.HeatTransfer.Convection.Examples.Interior -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Convection.Examples.Interior.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Convection.Examples.Interior_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Convection_Examples_Interior.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Convection.Examples.Interior.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches