Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,fileNamePrefix="Buildings_10_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.0009449/0.0009449, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.007327/0.007327, allocations: 170 kB / 16.26 MB, free: 6.613 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.375/1.375, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.429/2.429, allocations: 437.8 MB / 0.7121 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003541/0.000354, allocations: 12 kB / 0.873 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6455/0.6459, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.002983/0.6489, allocations: 2.516 MB / 1.026 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004091/0.653, allocations: 2.914 MB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002204/0.6533, allocations: 4 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002709/0.6536, allocations: 69.83 kB / 1.029 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0006188/0.6542, allocations: 182.9 kB / 1.029 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.6556, allocations: 0.518 MB / 1.029 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006484/0.6562, allocations: 0.5094 MB / 1.03 GB, free: 9.102 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000192/0.6564, allocations: 98.59 kB / 1.03 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002482/0.6567, allocations: 167.4 kB / 1.03 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002377/0.6569, allocations: 199.1 kB / 1.03 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.208e-05/0.657, allocations: 20 kB / 1.03 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007459/0.6577, allocations: 375.6 kB / 1.031 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.013e-05/0.6578, allocations: 71.69 kB / 1.031 GB, free: 8.18 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002048/0.658, allocations: 212.7 kB / 1.031 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009347/0.659, allocations: 0.7048 MB / 1.031 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.659, allocations: 4 kB / 1.031 GB, free: 7.254 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.543e-06/0.659, allocations: 0 / 1.031 GB, free: 7.254 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.659, allocations: 0 / 1.031 GB, free: 7.254 MB / 0.7794 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.001045/0.6601, allocations: 0.6755 MB / 1.032 GB, free: 6.531 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.6601, allocations: 15.97 kB / 1.032 GB, free: 6.516 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.853e-05/0.6602, allocations: 58.73 kB / 1.032 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09955/0.7597, allocations: 10.59 MB / 1.043 GB, free: 11.85 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002078/0.7619, allocations: 0.9324 MB / 1.043 GB, free: 10.88 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.921e-05/0.7619, allocations: 24.94 kB / 1.043 GB, free: 10.86 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005785/0.7625, allocations: 24.38 kB / 1.043 GB, free: 10.83 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01604/0.7785, allocations: 3.566 MB / 1.047 GB, free: 7.258 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.7786, allocations: 0 / 1.047 GB, free: 7.258 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002945/0.7789, allocations: 8 kB / 1.047 GB, free: 7.25 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.7789, allocations: 8 kB / 1.047 GB, free: 7.242 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01484/0.7938, allocations: 2.801 MB / 1.05 GB, free: 4.438 MB / 0.795 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.01449/0.8083, allocations: 17.15 MB / 1.066 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01444/0.8227, allocations: 2.77 MB / 1.069 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01432/0.8371, allocations: 2.616 MB / 1.072 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001181/0.8373, allocations: 39.92 kB / 1.072 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.8373, allocations: 38.56 kB / 1.072 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 2.274e-06/0.8373, allocations: 0 / 1.072 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22): time 0.04462/0.8819, allocations: 8.04 MB / 1.08 GB, free: 2.176 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/0.882, allocations: 55.41 kB / 1.08 GB, free: 2.109 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004162/0.8825, allocations: 341.6 kB / 1.08 GB, free: 1.77 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0005732/0.883, allocations: 29.7 kB / 1.08 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002433/0.8833, allocations: 196.4 kB / 1.08 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003333/0.8836, allocations: 70.91 kB / 1.08 GB, free: 1.465 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00047/0.8841, allocations: 37.7 kB / 1.08 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.8843, allocations: 346.7 kB / 1.081 GB, free: 1.074 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02096/0.9052, allocations: 3.642 MB / 1.084 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02063/0.9259, allocations: 3.69 MB / 1.088 GB, free: 9.727 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03354/0.9595, allocations: 5.794 MB / 1.094 GB, free: 3.926 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.9595, allocations: 0 / 1.094 GB, free: 3.926 MB / 0.8419 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.04162/1.001, allocations: 7.531 MB / 1.101 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.567e-05/1.001, allocations: 96.98 kB / 1.101 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03719/1.038, allocations: 6.861 MB / 1.108 GB, free: 5.41 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.409e-05/1.039, allocations: 0 / 1.108 GB, free: 5.41 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01479/1.053, allocations: 1.693 MB / 1.109 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/1.053, allocations: 0 / 1.109 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01392/1.067, allocations: 1.291 MB / 1.111 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006133/1.068, allocations: 215.4 kB / 1.111 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/1.068, allocations: 4 kB / 1.111 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04225/1.11, allocations: 7.47 MB / 1.118 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03759/1.148, allocations: 6.842 MB / 1.125 GB, free: 3.883 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/1.148, allocations: 0 / 1.125 GB, free: 3.883 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01484/1.163, allocations: 1.697 MB / 1.126 GB, free: 2.184 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/1.163, allocations: 3.938 kB / 1.126 GB, free: 2.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01396/1.177, allocations: 1.284 MB / 1.128 GB, free: 0.8945 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006333/1.177, allocations: 203.5 kB / 1.128 GB, free: 0.6953 MB / 0.8731 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.0008596/1.178, allocations: 217.5 kB / 1.128 GB, free: 484 kB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003515/1.179, allocations: 43.47 kB / 1.128 GB, free: 440 kB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03329/1.212, allocations: 6.34 MB / 1.134 GB, free: 10.08 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/1.212, allocations: 4 kB / 1.134 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/1.212, allocations: 4 kB / 1.134 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/1.212, allocations: 3.984 kB / 1.134 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005303/1.217, allocations: 6.484 MB / 1.141 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.03011/1.247, allocations: 5.286 MB / 1.146 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01281/1.26, allocations: 1.455 MB / 1.147 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-05/1.26, allocations: 11.88 kB / 1.147 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005509/1.261, allocations: 171.5 kB / 1.147 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/1.261, allocations: 0 / 1.147 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/1.261, allocations: 4 kB / 1.147 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0299/1.291, allocations: 5.436 MB / 1.153 GB, free: 5.695 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001276/1.292, allocations: 0.5583 MB / 1.153 GB, free: 5.117 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000382/1.293, allocations: 4 kB / 1.153 GB, free: 5.113 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01174/1.304, allocations: 1.089 MB / 1.154 GB, free: 4.023 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001798/1.304, allocations: 39.91 kB / 1.154 GB, free: 3.984 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005405/1.305, allocations: 175.5 kB / 1.155 GB, free: 3.812 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.00029/1.305, allocations: 239.2 kB / 1.155 GB, free: 3.578 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/1.305, allocations: 0 / 1.155 GB, free: 3.578 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002651/1.308, allocations: 0.5856 MB / 1.155 GB, free: 2.992 MB / 0.9044 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.03074/1.339, allocations: 6.051 MB / 1.161 GB, free: 12.91 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.05188/1.391, allocations: 9.667 MB / 1.171 GB, free: 3.23 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.74e-06/1.391, allocations: 0 / 1.171 GB, free: 3.23 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.01479/1.405, allocations: 2.736 MB / 1.173 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/1.407, allocations: 85.39 kB / 1.173 GB, free: 420 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1123/1.519, allocations: 23.48 MB / 1.196 GB, free: 8.848 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004001/1.519, allocations: 0.7923 MB / 1.197 GB, free: 8.031 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.01104/1.53, allocations: 1.646 MB / 1.199 GB, free: 6.383 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002831/1.533, allocations: 0.5958 MB / 1.199 GB, free: 5.785 MB / 0.9512 GB Notification: Performance of SimCode: time 7.31e-07/1.533, allocations: 0 / 1.199 GB, free: 5.785 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5967/2.13, allocations: 83.51 MB / 1.281 GB, free: 218 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001458/2.13, allocations: 222.4 kB / 1.281 GB, free: 217.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.02/10.15, allocations: 0 / 1.281 GB, free: 217.7 MB / 0.9981 GB (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection.fmu > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches