Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.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_latest_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_latest_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.00129/0.001291, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00145/0.00145, allocations: 195 kB / 16.14 MB, free: 6.648 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.502/1.502, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.924/2.924, allocations: 472.7 MB / 0.7447 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 62 kB / 0.9114 GB, free: 33.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4506/0.4526, allocations: 159.9 MB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.004867/0.4575, allocations: 2.882 MB / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004874/0.4624, allocations: 2.964 MB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001271/0.4625, allocations: 4 kB / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003239/0.4629, allocations: 67.8 kB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004844/0.4634, allocations: 190.2 kB / 1.074 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001273/0.4646, allocations: 0.5102 MB / 1.074 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005962/0.4652, allocations: 0.5172 MB / 1.075 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001957/0.4654, allocations: 101 kB / 1.075 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002231/0.4657, allocations: 171.4 kB / 1.075 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003094/0.466, allocations: 207.1 kB / 1.075 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.759e-05/0.466, allocations: 24 kB / 1.075 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001001/0.4671, allocations: 383.6 kB / 1.075 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.438e-05/0.4671, allocations: 75.67 kB / 1.075 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002792/0.4674, allocations: 199 kB / 1.076 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008268/0.4683, allocations: 0.7127 MB / 1.076 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.4683, allocations: 0 / 1.076 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.122e-06/0.4683, allocations: 0 / 1.076 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.4683, allocations: 0 / 1.076 GB, free: 1.836 MB / 0.8262 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.001511/0.4698, allocations: 0.7557 MB / 1.077 GB, free: 1.027 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.4699, allocations: 8.031 kB / 1.077 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09654/0.5664, allocations: 12.21 MB / 1.089 GB, free: 4.801 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001969/0.5684, allocations: 0.9208 MB / 1.09 GB, free: 3.84 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.165e-05/0.5685, allocations: 20.94 kB / 1.09 GB, free: 3.82 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007517/0.5692, allocations: 32.38 kB / 1.09 GB, free: 3.789 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01602/0.5853, allocations: 3.738 MB / 1.094 GB, free: 44 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.5853, allocations: 0 / 1.094 GB, free: 44 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000361/0.5857, allocations: 12 kB / 1.094 GB, free: 32 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/0.5857, allocations: 8 kB / 1.094 GB, free: 24 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01437/0.6001, allocations: 2.965 MB / 1.097 GB, free: 13.05 MB / 0.8575 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.01638/0.6165, allocations: 17.16 MB / 1.113 GB, free: 8.324 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01434/0.6309, allocations: 2.934 MB / 1.116 GB, free: 5.379 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01395/0.6449, allocations: 2.784 MB / 1.119 GB, free: 2.59 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001181/0.645, allocations: 39.91 kB / 1.119 GB, free: 2.551 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.645, allocations: 42.5 kB / 1.119 GB, free: 2.5 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=22): time 2.324e-06/0.645, allocations: 3.938 kB / 1.119 GB, free: 2.496 MB / 0.8731 GB Notification: Performance of matching and sorting (n=22): time 0.04416/0.6892, allocations: 8.547 MB / 1.127 GB, free: 9.938 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.902e-05/0.6893, allocations: 55.39 kB / 1.127 GB, free: 9.871 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004003/0.6897, allocations: 341.7 kB / 1.128 GB, free: 9.535 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0005926/0.6903, allocations: 29.7 kB / 1.128 GB, free: 9.5 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002805/0.6906, allocations: 196.5 kB / 1.128 GB, free: 9.305 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004486/0.6911, allocations: 74.84 kB / 1.128 GB, free: 9.23 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001634/0.6927, allocations: 480.9 kB / 1.128 GB, free: 8.754 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.6929, allocations: 346.8 kB / 1.129 GB, free: 8.406 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01957/0.7124, allocations: 3.9 MB / 1.133 GB, free: 4.5 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01932/0.7318, allocations: 3.929 MB / 1.136 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03181/0.7636, allocations: 6.208 MB / 1.142 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.7637, allocations: 0 / 1.142 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.04226/0.8059, allocations: 8.03 MB / 1.15 GB, free: 2.301 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/0.806, allocations: 4 kB / 1.15 GB, free: 2.297 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03872/0.8447, allocations: 7.299 MB / 1.157 GB, free: 10.99 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.03e-05/0.8448, allocations: 4 kB / 1.157 GB, free: 10.98 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0217/0.8665, allocations: 1.916 MB / 1.159 GB, free: 9.066 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.28e-05/0.8666, allocations: 4 kB / 1.159 GB, free: 9.062 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01921/0.8858, allocations: 1.51 MB / 1.161 GB, free: 7.551 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001297/0.8871, allocations: 203.5 kB / 1.161 GB, free: 7.352 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02491/0.912, allocations: 3.991 MB / 1.165 GB, free: 3.355 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01945/0.9315, allocations: 3.922 MB / 1.169 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03249/0.9641, allocations: 6.192 MB / 1.175 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.05e-06/0.9641, allocations: 0 / 1.175 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.04094/1.005, allocations: 8.033 MB / 1.183 GB, free: 1.172 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.578e-05/1.005, allocations: 4 kB / 1.183 GB, free: 1.168 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03618/1.041, allocations: 7.276 MB / 1.19 GB, free: 9.887 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/1.041, allocations: 4 kB / 1.19 GB, free: 9.883 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01466/1.056, allocations: 1.912 MB / 1.192 GB, free: 7.969 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/1.056, allocations: 8 kB / 1.192 GB, free: 7.961 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01334/1.069, allocations: 1.502 MB / 1.193 GB, free: 6.457 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007675/1.07, allocations: 203.5 kB / 1.193 GB, free: 6.258 MB / 0.9512 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.001111/1.071, allocations: 200.1 kB / 1.193 GB, free: 6.055 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006668/1.072, allocations: 31.62 kB / 1.193 GB, free: 6.023 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0331/1.105, allocations: 6.703 MB / 1.2 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-05/1.105, allocations: 4 kB / 1.2 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/1.105, allocations: 0 / 1.2 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/1.105, allocations: 0 / 1.2 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006288/1.112, allocations: 6.495 MB / 1.206 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02998/1.142, allocations: 5.625 MB / 1.212 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01247/1.154, allocations: 1.631 MB / 1.213 GB, free: 40 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-05/1.154, allocations: 3.938 kB / 1.213 GB, free: 36 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006482/1.155, allocations: 175.5 kB / 1.214 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.145e-06/1.155, allocations: 0 / 1.214 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.155, allocations: 0 / 1.214 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03009/1.185, allocations: 5.783 MB / 1.219 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001331/1.186, allocations: 0.5622 MB / 1.22 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006892/1.187, allocations: 8 kB / 1.22 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01138/1.198, allocations: 1.257 MB / 1.221 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002572/1.199, allocations: 43.84 kB / 1.221 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008318/1.2, allocations: 175.5 kB / 1.221 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003432/1.2, allocations: 239.2 kB / 1.221 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.91e-07/1.2, allocations: 0 / 1.221 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.003458/1.203, allocations: 0.5895 MB / 1.222 GB, free: 7.176 MB / 0.9825 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.0008098/1.204, allocations: 175 kB / 1.222 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.05297/1.257, allocations: 10.28 MB / 1.232 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.814e-06/1.257, allocations: 3.938 kB / 1.232 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.01581/1.273, allocations: 2.903 MB / 1.235 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002401/1.276, allocations: 91.77 kB / 1.235 GB, free: 9.699 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01569/1.291, allocations: 3.354 MB / 1.238 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004289/1.292, allocations: 0.8001 MB / 1.239 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.01238/1.304, allocations: 1.649 MB / 1.241 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003257/1.307, allocations: 0.4943 MB / 1.241 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of SimCode: time 1.543e-06/1.308, allocations: 0 / 1.241 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of Templates: time 0.6335/1.941, allocations: 82.59 MB / 1.322 GB, free: 132 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches