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.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.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.00158/0.00158, allocations: 104.3 kB / 16.27 MB, free: 5.98 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.001662/0.001663, allocations: 187.7 kB / 17.2 MB, free: 5.605 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.397/1.397, allocations: 222.9 MB / 240.9 MB, free: 15.2 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.182/2.182, allocations: 390.2 MB / 0.6653 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 64.06 kB / 0.8132 GB, free: 33.03 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2915, allocations: 140.4 MB / 0.9503 GB, free: 8.883 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.004816/0.2964, allocations: 2.829 MB / 0.953 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004675/0.3011, allocations: 2.96 MB / 0.9559 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002761/0.3014, allocations: 4 kB / 0.9559 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003369/0.3018, allocations: 87.5 kB / 0.956 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0008644/0.3027, allocations: 206.6 kB / 0.9562 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001742/0.3044, allocations: 0.6071 MB / 0.9568 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0007759/0.3052, allocations: 0.529 MB / 0.9573 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002535/0.3055, allocations: 114.6 kB / 0.9574 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003143/0.3058, allocations: 191.3 kB / 0.9576 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003034/0.3061, allocations: 223.1 kB / 0.9578 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.515e-05/0.3062, allocations: 40 kB / 0.9579 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000904/0.3071, allocations: 387.6 kB / 0.9582 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.3072, allocations: 91.67 kB / 0.9583 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000243/0.3075, allocations: 214.9 kB / 0.9585 GB, free: 388 kB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001356/0.3088, allocations: 0.7245 MB / 0.9592 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3089, allocations: 0 / 0.9592 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3089, allocations: 0 / 0.9592 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.502e-05/0.3089, allocations: 4 kB / 0.9592 GB, free: 15.65 MB / 0.7481 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.001244/0.3101, allocations: 0.7518 MB / 0.96 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.3102, allocations: 8.031 kB / 0.96 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09752/0.4077, allocations: 12.21 MB / 0.9719 GB, free: 2.617 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00202/0.4098, allocations: 0.9208 MB / 0.9728 GB, free: 1.66 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.4098, allocations: 24.94 kB / 0.9728 GB, free: 1.637 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004827/0.4103, allocations: 32.31 kB / 0.9729 GB, free: 1.605 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01546/0.4258, allocations: 3.738 MB / 0.9765 GB, free: 13.86 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.4258, allocations: 0 / 0.9765 GB, free: 13.86 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002926/0.4261, allocations: 8 kB / 0.9765 GB, free: 13.85 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-06/0.4261, allocations: 8 kB / 0.9765 GB, free: 13.84 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0143/0.4404, allocations: 2.969 MB / 0.9794 GB, free: 10.87 MB / 0.7637 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.01593/0.4564, allocations: 17.15 MB / 0.9962 GB, free: 6.145 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01415/0.4706, allocations: 2.938 MB / 0.999 GB, free: 3.195 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01404/0.4846, allocations: 2.795 MB / 1.002 GB, free: 404 kB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/0.4848, allocations: 31.98 kB / 1.002 GB, free: 372 kB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.4848, allocations: 30.56 kB / 1.002 GB, free: 332 kB / 0.7794 GB Notification: Performance of pre-optimization done (n=22): time 4.589e-06/0.4848, allocations: 4 kB / 1.002 GB, free: 328 kB / 0.7794 GB Notification: Performance of matching and sorting (n=22): time 0.04389/0.5287, allocations: 8.546 MB / 1.01 GB, free: 7.762 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.5288, allocations: 55.41 kB / 1.01 GB, free: 7.695 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004091/0.5292, allocations: 341.8 kB / 1.011 GB, free: 7.355 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0005306/0.5298, allocations: 29.7 kB / 1.011 GB, free: 7.32 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002527/0.53, allocations: 204.4 kB / 1.011 GB, free: 7.113 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003406/0.5304, allocations: 78.84 kB / 1.011 GB, free: 7.035 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001301/0.5317, allocations: 476.9 kB / 1.011 GB, free: 6.562 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.5318, allocations: 346.8 kB / 1.012 GB, free: 6.215 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01985/0.5517, allocations: 3.889 MB / 1.015 GB, free: 2.32 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01974/0.5714, allocations: 3.934 MB / 1.019 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03293/0.6044, allocations: 6.204 MB / 1.025 GB, free: 8.16 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/0.6044, allocations: 4 kB / 1.025 GB, free: 8.156 MB / 0.8106 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.04059/0.645, allocations: 8.041 MB / 1.033 GB, free: 104 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/0.6451, allocations: 4 kB / 1.033 GB, free: 100 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.036/0.6811, allocations: 7.303 MB / 1.04 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.916e-05/0.6812, allocations: 3.938 kB / 1.04 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01476/0.6959, allocations: 1.908 MB / 1.042 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.749e-05/0.696, allocations: 4 kB / 1.042 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01355/0.7096, allocations: 1.506 MB / 1.044 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000689/0.7103, allocations: 211.5 kB / 1.044 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02016/0.7305, allocations: 3.981 MB / 1.048 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01977/0.7503, allocations: 3.93 MB / 1.052 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03295/0.7833, allocations: 6.192 MB / 1.058 GB, free: 7.02 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.432e-06/0.7833, allocations: 0 / 1.058 GB, free: 7.02 MB / 0.8419 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.04185/0.8252, allocations: 8.021 MB / 1.065 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.8252, allocations: 4 kB / 1.065 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03732/0.8626, allocations: 7.287 MB / 1.073 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.8626, allocations: 4 kB / 1.073 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0145/0.8771, allocations: 1.916 MB / 1.074 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.8772, allocations: 4 kB / 1.074 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01333/0.8905, allocations: 1.495 MB / 1.076 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007205/0.8913, allocations: 203.5 kB / 1.076 GB, free: 4.066 MB / 0.8575 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.0008562/0.8921, allocations: 196.1 kB / 1.076 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005095/0.8927, allocations: 39.47 kB / 1.076 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4514/1.344, allocations: 6.69 MB / 1.083 GB, free: 134.3 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-05/1.344, allocations: 3.281 kB / 1.083 GB, free: 134.3 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/1.344, allocations: 0.5625 kB / 1.083 GB, free: 134.3 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/1.344, allocations: 6.078 kB / 1.083 GB, free: 134.3 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004429/1.349, allocations: 6.485 MB / 1.089 GB, free: 127.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02985/1.378, allocations: 5.628 MB / 1.095 GB, free: 126.5 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01256/1.391, allocations: 1.634 MB / 1.096 GB, free: 126.5 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-05/1.391, allocations: 1.094 kB / 1.096 GB, free: 126.5 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004961/1.392, allocations: 176.7 kB / 1.097 GB, free: 126.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/1.392, allocations: 1.344 kB / 1.097 GB, free: 126.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.392, allocations: 0 / 1.097 GB, free: 126.5 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02924/1.421, allocations: 5.774 MB / 1.102 GB, free: 125.4 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001263/1.422, allocations: 0.559 MB / 1.103 GB, free: 125.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004757/1.423, allocations: 5.875 kB / 1.103 GB, free: 125.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01141/1.434, allocations: 1.257 MB / 1.104 GB, free: 125 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002066/1.434, allocations: 41.23 kB / 1.104 GB, free: 125 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006931/1.435, allocations: 177.2 kB / 1.104 GB, free: 125 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002774/1.435, allocations: 237.3 kB / 1.104 GB, free: 124.9 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.435, allocations: 0 / 1.104 GB, free: 124.9 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002655/1.438, allocations: 0.5896 MB / 1.105 GB, free: 124.8 MB / 0.8575 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.0005396/1.439, allocations: 180.9 kB / 1.105 GB, free: 124.8 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.05043/1.489, allocations: 10.3 MB / 1.115 GB, free: 122.3 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/1.489, allocations: 1.125 kB / 1.115 GB, free: 122.3 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.01432/1.503, allocations: 2.905 MB / 1.118 GB, free: 121 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/1.504, allocations: 83.88 kB / 1.118 GB, free: 121 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01458/1.519, allocations: 3.273 MB / 1.121 GB, free: 119.5 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001823/1.519, allocations: 0.7872 MB / 1.122 GB, free: 118.8 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003175/1.522, allocations: 0.5564 MB / 1.123 GB, free: 118.4 MB / 0.8575 GB Notification: Performance of SimCode: time 1.072e-06/1.522, allocations: 4 kB / 1.123 GB, free: 118.4 MB / 0.8575 GB Notification: Performance of Templates: time 0.03881/1.561, allocations: 37.16 MB / 1.159 GB, free: 84.69 MB / 0.8575 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