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: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005253/0.005253, allocations: 102.4 kB / 15.73 MB, free: 6.008 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.001272/0.001272, allocations: 198.5 kB / 16.68 MB, free: 5.93 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.268/1.268, allocations: 222.9 MB / 240.4 MB, free: 15.1 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.124/2.124, allocations: 390.3 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 67.91 kB / 0.9504 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6245/0.6257, allocations: 140.4 MB / 1.087 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.003044/0.6288, allocations: 2.836 MB / 1.09 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003183/0.632, allocations: 2.96 MB / 1.093 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.6322, allocations: 3.5 kB / 1.093 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002156/0.6324, allocations: 78.05 kB / 1.093 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004231/0.6328, allocations: 217 kB / 1.093 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001126/0.6339, allocations: 0.604 MB / 1.094 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005293/0.6345, allocations: 0.5324 MB / 1.095 GB, free: 392 kB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001857/0.6347, allocations: 112.5 kB / 1.095 GB, free: 328 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001903/0.6349, allocations: 197.6 kB / 1.095 GB, free: 236 kB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000212/0.6351, allocations: 215.5 kB / 1.095 GB, free: 132 kB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.071e-05/0.6352, allocations: 37.44 kB / 1.095 GB, free: 132 kB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007447/0.6359, allocations: 395.4 kB / 1.095 GB, free: 44 kB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.801e-05/0.636, allocations: 94.33 kB / 1.096 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002127/0.6362, allocations: 214.3 kB / 1.096 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0009627/0.6372, allocations: 0.7394 MB / 1.096 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.6372, allocations: 0.5312 kB / 1.096 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6372, allocations: 0 / 1.096 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.6372, allocations: 0.5 kB / 1.096 GB, free: 15.56 MB / 0.8731 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.001096/0.6383, allocations: 0.7427 MB / 1.097 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.6384, allocations: 9.812 kB / 1.097 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.658e-05/0.6385, allocations: 61.34 kB / 1.097 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09985/0.7383, allocations: 12.21 MB / 1.109 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002234/0.7406, allocations: 0.9306 MB / 1.11 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/0.7406, allocations: 19.94 kB / 1.11 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005518/0.7412, allocations: 25.72 kB / 1.11 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01592/0.7571, allocations: 3.741 MB / 1.114 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.7571, allocations: 3.938 kB / 1.114 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000306/0.7575, allocations: 10.5 kB / 1.114 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.7575, allocations: 5.344 kB / 1.114 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01469/0.7722, allocations: 2.971 MB / 1.117 GB, free: 12.36 MB / 0.8731 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.01534/0.7875, allocations: 17.14 MB / 1.133 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01478/0.8023, allocations: 2.934 MB / 1.136 GB, free: 9.68 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01433/0.8167, allocations: 2.795 MB / 1.139 GB, free: 8.578 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.835e-05/0.8168, allocations: 31.2 kB / 1.139 GB, free: 8.566 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.8168, allocations: 32.69 kB / 1.139 GB, free: 8.527 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=22): time 2.185e-06/0.8168, allocations: 0 / 1.139 GB, free: 8.527 MB / 0.8887 GB Notification: Performance of matching and sorting (n=22): time 0.04455/0.8614, allocations: 8.55 MB / 1.147 GB, free: 4.832 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.8615, allocations: 57.75 kB / 1.148 GB, free: 4.766 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003899/0.8619, allocations: 336.5 kB / 1.148 GB, free: 4.551 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0005282/0.8624, allocations: 30.69 kB / 1.148 GB, free: 4.516 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000269/0.8627, allocations: 208.2 kB / 1.148 GB, free: 4.328 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003441/0.863, allocations: 75.34 kB / 1.148 GB, free: 4.262 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0015/0.8646, allocations: 477.4 kB / 1.149 GB, free: 3.949 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.8647, allocations: 342.2 kB / 1.149 GB, free: 3.613 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02017/0.8849, allocations: 3.894 MB / 1.153 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02014/0.905, allocations: 3.931 MB / 1.157 GB, free: 328 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03382/0.9389, allocations: 6.204 MB / 1.163 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.276e-06/0.9389, allocations: 11.94 kB / 1.163 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.04197/0.9809, allocations: 8.037 MB / 1.17 GB, free: 5.574 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.9809, allocations: 4 kB / 1.17 GB, free: 5.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03725/1.018, allocations: 7.287 MB / 1.178 GB, free: 14.27 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/1.018, allocations: 0 / 1.178 GB, free: 14.27 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0153/1.034, allocations: 1.919 MB / 1.179 GB, free: 12.35 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/1.034, allocations: 7.938 kB / 1.179 GB, free: 12.34 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01391/1.047, allocations: 1.502 MB / 1.181 GB, free: 10.84 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006672/1.048, allocations: 207.5 kB / 1.181 GB, free: 10.64 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02063/1.069, allocations: 3.995 MB / 1.185 GB, free: 6.637 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02004/1.089, allocations: 3.922 MB / 1.189 GB, free: 2.699 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03355/1.122, allocations: 6.199 MB / 1.195 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.408e-06/1.122, allocations: 3.938 kB / 1.195 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.04138/1.164, allocations: 8.025 MB / 1.203 GB, free: 4.449 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/1.164, allocations: 8 kB / 1.203 GB, free: 4.441 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0363/1.2, allocations: 7.271 MB / 1.21 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.085e-06/1.2, allocations: 4 kB / 1.21 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01479/1.215, allocations: 1.916 MB / 1.212 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/1.215, allocations: 0 / 1.212 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01365/1.229, allocations: 1.495 MB / 1.213 GB, free: 9.746 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000644/1.229, allocations: 207.5 kB / 1.213 GB, free: 9.543 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.0009944/1.23, allocations: 188.1 kB / 1.214 GB, free: 9.352 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005887/1.231, allocations: 39.52 kB / 1.214 GB, free: 9.312 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03193/1.263, allocations: 6.704 MB / 1.22 GB, free: 2.59 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/1.263, allocations: 4 kB / 1.22 GB, free: 2.586 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/1.263, allocations: 0 / 1.22 GB, free: 2.586 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/1.263, allocations: 0 / 1.22 GB, free: 2.586 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004921/1.268, allocations: 6.48 MB / 1.227 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0292/1.297, allocations: 5.634 MB / 1.232 GB, free: 4.969 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01267/1.31, allocations: 1.627 MB / 1.234 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.06e-05/1.31, allocations: 4 kB / 1.234 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003792/1.31, allocations: 171.5 kB / 1.234 GB, free: 3.168 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/1.31, allocations: 0 / 1.234 GB, free: 3.168 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/1.31, allocations: 7.938 kB / 1.234 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02953/1.34, allocations: 5.787 MB / 1.239 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001185/1.341, allocations: 0.5544 MB / 1.24 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000414/1.341, allocations: 4 kB / 1.24 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01173/1.353, allocations: 1.257 MB / 1.241 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/1.353, allocations: 43.91 kB / 1.241 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004421/1.354, allocations: 171.6 kB / 1.241 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002449/1.354, allocations: 239.2 kB / 1.242 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.2e-07/1.354, allocations: 0 / 1.242 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002656/1.357, allocations: 0.5934 MB / 1.242 GB, free: 10.48 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.03053/1.387, allocations: 6.382 MB / 1.248 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.05178/1.439, allocations: 10.28 MB / 1.258 GB, free: 9.77 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/1.439, allocations: 3.938 kB / 1.258 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.01499/1.454, allocations: 2.915 MB / 1.261 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/1.455, allocations: 79.22 kB / 1.261 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1122/1.567, allocations: 24.57 MB / 1.285 GB, free: 14.11 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/1.568, allocations: 0.7923 MB / 1.286 GB, free: 13.29 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.008331/1.576, allocations: 1.638 MB / 1.288 GB, free: 11.64 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002904/1.579, allocations: 0.5919 MB / 1.288 GB, free: 11.05 MB / 1.029 GB Notification: Performance of SimCode: time 5.21e-07/1.579, allocations: 3.938 kB / 1.288 GB, free: 11.05 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1267/1.706, allocations: 88.25 MB / 1.375 GB, free: 2.645 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.26/15.96, allocations: 19.61 kB / 1.375 GB, free: 2.625 MB / 1.107 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection_res.csv","/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