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.001064/0.001064, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.009486/0.009487, allocations: 172.4 kB / 16.27 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.378/1.378, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.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.344/2.344, allocations: 390.9 MB / 0.6663 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003655/0.0003655, allocations: 8 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6859/0.6863, allocations: 142.4 MB / 0.955 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.002664/0.689, allocations: 2.507 MB / 0.9575 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00355/0.6926, allocations: 2.917 MB / 0.9603 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002789/0.6929, allocations: 8.125 kB / 0.9603 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002671/0.6932, allocations: 59.31 kB / 0.9604 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0006283/0.6938, allocations: 186 kB / 0.9606 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001261/0.6951, allocations: 0.5219 MB / 0.9611 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005486/0.6956, allocations: 0.5072 MB / 0.9616 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/0.6958, allocations: 95.94 kB / 0.9617 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001635/0.696, allocations: 172.6 kB / 0.9618 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001846/0.6962, allocations: 201.4 kB / 0.962 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.497e-05/0.6962, allocations: 19.78 kB / 0.9621 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006236/0.6969, allocations: 370.1 kB / 0.9624 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.325e-05/0.6969, allocations: 78.83 kB / 0.9625 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001523/0.6971, allocations: 219.5 kB / 0.9627 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000667/0.6978, allocations: 0.7016 MB / 0.9634 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.6978, allocations: 0 / 0.9634 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6978, allocations: 0 / 0.9634 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.6978, allocations: 1.031 kB / 0.9634 GB, free: 1.516 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.0008109/0.6986, allocations: 0.6749 MB / 0.964 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.6987, allocations: 8.719 kB / 0.964 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09349/0.7922, allocations: 10.6 MB / 0.9744 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00206/0.7943, allocations: 0.9286 MB / 0.9753 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4e-05/0.7943, allocations: 20.94 kB / 0.9753 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008164/0.7951, allocations: 24.38 kB / 0.9753 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01661/0.8118, allocations: 3.57 MB / 0.9788 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.8118, allocations: 0 / 0.9788 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000351/0.8122, allocations: 8 kB / 0.9788 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.8122, allocations: 8 kB / 0.9788 GB, free: 6.836 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01495/0.8272, allocations: 2.808 MB / 0.9816 GB, free: 4.02 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.01616/0.8433, allocations: 17.16 MB / 0.9983 GB, free: 15.29 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01483/0.8582, allocations: 2.766 MB / 1.001 GB, free: 12.52 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0147/0.8729, allocations: 2.62 MB / 1.004 GB, free: 9.891 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001031/0.8731, allocations: 31.98 kB / 1.004 GB, free: 9.859 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.8731, allocations: 34.56 kB / 1.004 GB, free: 9.816 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=22): time 3.236e-06/0.8731, allocations: 0 / 1.004 GB, free: 9.816 MB / 0.7637 GB Notification: Performance of matching and sorting (n=22): time 0.04626/0.9194, allocations: 8.047 MB / 1.012 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.9195, allocations: 55.41 kB / 1.012 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004401/0.9199, allocations: 333.7 kB / 1.012 GB, free: 1.359 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0006716/0.9206, allocations: 33.7 kB / 1.012 GB, free: 1.32 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002916/0.9209, allocations: 196.3 kB / 1.012 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004948/0.9214, allocations: 78.91 kB / 1.012 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005882/0.922, allocations: 33.7 kB / 1.012 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.9222, allocations: 342.8 kB / 1.013 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02082/0.943, allocations: 3.642 MB / 1.016 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02077/0.9638, allocations: 3.682 MB / 1.02 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0348/0.9986, allocations: 5.794 MB / 1.025 GB, free: 3.523 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.9987, allocations: 0 / 1.025 GB, free: 3.523 MB / 0.7794 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.04432/1.043, allocations: 7.531 MB / 1.033 GB, free: 11.98 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 8.217e-05/1.043, allocations: 106.5 kB / 1.033 GB, free: 11.87 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03789/1.081, allocations: 6.846 MB / 1.04 GB, free: 5.016 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.941e-05/1.081, allocations: 7.938 kB / 1.04 GB, free: 5.008 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01513/1.096, allocations: 1.693 MB / 1.041 GB, free: 3.312 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.916e-05/1.096, allocations: 4 kB / 1.041 GB, free: 3.309 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01407/1.11, allocations: 1.295 MB / 1.042 GB, free: 2.012 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009564/1.111, allocations: 203.5 kB / 1.043 GB, free: 1.812 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/1.111, allocations: 4 kB / 1.043 GB, free: 1.809 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04378/1.155, allocations: 7.47 MB / 1.05 GB, free: 10.33 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03872/1.194, allocations: 6.846 MB / 1.057 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/1.194, allocations: 0 / 1.057 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01511/1.209, allocations: 1.689 MB / 1.058 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/1.209, allocations: 4 kB / 1.058 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01387/1.223, allocations: 1.28 MB / 1.06 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009126/1.224, allocations: 207.5 kB / 1.06 GB, free: 308 kB / 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.001189/1.225, allocations: 229 kB / 1.06 GB, free: 68 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004496/1.226, allocations: 39.47 kB / 1.06 GB, free: 28 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0339/1.26, allocations: 6.347 MB / 1.066 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/1.26, allocations: 0 / 1.066 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/1.26, allocations: 0 / 1.066 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/1.26, allocations: 4 kB / 1.066 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006084/1.266, allocations: 6.48 MB / 1.072 GB, free: 1.688 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.03001/1.296, allocations: 5.29 MB / 1.078 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01276/1.309, allocations: 1.455 MB / 1.079 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.969e-06/1.309, allocations: 0 / 1.079 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005574/1.309, allocations: 171.5 kB / 1.079 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.214e-06/1.309, allocations: 8 kB / 1.079 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/1.309, allocations: 3.984 kB / 1.079 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02993/1.339, allocations: 5.436 MB / 1.085 GB, free: 5.293 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001178/1.34, allocations: 0.5661 MB / 1.085 GB, free: 4.707 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005114/1.341, allocations: 4 kB / 1.085 GB, free: 4.703 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01186/1.353, allocations: 1.081 MB / 1.086 GB, free: 3.621 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001875/1.353, allocations: 39.91 kB / 1.086 GB, free: 3.582 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006646/1.354, allocations: 175.5 kB / 1.086 GB, free: 3.41 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002894/1.354, allocations: 243.2 kB / 1.087 GB, free: 3.176 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.5e-07/1.354, allocations: 0 / 1.087 GB, free: 3.176 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.003141/1.357, allocations: 0.5895 MB / 1.087 GB, free: 2.586 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.0009942/1.358, allocations: 175 kB / 1.087 GB, free: 2.406 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.05239/1.411, allocations: 9.667 MB / 1.097 GB, free: 8.73 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/1.411, allocations: 0 / 1.097 GB, free: 8.73 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0147/1.425, allocations: 2.739 MB / 1.099 GB, free: 5.988 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001362/1.427, allocations: 81.34 kB / 1.1 GB, free: 5.91 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01539/1.442, allocations: 3.232 MB / 1.103 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/1.443, allocations: 0.7962 MB / 1.103 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.01195/1.454, allocations: 1.642 MB / 1.105 GB, free: 184 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003012/1.458, allocations: 0.4982 MB / 1.106 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of SimCode: time 7.91e-07/1.458, allocations: 0 / 1.106 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of Templates: time 0.1261/1.584, allocations: 80.32 MB / 1.184 GB, free: 15.12 MB / 0.9512 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/jenkins/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