Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.InteriorConvection,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection,fileNamePrefix="Buildings_latest_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.006963/0.006963, allocations: 96.73 kB / 15.73 MB, free: 6.488 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.001989/0.001988, allocations: 191.4 kB / 16.67 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.401/1.401, 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.885/2.885, allocations: 482.4 MB / 0.7548 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 68.12 kB / 1.083 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2796, allocations: 162.2 MB / 1.241 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection): time 0.003028/0.2826, allocations: 1.859 MB / 1.243 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001219/0.2839, allocations: 0.7207 MB / 1.244 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.518e-05/0.2839, allocations: 4 kB / 1.244 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.75e-05/0.284, allocations: 11.86 kB / 1.244 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002115/0.2842, allocations: 54.88 kB / 1.244 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000206/0.2844, allocations: 75.78 kB / 1.244 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002456/0.2847, allocations: 127.4 kB / 1.244 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.2848, allocations: 45.36 kB / 1.244 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.187e-05/0.2849, allocations: 43.84 kB / 1.244 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001352/0.285, allocations: 55.77 kB / 1.244 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.2851, allocations: 8 kB / 1.244 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.646e-05/0.2851, allocations: 16 kB / 1.244 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.517e-05/0.2852, allocations: 19.92 kB / 1.244 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.216e-05/0.2852, allocations: 55.67 kB / 1.244 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.2854, allocations: 111.5 kB / 1.245 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.2854, allocations: 0 / 1.245 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2854, allocations: 0 / 1.245 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.2854, allocations: 4 kB / 1.245 GB, free: 7 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005926/0.286, allocations: 414.9 kB / 1.245 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.2861, allocations: 12.03 kB / 1.245 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.239e-05/0.2861, allocations: 38.75 kB / 1.245 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.231e-05/0.2862, allocations: 12.89 kB / 1.245 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002394/0.2864, allocations: 204.1 kB / 1.245 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.2864, allocations: 8.375 kB / 1.245 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.2865, allocations: 4.375 kB / 1.245 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002381/0.2867, allocations: 97.77 kB / 1.245 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.2867, allocations: 0 / 1.245 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.2867, allocations: 7.938 kB / 1.245 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.2868, allocations: 11.94 kB / 1.245 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002315/0.287, allocations: 57.36 kB / 1.245 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005133/0.2875, allocations: 372.4 kB / 1.246 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002362/0.2878, allocations: 58.48 kB / 1.246 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.807e-05/0.2879, allocations: 28.91 kB / 1.246 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.2879, allocations: 0 / 1.246 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.2879, allocations: 38.5 kB / 1.246 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.2879, allocations: 0 / 1.246 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0003757/0.2883, allocations: 93.55 kB / 1.246 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.2884, allocations: 55.41 kB / 1.246 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.2885, allocations: 157.1 kB / 1.246 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.2885, allocations: 33.7 kB / 1.246 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.492e-05/0.2886, allocations: 104 kB / 1.246 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.374e-05/0.2886, allocations: 11.91 kB / 1.246 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-05/0.2887, allocations: 17.7 kB / 1.246 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.2888, allocations: 318.8 kB / 1.247 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.289, allocations: 28.83 kB / 1.247 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.76e-05/0.2891, allocations: 19.98 kB / 1.247 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/0.2892, allocations: 48.81 kB / 1.247 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2893, allocations: 0 / 1.247 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002388/0.2895, allocations: 85.61 kB / 1.247 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.2895, allocations: 11.94 kB / 1.247 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2895, allocations: 4 kB / 1.247 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.2895, allocations: 3.938 kB / 1.247 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.174e-05/0.2896, allocations: 11.98 kB / 1.247 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.2896, allocations: 0 / 1.247 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.57e-05/0.2897, allocations: 11.98 kB / 1.247 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.2897, allocations: 0 / 1.247 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001543/0.2899, allocations: 105 kB / 1.247 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.811e-05/0.29, allocations: 28.3 kB / 1.247 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001696/0.2902, allocations: 44.91 kB / 1.247 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.61e-07/0.2902, allocations: 0 / 1.247 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization_lambda0): time 0.0002406/0.2904, allocations: 85.55 kB / 1.247 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.524e-06/0.2904, allocations: 4 kB / 1.247 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.2904, allocations: 7.938 kB / 1.247 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-06/0.2905, allocations: 3.938 kB / 1.247 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.206e-05/0.2905, allocations: 15.98 kB / 1.247 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.392e-06/0.2905, allocations: 0 / 1.247 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.016e-05/0.2906, allocations: 11.98 kB / 1.247 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.356e-06/0.2906, allocations: 0 / 1.247 GB, free: 4.117 MB / 0.9981 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.416e-05/0.2907, allocations: 180.2 kB / 1.247 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.446e-05/0.2908, allocations: 19.84 kB / 1.247 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002546/0.291, allocations: 89.83 kB / 1.247 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.291, allocations: 0 / 1.247 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.2911, allocations: 3.938 kB / 1.247 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.2911, allocations: 0 / 1.247 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002142/0.2913, allocations: 189.6 kB / 1.248 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2913, allocations: 4 kB / 1.248 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.36e-05/0.2914, allocations: 4 kB / 1.248 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.2914, allocations: 3.938 kB / 1.248 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.2914, allocations: 7.984 kB / 1.248 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2914, allocations: 0 / 1.248 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.2914, allocations: 0 / 1.248 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002713/0.2917, allocations: 171.5 kB / 1.248 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.66e-05/0.2917, allocations: 93 kB / 1.248 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.2918, allocations: 3.984 kB / 1.248 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.681e-05/0.2919, allocations: 4 kB / 1.248 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.669e-05/0.2919, allocations: 0 / 1.248 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.2919, allocations: 15.98 kB / 1.248 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000101/0.292, allocations: 111.3 kB / 1.248 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.292, allocations: 3.938 kB / 1.248 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003144/0.2924, allocations: 39.89 kB / 1.248 GB, free: 3.086 MB / 0.9981 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.0006188/0.293, allocations: 0.7163 MB / 1.249 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00033/0.2933, allocations: 75.86 kB / 1.249 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2933, allocations: 0 / 1.249 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.088e-05/0.2934, allocations: 20.36 kB / 1.249 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.2937, allocations: 33.05 kB / 1.249 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001839/0.2956, allocations: 1.538 MB / 1.25 GB, free: 0.6016 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4531/0.7487, allocations: 0.6954 MB / 1.251 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.797e-05/0.7488, allocations: 9 kB / 1.251 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.742e-05/0.7488, allocations: 25.05 kB / 1.251 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of SimCode: time 7.41e-07/0.7488, allocations: 1.281 kB / 1.251 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02304/0.7719, allocations: 2.655 MB / 1.254 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.511/8.283, allocations: 20.72 kB / 1.254 GB, free: 13.86 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches