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.001517/0.001517, 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.001526/0.001526, allocations: 194.6 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.447/1.447, allocations: 222.9 MB / 240.2 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.851/2.851, allocations: 472.6 MB / 0.7451 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 63.86 kB / 0.9121 GB, free: 33.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3535, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.003837/0.3574, allocations: 2.838 MB / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003717/0.3611, allocations: 2.96 MB / 1.074 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.3612, allocations: 4 kB / 1.074 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002223/0.3615, allocations: 79.55 kB / 1.074 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004476/0.3619, allocations: 206.5 kB / 1.074 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.3631, allocations: 0.6066 MB / 1.075 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005099/0.3636, allocations: 0.5329 MB / 1.075 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001918/0.3638, allocations: 110.6 kB / 1.075 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001715/0.364, allocations: 187.4 kB / 1.076 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/0.3642, allocations: 223 kB / 1.076 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.586e-05/0.3643, allocations: 36 kB / 1.076 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006576/0.3649, allocations: 399.7 kB / 1.076 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.365e-05/0.365, allocations: 95.61 kB / 1.076 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001831/0.3652, allocations: 211 kB / 1.076 GB, free: 1.918 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007874/0.366, allocations: 0.7245 MB / 1.077 GB, free: 1.191 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.366, allocations: 0 / 1.077 GB, free: 1.191 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.01e-07/0.366, allocations: 0 / 1.077 GB, free: 1.191 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.366, allocations: 4 kB / 1.077 GB, free: 1.188 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.00103/0.3671, allocations: 0.7478 MB / 1.078 GB, free: 400 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.3671, allocations: 12.03 kB / 1.078 GB, free: 388 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0974/0.4645, allocations: 12.21 MB / 1.09 GB, free: 4.16 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001983/0.4665, allocations: 0.9247 MB / 1.091 GB, free: 3.191 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.202e-05/0.4666, allocations: 16.94 kB / 1.091 GB, free: 3.172 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000679/0.4673, allocations: 32.31 kB / 1.091 GB, free: 3.141 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0159/0.4832, allocations: 3.746 MB / 1.094 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.4832, allocations: 0 / 1.094 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002989/0.4835, allocations: 8 kB / 1.094 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.4836, allocations: 8 kB / 1.094 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01458/0.4981, allocations: 2.961 MB / 1.097 GB, free: 12.41 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.01533/0.5135, allocations: 17.16 MB / 1.114 GB, free: 7.672 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01446/0.528, allocations: 2.93 MB / 1.117 GB, free: 4.73 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.014/0.542, allocations: 2.795 MB / 1.12 GB, free: 1.93 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001101/0.5422, allocations: 35.92 kB / 1.12 GB, free: 1.895 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.5422, allocations: 34.56 kB / 1.12 GB, free: 1.852 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=22): time 4.428e-06/0.5422, allocations: 3.984 kB / 1.12 GB, free: 1.848 MB / 0.8731 GB Notification: Performance of matching and sorting (n=22): time 0.04422/0.5864, allocations: 8.556 MB / 1.128 GB, free: 9.285 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.5865, allocations: 55.41 kB / 1.128 GB, free: 9.219 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004046/0.5869, allocations: 341.7 kB / 1.129 GB, free: 8.879 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0005749/0.5875, allocations: 37.7 kB / 1.129 GB, free: 8.836 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002382/0.5877, allocations: 192.5 kB / 1.129 GB, free: 8.645 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000336/0.5881, allocations: 78.84 kB / 1.129 GB, free: 8.566 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001274/0.5894, allocations: 480.9 kB / 1.129 GB, free: 8.09 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.5895, allocations: 346.8 kB / 1.13 GB, free: 7.742 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01974/0.6093, allocations: 3.893 MB / 1.133 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02035/0.6297, allocations: 3.929 MB / 1.137 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03347/0.6632, allocations: 6.211 MB / 1.143 GB, free: 9.684 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.6632, allocations: 0 / 1.143 GB, free: 9.684 MB / 0.9044 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.04217/0.7054, allocations: 8.037 MB / 1.151 GB, free: 1.633 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.7055, allocations: 4 kB / 1.151 GB, free: 1.629 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0377/0.7432, allocations: 7.295 MB / 1.158 GB, free: 10.32 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.933e-05/0.7433, allocations: 0 / 1.158 GB, free: 10.32 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01472/0.758, allocations: 1.912 MB / 1.16 GB, free: 8.41 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.501e-05/0.7581, allocations: 0 / 1.16 GB, free: 8.41 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01347/0.7715, allocations: 1.51 MB / 1.162 GB, free: 6.898 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008029/0.7724, allocations: 203.5 kB / 1.162 GB, free: 6.699 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02012/0.7925, allocations: 3.991 MB / 1.166 GB, free: 2.703 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01964/0.8122, allocations: 3.931 MB / 1.17 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03353/0.8458, allocations: 6.192 MB / 1.176 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.863e-06/0.8458, allocations: 4 kB / 1.176 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.04254/0.8884, allocations: 8.025 MB / 1.183 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.8884, allocations: 4 kB / 1.183 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03733/0.9258, allocations: 7.28 MB / 1.191 GB, free: 9.223 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.9258, allocations: 0 / 1.191 GB, free: 9.223 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01455/0.9404, allocations: 1.916 MB / 1.192 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.9404, allocations: 0 / 1.192 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01331/0.9538, allocations: 1.502 MB / 1.194 GB, free: 5.801 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008473/0.9546, allocations: 207.5 kB / 1.194 GB, free: 5.598 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.001046/0.9557, allocations: 196.1 kB / 1.194 GB, free: 5.398 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005607/0.9563, allocations: 31.62 kB / 1.194 GB, free: 5.367 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03197/0.9883, allocations: 6.7 MB / 1.201 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/0.9883, allocations: 4 kB / 1.201 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.9883, allocations: 3.938 kB / 1.201 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.9883, allocations: 4 kB / 1.201 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005533/0.9939, allocations: 6.491 MB / 1.207 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02906/1.023, allocations: 5.629 MB / 1.213 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01236/1.035, allocations: 1.627 MB / 1.214 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-05/1.035, allocations: 3.938 kB / 1.214 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005819/1.036, allocations: 175.5 kB / 1.214 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.655e-06/1.036, allocations: 4 kB / 1.214 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.036, allocations: 0 / 1.214 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02943/1.065, allocations: 5.775 MB / 1.22 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001265/1.067, allocations: 0.5661 MB / 1.221 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006004/1.067, allocations: 4 kB / 1.221 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0113/1.079, allocations: 1.257 MB / 1.222 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002071/1.079, allocations: 39.91 kB / 1.222 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006132/1.08, allocations: 175.5 kB / 1.222 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003401/1.08, allocations: 239.2 kB / 1.222 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.51e-07/1.08, allocations: 0 / 1.222 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.003204/1.083, allocations: 0.5856 MB / 1.223 GB, free: 6.539 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.0006917/1.084, allocations: 175.6 kB / 1.223 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.05266/1.137, allocations: 10.3 MB / 1.233 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.742e-06/1.137, allocations: 0 / 1.233 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0148/1.151, allocations: 2.907 MB / 1.236 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00132/1.153, allocations: 97.27 kB / 1.236 GB, free: 9.043 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01514/1.168, allocations: 3.231 MB / 1.239 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004177/1.168, allocations: 0.7962 MB / 1.24 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.01272/1.181, allocations: 1.657 MB / 1.242 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003009/1.184, allocations: 0.5021 MB / 1.242 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of SimCode: time 2.004e-06/1.184, allocations: 0 / 1.242 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of Templates: time 0.6111/1.795, allocations: 84.8 MB / 1.325 GB, free: 128.8 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