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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,fileNamePrefix="Buildings_latest_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.009836/0.009835, allocations: 102.6 kB / 15.73 MB, free: 6.035 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.001946/0.001946, allocations: 193.1 kB / 16.67 MB, free: 5.973 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.587/1.587, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.807/2.807, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 67.91 kB / 1.054 GB, free: 7.664 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.358, allocations: 157.4 MB / 1.207 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.004727/0.3628, allocations: 2.85 MB / 1.21 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004827/0.3676, allocations: 2.947 MB / 1.213 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004455/0.3681, allocations: 4 kB / 1.213 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004194/0.3686, allocations: 87.48 kB / 1.213 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0008999/0.3695, allocations: 210.5 kB / 1.213 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002117/0.3717, allocations: 0.6163 MB / 1.214 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0009406/0.3726, allocations: 0.5329 MB / 1.214 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002847/0.3729, allocations: 110.7 kB / 1.214 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003853/0.3733, allocations: 199.3 kB / 1.215 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003413/0.3736, allocations: 219.1 kB / 1.215 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.996e-05/0.3737, allocations: 36 kB / 1.215 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00111/0.3749, allocations: 395.6 kB / 1.215 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.375, allocations: 87.69 kB / 1.215 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003216/0.3753, allocations: 215 kB / 1.216 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001679/0.377, allocations: 0.7362 MB / 1.216 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 1.018e-05/0.377, allocations: 0 / 1.216 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.264e-06/0.377, allocations: 3.938 kB / 1.216 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.233e-05/0.3771, allocations: 0 / 1.216 GB, free: 0.9102 MB / 0.9669 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.001666/0.3788, allocations: 0.7479 MB / 1.217 GB, free: 116 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/0.3788, allocations: 8.625 kB / 1.217 GB, free: 108 kB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.801e-05/0.3789, allocations: 62.72 kB / 1.217 GB, free: 36 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09397/0.4729, allocations: 12.21 MB / 1.229 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002156/0.4751, allocations: 0.9285 MB / 1.23 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.091e-05/0.4752, allocations: 20.94 kB / 1.23 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008335/0.476, allocations: 28.38 kB / 1.23 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01652/0.4926, allocations: 3.738 MB / 1.234 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.4926, allocations: 0 / 1.234 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004923/0.4931, allocations: 8 kB / 1.234 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/0.4932, allocations: 8 kB / 1.234 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0147/0.5079, allocations: 2.969 MB / 1.237 GB, free: 12.06 MB / 0.9981 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.7447/1.253, allocations: 17.14 MB / 1.253 GB, free: 31.16 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01511/1.268, allocations: 2.932 MB / 1.256 GB, free: 31.13 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01386/1.282, allocations: 2.797 MB / 1.259 GB, free: 31.12 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001439/1.282, allocations: 33.22 kB / 1.259 GB, free: 31.12 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/1.282, allocations: 38.31 kB / 1.259 GB, free: 31.08 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=22): time 3.917e-06/1.282, allocations: 3.844 kB / 1.259 GB, free: 31.08 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22): time 0.04698/1.329, allocations: 8.541 MB / 1.267 GB, free: 30.96 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/1.329, allocations: 57.69 kB / 1.267 GB, free: 30.89 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005379/1.33, allocations: 341.4 kB / 1.268 GB, free: 30.78 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006723/1.33, allocations: 31.48 kB / 1.268 GB, free: 30.75 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000295/1.331, allocations: 195.5 kB / 1.268 GB, free: 30.64 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005414/1.331, allocations: 82.62 kB / 1.268 GB, free: 30.61 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002537/1.334, allocations: 478.7 kB / 1.268 GB, free: 30.59 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001012/1.334, allocations: 348.7 kB / 1.269 GB, free: 30.27 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02034/1.354, allocations: 3.892 MB / 1.273 GB, free: 30.14 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02037/1.375, allocations: 3.928 MB / 1.276 GB, free: 29.97 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0329/1.407, allocations: 6.208 MB / 1.282 GB, free: 28.66 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.919e-06/1.408, allocations: 5.297 kB / 1.282 GB, free: 28.66 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.04255/1.45, allocations: 8.032 MB / 1.29 GB, free: 26.99 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.558e-05/1.45, allocations: 5.438 kB / 1.29 GB, free: 26.99 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03837/1.489, allocations: 7.283 MB / 1.297 GB, free: 25.54 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.63e-05/1.489, allocations: 9.188 kB / 1.297 GB, free: 25.53 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01482/1.503, allocations: 1.909 MB / 1.299 GB, free: 25.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.213e-05/1.504, allocations: 5.125 kB / 1.299 GB, free: 25.44 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01318/1.517, allocations: 1.503 MB / 1.301 GB, free: 25.24 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001117/1.518, allocations: 210 kB / 1.301 GB, free: 25.11 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02001/1.538, allocations: 3.984 MB / 1.305 GB, free: 23.39 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01862/1.557, allocations: 3.936 MB / 1.309 GB, free: 21.73 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03018/1.587, allocations: 6.199 MB / 1.315 GB, free: 18.98 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.151e-06/1.587, allocations: 4 kB / 1.315 GB, free: 18.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.03777/1.625, allocations: 8.021 MB / 1.323 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/1.625, allocations: 5.562 kB / 1.323 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03331/1.658, allocations: 7.274 MB / 1.33 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/1.658, allocations: 3.938 kB / 1.33 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01442/1.673, allocations: 1.916 MB / 1.332 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.54e-05/1.673, allocations: 4 kB / 1.332 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0127/1.685, allocations: 1.491 MB / 1.333 GB, free: 252 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001084/1.686, allocations: 207.5 kB / 1.333 GB, free: 44 kB / 0.9981 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.001286/1.688, allocations: 196.2 kB / 1.333 GB, free: 15.84 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007139/1.688, allocations: 39.98 kB / 1.333 GB, free: 15.8 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03171/1.72, allocations: 6.685 MB / 1.34 GB, free: 9.152 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.758e-05/1.72, allocations: 8 kB / 1.34 GB, free: 9.145 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/1.72, allocations: 0.9375 kB / 1.34 GB, free: 9.145 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/1.72, allocations: 0 / 1.34 GB, free: 9.145 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005978/1.726, allocations: 6.489 MB / 1.346 GB, free: 1.172 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02909/1.755, allocations: 5.634 MB / 1.352 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01282/1.768, allocations: 1.629 MB / 1.353 GB, free: 9.898 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.908e-05/1.768, allocations: 7.938 kB / 1.353 GB, free: 9.891 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000744/1.769, allocations: 175.5 kB / 1.354 GB, free: 9.719 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.929e-06/1.769, allocations: 0.875 kB / 1.354 GB, free: 9.719 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/1.769, allocations: 0 / 1.354 GB, free: 9.719 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02933/1.799, allocations: 5.767 MB / 1.359 GB, free: 3.93 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001523/1.8, allocations: 0.5623 MB / 1.36 GB, free: 3.348 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007325/1.801, allocations: 7.938 kB / 1.36 GB, free: 3.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01103/1.812, allocations: 1.257 MB / 1.361 GB, free: 2.082 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002363/1.812, allocations: 44.8 kB / 1.361 GB, free: 2.039 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008227/1.813, allocations: 175.2 kB / 1.361 GB, free: 1.871 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003625/1.813, allocations: 239.2 kB / 1.361 GB, free: 1.641 MB / 1.029 GB Notification: Performance of sort global known variables: time 4.51e-07/1.813, allocations: 0 / 1.361 GB, free: 1.641 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.003389/1.817, allocations: 0.5884 MB / 1.362 GB, free: 1.059 MB / 1.029 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.0299/1.847, allocations: 6.391 MB / 1.368 GB, free: 10.65 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.04989/1.897, allocations: 10.29 MB / 1.378 GB, free: 364 kB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 9.318e-06/1.897, allocations: 0 / 1.378 GB, free: 364 kB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.01459/1.911, allocations: 2.903 MB / 1.381 GB, free: 13.45 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001777/1.913, allocations: 76.88 kB / 1.381 GB, free: 13.38 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.111/2.024, allocations: 24.56 MB / 1.405 GB, free: 4.734 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004424/2.025, allocations: 0.8 MB / 1.406 GB, free: 3.91 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.009173/2.034, allocations: 1.639 MB / 1.408 GB, free: 2.27 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003254/2.037, allocations: 0.5997 MB / 1.408 GB, free: 1.668 MB / 1.076 GB Notification: Performance of SimCode: time 1.202e-06/2.037, allocations: 0 / 1.408 GB, free: 1.668 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1667/2.204, allocations: 89.9 MB / 1.496 GB, free: 7.664 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.12/17.33, allocations: 6.312 kB / 1.496 GB, free: 7.66 MB / 1.17 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection.fmu > 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/jenkins1/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