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.005042/0.005042, allocations: 101.4 kB / 15.73 MB, free: 5.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.001182/0.001182, allocations: 189.2 kB / 16.67 MB, free: 5.422 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.307/1.307, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.164/2.164, allocations: 390.3 MB / 0.6648 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 67.89 kB / 0.9504 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7932/0.7945, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.00402/0.7985, allocations: 2.833 MB / 1.09 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00398/0.8025, allocations: 2.959 MB / 1.093 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003772/0.8029, allocations: 6.75 kB / 1.093 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003328/0.8033, allocations: 77.52 kB / 1.093 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0007733/0.8041, allocations: 205.4 kB / 1.093 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001888/0.806, allocations: 0.6215 MB / 1.094 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0008041/0.8068, allocations: 0.5272 MB / 1.095 GB, free: 400 kB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002388/0.807, allocations: 116.9 kB / 1.095 GB, free: 332 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002794/0.8073, allocations: 193.6 kB / 1.095 GB, free: 244 kB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002642/0.8076, allocations: 219.3 kB / 1.095 GB, free: 136 kB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.356e-05/0.8077, allocations: 37.78 kB / 1.095 GB, free: 136 kB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001088/0.8088, allocations: 391.3 kB / 1.095 GB, free: 52 kB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.8089, allocations: 90.38 kB / 1.096 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002671/0.8092, allocations: 223.1 kB / 1.096 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001297/0.8105, allocations: 0.7277 MB / 1.096 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.319e-06/0.8105, allocations: 4.562 kB / 1.096 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.954e-06/0.8105, allocations: 0 / 1.096 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.8105, allocations: 0 / 1.096 GB, free: 15.57 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.001225/0.8117, allocations: 0.7477 MB / 1.097 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.8118, allocations: 10.28 kB / 1.097 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.944e-05/0.8119, allocations: 69.39 kB / 1.097 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1015/0.9134, allocations: 12.21 MB / 1.109 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002833/0.9162, allocations: 0.9199 MB / 1.11 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.823e-05/0.9163, allocations: 24.94 kB / 1.11 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006357/0.9169, allocations: 25.44 kB / 1.11 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01635/0.9333, allocations: 3.739 MB / 1.114 GB, free: 13 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.9334, allocations: 0 / 1.114 GB, free: 13 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003078/0.9337, allocations: 13.81 kB / 1.114 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.9337, allocations: 5.906 kB / 1.114 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01472/0.9484, 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.01486/0.9633, allocations: 17.14 MB / 1.133 GB, free: 10.37 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01472/0.978, allocations: 2.938 MB / 1.136 GB, free: 9.684 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01443/0.9925, allocations: 2.795 MB / 1.139 GB, free: 8.598 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/0.9926, allocations: 30.64 kB / 1.139 GB, free: 8.586 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.9927, allocations: 31.84 kB / 1.139 GB, free: 8.547 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=22): time 2.715e-06/0.9927, allocations: 1.312 kB / 1.139 GB, free: 8.547 MB / 0.8887 GB Notification: Performance of matching and sorting (n=22): time 0.04469/1.037, allocations: 8.557 MB / 1.147 GB, free: 4.848 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/1.037, allocations: 52.53 kB / 1.148 GB, free: 4.785 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004222/1.038, allocations: 336.5 kB / 1.148 GB, free: 4.57 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0006295/1.039, allocations: 32.2 kB / 1.148 GB, free: 4.535 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000227/1.039, allocations: 198.4 kB / 1.148 GB, free: 4.355 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003349/1.039, allocations: 83.98 kB / 1.148 GB, free: 4.281 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001312/1.04, allocations: 477.2 kB / 1.149 GB, free: 3.969 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001139/1.041, allocations: 342.8 kB / 1.149 GB, free: 3.633 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02013/1.061, allocations: 3.893 MB / 1.153 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02028/1.081, allocations: 3.931 MB / 1.157 GB, free: 348 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03404/1.115, allocations: 6.204 MB / 1.163 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.15e-05/1.115, allocations: 3.938 kB / 1.163 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.04087/1.156, allocations: 8.045 MB / 1.17 GB, free: 5.562 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/1.156, allocations: 4 kB / 1.17 GB, free: 5.559 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03648/1.193, allocations: 7.283 MB / 1.178 GB, free: 14.26 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.784e-05/1.193, allocations: 3.938 kB / 1.178 GB, free: 14.26 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01486/1.207, allocations: 1.912 MB / 1.179 GB, free: 12.34 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.868e-05/1.208, allocations: 4 kB / 1.179 GB, free: 12.34 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01354/1.221, allocations: 1.506 MB / 1.181 GB, free: 10.83 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001203/1.222, allocations: 207.5 kB / 1.181 GB, free: 10.63 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01999/1.242, allocations: 3.989 MB / 1.185 GB, free: 6.633 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01959/1.262, allocations: 3.93 MB / 1.189 GB, free: 2.688 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03292/1.295, allocations: 6.195 MB / 1.195 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.727e-06/1.295, allocations: 7.875 kB / 1.195 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.04062/1.336, allocations: 8.021 MB / 1.203 GB, free: 4.441 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/1.336, allocations: 7.984 kB / 1.203 GB, free: 4.434 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03686/1.373, allocations: 7.267 MB / 1.21 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/1.373, allocations: 8 kB / 1.21 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01483/1.387, allocations: 1.908 MB / 1.212 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/1.388, allocations: 8 kB / 1.212 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01369/1.401, allocations: 1.491 MB / 1.213 GB, free: 9.742 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008946/1.402, allocations: 207.4 kB / 1.213 GB, free: 9.539 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.00109/1.403, allocations: 198.6 kB / 1.214 GB, free: 9.34 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005218/1.404, allocations: 35.53 kB / 1.214 GB, free: 9.305 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03188/1.436, allocations: 6.708 MB / 1.22 GB, free: 2.582 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/1.436, allocations: 0 / 1.22 GB, free: 2.582 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/1.436, allocations: 4 kB / 1.22 GB, free: 2.578 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/1.436, allocations: 0 / 1.22 GB, free: 2.578 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005196/1.441, allocations: 6.48 MB / 1.227 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02948/1.47, allocations: 5.626 MB / 1.232 GB, free: 4.969 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01254/1.483, allocations: 1.631 MB / 1.234 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.526e-05/1.483, allocations: 4 kB / 1.234 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005266/1.484, allocations: 175.5 kB / 1.234 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/1.484, allocations: 0 / 1.234 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/1.484, allocations: 0 / 1.234 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02921/1.513, allocations: 5.783 MB / 1.239 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001391/1.514, allocations: 0.5583 MB / 1.24 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004164/1.515, allocations: 4 kB / 1.24 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01172/1.526, allocations: 1.257 MB / 1.241 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001844/1.527, allocations: 43.91 kB / 1.241 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005759/1.527, allocations: 179.5 kB / 1.241 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003239/1.528, allocations: 235.2 kB / 1.242 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/1.528, allocations: 4 kB / 1.242 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.003043/1.531, allocations: 0.5895 MB / 1.242 GB, free: 10.47 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.0307/1.561, allocations: 6.382 MB / 1.248 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.05338/1.615, allocations: 10.29 MB / 1.258 GB, free: 9.762 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/1.615, allocations: 0 / 1.258 GB, free: 9.762 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.01472/1.63, allocations: 2.907 MB / 1.261 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/1.631, allocations: 85.44 kB / 1.261 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1096/1.74, allocations: 24.58 MB / 1.285 GB, free: 14.09 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/1.741, allocations: 0.7923 MB / 1.286 GB, free: 13.27 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.00726/1.748, allocations: 1.63 MB / 1.288 GB, free: 11.64 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002504/1.75, allocations: 0.5919 MB / 1.288 GB, free: 11.05 MB / 1.029 GB Notification: Performance of SimCode: time 1.933e-06/1.75, allocations: 0 / 1.288 GB, free: 11.05 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4479/2.198, allocations: 88.25 MB / 1.375 GB, free: 2.641 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.89/19.09, allocations: 11.69 kB / 1.375 GB, free: 2.629 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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