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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.00458/0.00458, allocations: 96.95 kB / 15.73 MB, free: 6.039 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.001208/0.001208, allocations: 201 kB / 16.68 MB, free: 5.969 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.87/2.87, allocations: 482.4 MB / 0.7548 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 67.89 kB / 1.083 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2796, allocations: 162.2 MB / 1.241 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.004136/0.2837, allocations: 2.833 MB / 1.244 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00429/0.288, allocations: 2.952 MB / 1.247 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/0.2882, allocations: 4 kB / 1.247 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002612/0.2885, allocations: 79.33 kB / 1.247 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005449/0.2891, allocations: 218.5 kB / 1.247 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001378/0.2904, allocations: 0.6107 MB / 1.248 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0006643/0.2911, allocations: 0.5407 MB / 1.249 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002005/0.2913, allocations: 106.7 kB / 1.249 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002422/0.2916, allocations: 187.4 kB / 1.249 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002805/0.2919, allocations: 223.1 kB / 1.249 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.918e-05/0.2919, allocations: 40 kB / 1.249 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007786/0.2927, allocations: 391.6 kB / 1.249 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.235e-05/0.2928, allocations: 99.66 kB / 1.25 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002124/0.2931, allocations: 211 kB / 1.25 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009721/0.294, allocations: 0.7318 MB / 1.25 GB, free: 1 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.294, allocations: 3.938 kB / 1.25 GB, free: 0.9961 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.072e-06/0.294, allocations: 0 / 1.25 GB, free: 0.9961 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.2941, allocations: 0 / 1.25 GB, free: 0.9961 MB / 0.9981 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.001163/0.2952, allocations: 0.7702 MB / 1.251 GB, free: 176 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.2953, allocations: 12.03 kB / 1.251 GB, free: 164 kB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.812e-05/0.2953, allocations: 58.73 kB / 1.251 GB, free: 96 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5616/0.857, allocations: 12.21 MB / 1.263 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001622/0.8586, allocations: 0.9206 MB / 1.264 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.278e-05/0.8587, allocations: 21.31 kB / 1.264 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004989/0.8592, allocations: 27.75 kB / 1.264 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01689/0.8761, allocations: 3.736 MB / 1.268 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.8761, allocations: 3.938 kB / 1.268 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003173/0.8764, allocations: 10.41 kB / 1.268 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.8764, allocations: 6.906 kB / 1.268 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01513/0.8916, allocations: 2.966 MB / 1.271 GB, free: 13.29 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.01188/0.9034, allocations: 17.14 MB / 1.287 GB, free: 11.32 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01552/0.919, allocations: 2.942 MB / 1.29 GB, free: 10.64 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0152/0.9342, allocations: 2.794 MB / 1.293 GB, free: 10.03 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.25e-05/0.9343, allocations: 32.38 kB / 1.293 GB, free: 10.02 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.9343, allocations: 34.56 kB / 1.293 GB, free: 9.984 MB / 1.014 GB Notification: Performance of pre-optimization done (n=22): time 2.053e-06/0.9343, allocations: 0 / 1.293 GB, free: 9.984 MB / 1.014 GB Notification: Performance of matching and sorting (n=22): time 0.04728/0.9816, allocations: 8.552 MB / 1.301 GB, free: 8.191 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.9817, allocations: 52.5 kB / 1.302 GB, free: 8.129 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003812/0.9821, allocations: 338.6 kB / 1.302 GB, free: 7.953 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003365/0.9824, allocations: 30.98 kB / 1.302 GB, free: 7.918 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002429/0.9827, allocations: 204.8 kB / 1.302 GB, free: 7.758 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003069/0.983, allocations: 80.05 kB / 1.302 GB, free: 7.707 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001714/0.9847, allocations: 483.8 kB / 1.303 GB, free: 7.652 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.9849, allocations: 347.3 kB / 1.303 GB, free: 7.324 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0217/1.007, allocations: 3.898 MB / 1.307 GB, free: 6.113 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02164/1.028, allocations: 3.928 MB / 1.311 GB, free: 4.453 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03575/1.064, allocations: 6.209 MB / 1.317 GB, free: 1.945 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/1.064, allocations: 0 / 1.317 GB, free: 1.945 MB / 1.014 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.04412/1.108, allocations: 8.033 MB / 1.324 GB, free: 14.54 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/1.108, allocations: 5.5 kB / 1.324 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03944/1.148, allocations: 7.283 MB / 1.332 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/1.148, allocations: 0 / 1.332 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01556/1.163, allocations: 1.919 MB / 1.333 GB, free: 8.891 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/1.163, allocations: 4 kB / 1.333 GB, free: 8.887 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01401/1.177, allocations: 1.507 MB / 1.335 GB, free: 7.387 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005598/1.178, allocations: 210.2 kB / 1.335 GB, free: 7.184 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0215/1.199, allocations: 3.993 MB / 1.339 GB, free: 3.184 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02114/1.22, allocations: 3.926 MB / 1.343 GB, free: 15.24 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03551/1.256, allocations: 6.196 MB / 1.349 GB, free: 9.035 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.673e-06/1.256, allocations: 0 / 1.349 GB, free: 9.035 MB / 1.045 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.04385/1.3, allocations: 8.028 MB / 1.357 GB, free: 0.9922 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/1.3, allocations: 4 kB / 1.357 GB, free: 0.9883 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04012/1.34, allocations: 7.275 MB / 1.364 GB, free: 9.707 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.424e-06/1.34, allocations: 9.594 kB / 1.364 GB, free: 9.699 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01555/1.356, allocations: 1.908 MB / 1.366 GB, free: 7.789 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/1.356, allocations: 8 kB / 1.366 GB, free: 7.781 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01423/1.37, allocations: 1.501 MB / 1.367 GB, free: 6.289 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005482/1.37, allocations: 204.9 kB / 1.367 GB, free: 6.09 MB / 1.061 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.0008046/1.371, allocations: 196.7 kB / 1.368 GB, free: 5.891 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004955/1.372, allocations: 35.77 kB / 1.368 GB, free: 5.855 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03484/1.407, allocations: 6.689 MB / 1.374 GB, free: 15.2 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/1.407, allocations: 0 / 1.374 GB, free: 15.2 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/1.407, allocations: 7.984 kB / 1.374 GB, free: 15.19 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/1.407, allocations: 0.5 kB / 1.374 GB, free: 15.19 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005836/1.412, allocations: 6.486 MB / 1.381 GB, free: 7.219 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.03173/1.444, allocations: 5.63 MB / 1.386 GB, free: 1.578 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01312/1.457, allocations: 1.633 MB / 1.388 GB, free: 15.95 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/1.457, allocations: 4 kB / 1.388 GB, free: 15.94 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000402/1.458, allocations: 171.5 kB / 1.388 GB, free: 15.77 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/1.458, allocations: 0 / 1.388 GB, free: 15.77 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/1.458, allocations: 3.656 kB / 1.388 GB, free: 15.77 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03132/1.489, allocations: 5.783 MB / 1.393 GB, free: 9.969 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009847/1.49, allocations: 0.5651 MB / 1.394 GB, free: 9.391 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004181/1.49, allocations: 4 kB / 1.394 GB, free: 9.387 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01203/1.503, allocations: 1.257 MB / 1.395 GB, free: 8.129 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/1.503, allocations: 35.92 kB / 1.395 GB, free: 8.094 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004428/1.503, allocations: 175.5 kB / 1.395 GB, free: 7.922 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0002504/1.503, allocations: 239.2 kB / 1.396 GB, free: 7.695 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.2e-07/1.503, allocations: 4 kB / 1.396 GB, free: 7.691 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002306/1.506, allocations: 0.595 MB / 1.396 GB, free: 7.105 MB / 1.092 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.03279/1.538, allocations: 6.381 MB / 1.402 GB, free: 0.7031 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.05553/1.594, allocations: 10.29 MB / 1.413 GB, free: 6.402 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/1.594, allocations: 0 / 1.413 GB, free: 6.402 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.01577/1.61, allocations: 2.907 MB / 1.415 GB, free: 3.492 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008981/1.611, allocations: 91.47 kB / 1.415 GB, free: 3.402 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1193/1.73, allocations: 24.57 MB / 1.439 GB, free: 10.74 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004103/1.73, allocations: 0.7923 MB / 1.44 GB, free: 9.922 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.008008/1.738, allocations: 1.634 MB / 1.442 GB, free: 8.289 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002922/1.741, allocations: 0.5919 MB / 1.442 GB, free: 7.695 MB / 1.139 GB Notification: Performance of SimCode: time 3.21e-07/1.741, allocations: 0 / 1.442 GB, free: 7.695 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1384/1.88, allocations: 88.25 MB / 1.529 GB, free: 15.32 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 14/15.88, allocations: 12.86 kB / 1.529 GB, free: 15.31 MB / 1.232 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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