Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.InteriorConvection,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection",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.001939/0.001939, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002035/0.002035, allocations: 194 kB / 16.53 MB, free: 6.391 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.471/1.471, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.847/2.847, allocations: 469.8 MB / 0.7424 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 73.67 kB / 0.9087 GB, free: 34.19 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2517, allocations: 159.2 MB / 1.064 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection): time 0.003324/0.2551, allocations: 1.853 MB / 1.066 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001297/0.2564, allocations: 0.7246 MB / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.381e-05/0.2565, allocations: 0 / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.07e-05/0.2565, allocations: 11.86 kB / 1.067 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002168/0.2568, allocations: 51.62 kB / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002077/0.257, allocations: 63.86 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002352/0.2572, allocations: 143.3 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.2574, allocations: 37.38 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.599e-05/0.2575, allocations: 43.84 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.2576, allocations: 51.78 kB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.261e-05/0.2576, allocations: 8 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.944e-05/0.2577, allocations: 20 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.544e-05/0.2577, allocations: 23.91 kB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.861e-05/0.2578, allocations: 47.73 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001676/0.258, allocations: 115.9 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.258, allocations: 0 / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.142e-06/0.258, allocations: 0 / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.258, allocations: 0 / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005908/0.2586, allocations: 407.1 kB / 1.068 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.2586, allocations: 12.03 kB / 1.068 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.051e-05/0.2587, allocations: 42.75 kB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.823e-05/0.2587, allocations: 16.75 kB / 1.068 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002193/0.259, allocations: 194 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.259, allocations: 12.31 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.259, allocations: 4.375 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/0.2592, allocations: 99.02 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.2593, allocations: 0 / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.2593, allocations: 0 / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.2593, allocations: 8 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002311/0.2595, allocations: 63.89 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000518/0.2601, allocations: 376.5 kB / 1.068 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.2603, allocations: 54.55 kB / 1.068 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.948e-05/0.2604, allocations: 28.84 kB / 1.068 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.2604, allocations: 0 / 1.068 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.2605, allocations: 34.5 kB / 1.068 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.2605, allocations: 0 / 1.068 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0003824/0.2609, allocations: 105.5 kB / 1.069 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.2609, allocations: 55.39 kB / 1.069 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.2611, allocations: 149.1 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.2611, allocations: 25.7 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.35e-05/0.2612, allocations: 108 kB / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.2612, allocations: 15.8 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.95e-05/0.2612, allocations: 17.72 kB / 1.069 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.2614, allocations: 318.8 kB / 1.069 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.2615, allocations: 28.83 kB / 1.069 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.678e-05/0.2616, allocations: 19.98 kB / 1.069 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.2618, allocations: 53.08 kB / 1.069 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.2618, allocations: 0 / 1.069 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002431/0.262, allocations: 89.5 kB / 1.069 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.2621, allocations: 7.938 kB / 1.069 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.2621, allocations: 0 / 1.069 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.2621, allocations: 0 / 1.069 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.165e-05/0.2622, allocations: 11.98 kB / 1.069 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.2622, allocations: 3.984 kB / 1.069 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.307e-05/0.2623, allocations: 11.98 kB / 1.069 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.2623, allocations: 0 / 1.069 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001455/0.2624, allocations: 108.1 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.709e-05/0.2625, allocations: 23.97 kB / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000167/0.2627, allocations: 48.77 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.42e-07/0.2627, allocations: 0 / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization_lambda0): time 0.0002346/0.2629, allocations: 81.56 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.244e-06/0.2629, allocations: 4 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/0.263, allocations: 7.938 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-06/0.263, allocations: 0 / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.283e-05/0.263, allocations: 11.98 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.753e-06/0.2631, allocations: 3.938 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.978e-05/0.2631, allocations: 11.92 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.2631, allocations: 4 kB / 1.07 GB, free: 8.16 MB / 0.8262 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 (4): * Single equations (assignments): 4 * 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 9.787e-05/0.2632, allocations: 184.2 kB / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.404e-05/0.2633, allocations: 11.84 kB / 1.07 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002501/0.2635, allocations: 89.73 kB / 1.07 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.2636, allocations: 4 kB / 1.07 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.2636, allocations: 0 / 1.07 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.2636, allocations: 0 / 1.07 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002162/0.2638, allocations: 193.6 kB / 1.07 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2638, allocations: 0 / 1.07 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.681e-05/0.2639, allocations: 11.98 kB / 1.07 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.2639, allocations: 3.938 kB / 1.07 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.2639, allocations: 4 kB / 1.07 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2639, allocations: 0 / 1.07 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2639, allocations: 0 / 1.07 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002666/0.2642, allocations: 175.4 kB / 1.07 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.441e-05/0.2642, allocations: 88.94 kB / 1.07 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.2643, allocations: 288 / 1.07 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.551e-05/0.2644, allocations: 8 kB / 1.07 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.899e-05/0.2644, allocations: 11.98 kB / 1.07 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.2644, allocations: 0 / 1.07 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001021/0.2645, allocations: 122.1 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2e-07/0.2645, allocations: 0 / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003164/0.2648, allocations: 35.94 kB / 1.071 GB, free: 7.137 MB / 0.8262 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 (3): * Single equations (assignments): 3 * 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.0006115/0.2655, allocations: 0.7207 MB / 1.071 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003159/0.2658, allocations: 71.86 kB / 1.071 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2658, allocations: 0 / 1.071 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.864e-05/0.2659, allocations: 19.98 kB / 1.071 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/0.2662, allocations: 33.08 kB / 1.071 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.2681, allocations: 1.532 MB / 1.073 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.2684, allocations: 0.6964 MB / 1.074 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.892e-05/0.2685, allocations: 12.38 kB / 1.074 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.143e-05/0.2685, allocations: 27.42 kB / 1.074 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.2685, allocations: 0 / 1.074 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02364/0.2922, allocations: 2.634 MB / 1.076 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.488/7.78, allocations: 4.703 kB / 1.076 GB, free: 1.395 MB / 0.8262 GB (rm -f Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection.fmu > Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches