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.006047/0.006054, allocations: 102.6 kB / 15.73 MB, free: 6.492 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.001273, allocations: 190.6 kB / 16.67 MB, free: 6.379 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.458/1.458, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.948/2.948, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 71.83 kB / 1.054 GB, free: 7.594 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.383, allocations: 157.4 MB / 1.207 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.005011/0.3881, allocations: 2.837 MB / 1.21 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005091/0.3932, allocations: 2.956 MB / 1.213 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003531/0.3936, allocations: 4 kB / 1.213 GB, free: 4.266 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004032/0.3941, allocations: 79.42 kB / 1.213 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0008317/0.3949, allocations: 206.5 kB / 1.213 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002126/0.3971, allocations: 0.6215 MB / 1.214 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0009716/0.3981, allocations: 0.5407 MB / 1.214 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002748/0.3983, allocations: 110.7 kB / 1.214 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003956/0.3987, allocations: 199.3 kB / 1.215 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003521/0.3991, allocations: 215.1 kB / 1.215 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000106/0.3992, allocations: 44 kB / 1.215 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001081/0.4003, allocations: 387.6 kB / 1.215 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.4005, allocations: 95.67 kB / 1.215 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002692/0.4007, allocations: 211 kB / 1.216 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001307/0.402, allocations: 0.7284 MB / 1.216 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.4021, allocations: 0 / 1.216 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.204e-06/0.4021, allocations: 0 / 1.216 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.042e-05/0.4021, allocations: 3.984 kB / 1.216 GB, free: 0.8438 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.001504/0.4036, allocations: 0.7556 MB / 1.217 GB, free: 40 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.599e-05/0.4037, allocations: 8.625 kB / 1.217 GB, free: 32 kB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.032e-05/0.4038, allocations: 66.72 kB / 1.217 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1003/0.504, allocations: 12.21 MB / 1.229 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002526/0.5066, allocations: 0.9285 MB / 1.23 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.01e-05/0.5067, allocations: 24.94 kB / 1.23 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008794/0.5076, allocations: 28.38 kB / 1.23 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01702/0.5246, allocations: 3.734 MB / 1.234 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.5247, allocations: 0 / 1.234 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000345/0.525, allocations: 12 kB / 1.234 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.5251, allocations: 8 kB / 1.234 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01961/0.5447, allocations: 2.968 MB / 1.237 GB, free: 11.99 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.836/1.381, allocations: 17.13 MB / 1.253 GB, free: 30.87 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01535/1.396, allocations: 2.948 MB / 1.256 GB, free: 30.84 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01472/1.411, allocations: 2.787 MB / 1.259 GB, free: 30.84 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001139/1.411, allocations: 35.73 kB / 1.259 GB, free: 30.84 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/1.411, allocations: 42.02 kB / 1.259 GB, free: 30.79 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=22): time 3.727e-06/1.411, allocations: 0 / 1.259 GB, free: 30.79 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22): time 0.05209/1.463, allocations: 8.537 MB / 1.267 GB, free: 30.67 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.111e-05/1.463, allocations: 57.53 kB / 1.267 GB, free: 30.61 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005759/1.464, allocations: 343.3 kB / 1.268 GB, free: 30.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0008015/1.465, allocations: 28.39 kB / 1.268 GB, free: 30.46 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002591/1.465, allocations: 208 kB / 1.268 GB, free: 30.36 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004992/1.465, allocations: 72.86 kB / 1.268 GB, free: 30.32 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001817/1.467, allocations: 479.9 kB / 1.268 GB, free: 30.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001094/1.467, allocations: 340.7 kB / 1.269 GB, free: 29.98 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02187/1.489, allocations: 3.897 MB / 1.273 GB, free: 29.86 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02212/1.511, allocations: 3.929 MB / 1.276 GB, free: 29.67 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03678/1.548, allocations: 6.21 MB / 1.282 GB, free: 28.36 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.878e-06/1.548, allocations: 4 kB / 1.282 GB, free: 28.36 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0472/1.596, allocations: 8.027 MB / 1.29 GB, free: 26.69 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.135e-05/1.596, allocations: 4.875 kB / 1.29 GB, free: 26.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04258/1.638, allocations: 7.291 MB / 1.297 GB, free: 25.23 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.732e-05/1.638, allocations: 6.406 kB / 1.297 GB, free: 25.23 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01582/1.654, allocations: 1.918 MB / 1.299 GB, free: 25.14 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.957e-05/1.654, allocations: 1.5 kB / 1.299 GB, free: 25.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01424/1.668, allocations: 1.505 MB / 1.301 GB, free: 24.95 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001228/1.67, allocations: 204.5 kB / 1.301 GB, free: 24.82 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02198/1.692, allocations: 3.992 MB / 1.305 GB, free: 23.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02077/1.713, allocations: 3.927 MB / 1.309 GB, free: 21.44 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03409/1.747, allocations: 6.203 MB / 1.315 GB, free: 18.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.947e-06/1.747, allocations: 0 / 1.315 GB, free: 18.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.04336/1.79, allocations: 8.02 MB / 1.323 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/1.79, allocations: 4 kB / 1.323 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03777/1.828, allocations: 7.283 MB / 1.33 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/1.828, allocations: 7.938 kB / 1.33 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01523/1.843, allocations: 1.909 MB / 1.332 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.451e-05/1.843, allocations: 4 kB / 1.332 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01424/1.858, allocations: 1.499 MB / 1.333 GB, free: 15.95 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001249/1.859, allocations: 204.2 kB / 1.333 GB, free: 15.75 MB / 1.014 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.001298/1.86, allocations: 192.2 kB / 1.333 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006356/1.861, allocations: 39.47 kB / 1.333 GB, free: 15.52 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03425/1.895, allocations: 6.687 MB / 1.34 GB, free: 8.859 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-05/1.895, allocations: 0 / 1.34 GB, free: 8.859 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/1.895, allocations: 0 / 1.34 GB, free: 8.859 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/1.895, allocations: 7.984 kB / 1.34 GB, free: 8.852 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005668/1.901, allocations: 6.48 MB / 1.346 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.03189/1.933, allocations: 5.639 MB / 1.352 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01292/1.946, allocations: 1.631 MB / 1.353 GB, free: 9.605 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.888e-05/1.946, allocations: 7.938 kB / 1.353 GB, free: 9.598 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006863/1.947, allocations: 174.3 kB / 1.354 GB, free: 9.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.005e-06/1.947, allocations: 0 / 1.354 GB, free: 9.43 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/1.947, allocations: 0 / 1.354 GB, free: 9.43 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03075/1.977, allocations: 5.771 MB / 1.359 GB, free: 3.637 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001534/1.979, allocations: 0.5622 MB / 1.36 GB, free: 3.055 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000595/1.98, allocations: 7.938 kB / 1.36 GB, free: 3.047 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01188/1.991, allocations: 1.261 MB / 1.361 GB, free: 1.785 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002033/1.992, allocations: 35.92 kB / 1.361 GB, free: 1.75 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006733/1.992, allocations: 175.5 kB / 1.361 GB, free: 1.578 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002887/1.993, allocations: 243.2 kB / 1.361 GB, free: 1.344 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/1.993, allocations: 0 / 1.361 GB, free: 1.344 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.003071/1.996, allocations: 0.5884 MB / 1.362 GB, free: 0.7578 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.03208/2.028, allocations: 6.399 MB / 1.368 GB, free: 10.35 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.05403/2.082, allocations: 10.28 MB / 1.378 GB, free: 64 kB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/2.082, allocations: 0 / 1.378 GB, free: 64 kB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.01531/2.097, allocations: 2.907 MB / 1.381 GB, free: 13.15 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001368/2.099, allocations: 83.31 kB / 1.381 GB, free: 13.08 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1172/2.216, allocations: 24.56 MB / 1.405 GB, free: 4.441 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/2.216, allocations: 0.7962 MB / 1.406 GB, free: 3.621 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.008832/2.225, allocations: 1.638 MB / 1.408 GB, free: 1.98 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003105/2.228, allocations: 0.5919 MB / 1.408 GB, free: 1.387 MB / 1.076 GB Notification: Performance of SimCode: time 6.51e-07/2.228, allocations: 0 / 1.408 GB, free: 1.387 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1478/2.376, allocations: 89.9 MB / 1.496 GB, free: 7.379 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.69/18.06, allocations: 2.312 kB / 1.496 GB, free: 7.379 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