Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conVer.hCon|conCei.hCon|conFlo.hCon|conVer.q_flow|conCei.q_flow|conFlo.q_flow|conVer.Ra|conCei.Ra|conFlo.Ra|conVer.Nu|conCei.Nu|conFlo.Nu",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conVer.hCon|conCei.hCon|conFlo.hCon|conVer.q_flow|conCei.q_flow|conFlo.q_flow|conVer.Ra|conCei.Ra|conFlo.Ra|conVer.Nu|conCei.Nu|conFlo.Nu",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007882/0.0007881, allocations: 98.88 kB / 16.02 MB, free: 76 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.0008329/0.0008329, allocations: 181.7 kB / 16.92 MB, free: 6.918 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.365/1.365, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.385/2.385, allocations: 390.9 MB / 0.667 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003515/0.0003516, allocations: 8 kB / 0.8166 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6623/0.6627, allocations: 142.4 MB / 0.9557 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.002414/0.6652, allocations: 2.516 MB / 0.9582 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003109/0.6683, allocations: 2.915 MB / 0.961 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.6684, allocations: 4.125 kB / 0.961 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001973/0.6686, allocations: 63.3 kB / 0.9611 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004102/0.669, allocations: 189.4 kB / 0.9613 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009381/0.67, allocations: 0.5206 MB / 0.9618 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005133/0.6705, allocations: 0.5058 MB / 0.9623 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001823/0.6707, allocations: 105 kB / 0.9624 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001768/0.6709, allocations: 168.2 kB / 0.9625 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001932/0.6711, allocations: 193.7 kB / 0.9627 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.445e-05/0.6711, allocations: 18.84 kB / 0.9627 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006402/0.6718, allocations: 370.6 kB / 0.9631 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.636e-05/0.6718, allocations: 75.25 kB / 0.9631 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001655/0.672, allocations: 223.7 kB / 0.9634 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005113/0.6725, allocations: 0.5246 MB / 0.9639 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.6725, allocations: 1.375 kB / 0.9639 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6725, allocations: 0 / 0.9639 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.6725, allocations: 0 / 0.9639 GB, free: 1.684 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0008794/0.6734, allocations: 0.6782 MB / 0.9645 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.6735, allocations: 9 kB / 0.9645 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09729/0.7708, allocations: 10.6 MB / 0.9749 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001913/0.7727, allocations: 0.9247 MB / 0.9758 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.7728, allocations: 28.81 kB / 0.9758 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005043/0.7733, allocations: 28.38 kB / 0.9759 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01566/0.7889, allocations: 3.567 MB / 0.9793 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.789, allocations: 0 / 0.9793 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002905/0.7893, allocations: 4 kB / 0.9793 GB, free: 7.039 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/0.7893, allocations: 8 kB / 0.9793 GB, free: 7.031 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01491/0.8042, allocations: 2.805 MB / 0.9821 GB, free: 4.219 MB / 0.7325 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.01513/0.8194, allocations: 17.15 MB / 0.9988 GB, free: 15.49 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01457/0.834, allocations: 2.758 MB / 1.002 GB, free: 12.72 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01422/0.8482, allocations: 2.628 MB / 1.004 GB, free: 10.09 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001024/0.8483, allocations: 35.89 kB / 1.004 GB, free: 10.06 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.8484, allocations: 38.56 kB / 1.004 GB, free: 10.01 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=22): time 2.234e-06/0.8484, allocations: 0 / 1.004 GB, free: 10.01 MB / 0.7637 GB Notification: Performance of matching and sorting (n=22): time 0.04454/0.8929, allocations: 8.035 MB / 1.012 GB, free: 1.965 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.893, allocations: 59.41 kB / 1.012 GB, free: 1.895 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004468/0.8935, allocations: 337.7 kB / 1.012 GB, free: 1.559 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0005557/0.894, allocations: 29.7 kB / 1.012 GB, free: 1.523 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002733/0.8943, allocations: 204.3 kB / 1.013 GB, free: 1.32 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003902/0.8947, allocations: 78.89 kB / 1.013 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004892/0.8952, allocations: 29.7 kB / 1.013 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.8954, allocations: 346.8 kB / 1.013 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02068/0.916, allocations: 3.642 MB / 1.017 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02032/0.9364, allocations: 3.682 MB / 1.02 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03353/0.9699, allocations: 5.79 MB / 1.026 GB, free: 3.723 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.97, allocations: 0 / 1.026 GB, free: 3.723 MB / 0.7794 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.04167/1.012, allocations: 7.535 MB / 1.033 GB, free: 12.18 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 7.305e-05/1.012, allocations: 100.7 kB / 1.033 GB, free: 12.07 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03758/1.049, allocations: 6.858 MB / 1.04 GB, free: 5.203 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.647e-05/1.049, allocations: 4 kB / 1.04 GB, free: 5.199 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01489/1.064, allocations: 1.689 MB / 1.042 GB, free: 3.508 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.912e-05/1.064, allocations: 4 kB / 1.042 GB, free: 3.504 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01333/1.078, allocations: 1.291 MB / 1.043 GB, free: 2.211 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008249/1.079, allocations: 203.5 kB / 1.043 GB, free: 2.012 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/1.079, allocations: 4 kB / 1.043 GB, free: 2.008 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03984/1.118, allocations: 7.474 MB / 1.05 GB, free: 10.53 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03705/1.156, allocations: 6.838 MB / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/1.156, allocations: 0 / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01466/1.17, allocations: 1.701 MB / 1.059 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/1.17, allocations: 0 / 1.059 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01347/1.184, allocations: 1.284 MB / 1.06 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008976/1.185, allocations: 203.5 kB / 1.06 GB, free: 0.4961 MB / 0.8106 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 (37): * Single equations (assignments): 37 * 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.001146/1.186, allocations: 225 kB / 1.06 GB, free: 272 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004734/1.186, allocations: 39.47 kB / 1.06 GB, free: 232 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03261/1.219, allocations: 6.344 MB / 1.067 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/1.219, allocations: 0 / 1.067 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/1.219, allocations: 8 kB / 1.067 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/1.219, allocations: 7.984 kB / 1.067 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00586/1.225, allocations: 6.48 MB / 1.073 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02944/1.254, allocations: 5.282 MB / 1.078 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01262/1.267, allocations: 1.459 MB / 1.08 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-05/1.267, allocations: 0 / 1.08 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004977/1.268, allocations: 175.5 kB / 1.08 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.967e-06/1.268, allocations: 4 kB / 1.08 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.268, allocations: 3.938 kB / 1.08 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03014/1.298, allocations: 5.436 MB / 1.085 GB, free: 5.488 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001182/1.299, allocations: 0.5622 MB / 1.086 GB, free: 4.906 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004882/1.299, allocations: 4 kB / 1.086 GB, free: 4.902 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0115/1.311, allocations: 1.085 MB / 1.087 GB, free: 3.816 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/1.311, allocations: 43.91 kB / 1.087 GB, free: 3.773 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005997/1.312, allocations: 175.5 kB / 1.087 GB, free: 3.602 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000325/1.312, allocations: 235.2 kB / 1.087 GB, free: 3.375 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/1.312, allocations: 0 / 1.087 GB, free: 3.375 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002846/1.315, allocations: 0.5895 MB / 1.088 GB, free: 2.785 MB / 0.8419 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 (34): * Single equations (assignments): 34 * 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.0006652/1.316, allocations: 171.1 kB / 1.088 GB, free: 2.609 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0517/1.367, allocations: 9.667 MB / 1.097 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/1.367, allocations: 0 / 1.097 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.01454/1.382, allocations: 2.743 MB / 1.1 GB, free: 6.184 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/1.383, allocations: 86.7 kB / 1.1 GB, free: 6.102 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01533/1.399, allocations: 3.265 MB / 1.103 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004558/1.399, allocations: 0.7923 MB / 1.104 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003352/1.402, allocations: 0.5528 MB / 1.105 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of SimCode: time 8.82e-07/1.402, allocations: 0 / 1.105 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of Templates: time 0.0571/1.46, allocations: 36.92 MB / 1.141 GB, free: 12.32 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches