Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Convection.Examples.Interior.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 103.6 kB / 18.95 MB, free: 2.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001699/0.001699, allocations: 216.3 kB / 22.24 MB, free: 5.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.371/1.371, allocations: 230.6 MB / 256 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.91/2.91, allocations: 0.49 GB / 0.7951 GB, free: 35.58 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Convection.Examples.Interior,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Convection_Examples_Interior",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Convection.Examples.Interior,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Convection_Examples_Interior",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 70.72 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.2958, allocations: 176.1 MB / 1.326 GB, free: 1.555 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Interior): time 0.003453/0.2992, allocations: 2.302 MB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001592/0.3008, allocations: 0.9582 MB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.3009, allocations: 4 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.899e-05/0.301, allocations: 39.59 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004321/0.3015, allocations: 139 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003231/0.3018, allocations: 171.7 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005315/0.3023, allocations: 382.2 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.3025, allocations: 84.25 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002152/0.3027, allocations: 159.5 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002063/0.3029, allocations: 143.3 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.315e-05/0.3029, allocations: 20 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.303, allocations: 51.98 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.312e-05/0.3031, allocations: 43.83 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.3032, allocations: 111.5 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003628/0.3036, allocations: 310.6 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.3036, allocations: 4 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3036, allocations: 0 / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.3036, allocations: 0 / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.000824/0.3044, allocations: 0.5089 MB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.3045, allocations: 12.03 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.671e-05/0.3045, allocations: 50.73 kB / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001248/0.3046, allocations: 40.7 kB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003257/0.305, allocations: 201.1 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.305, allocations: 16.81 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.803e-05/0.305, allocations: 24.36 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003573/0.3054, allocations: 191.3 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.3054, allocations: 0 / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.3054, allocations: 8 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.3054, allocations: 4 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003176/0.3057, allocations: 129.7 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008021/0.3065, allocations: 0.5336 MB / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/0.3068, allocations: 118.5 kB / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.3069, allocations: 56.77 kB / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.3069, allocations: 0 / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.307, allocations: 38.5 kB / 1.332 GB, free: 10.59 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 8.356e-06/0.307, allocations: 0 / 1.332 GB, free: 10.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0004704/0.3074, allocations: 185.4 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.3075, allocations: 55.41 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002282/0.3077, allocations: 229.9 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.3077, allocations: 29.7 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.3078, allocations: 164.3 kB / 1.333 GB, free: 9.906 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.905e-05/0.3079, allocations: 39.64 kB / 1.333 GB, free: 9.867 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.533e-05/0.3079, allocations: 25.72 kB / 1.333 GB, free: 9.836 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.3081, allocations: 330.8 kB / 1.333 GB, free: 9.504 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.3082, allocations: 48.83 kB / 1.334 GB, free: 9.453 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.3083, allocations: 39.47 kB / 1.334 GB, free: 9.418 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002225/0.3085, allocations: 84.83 kB / 1.334 GB, free: 9.332 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3085, allocations: 0 / 1.334 GB, free: 9.332 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002966/0.3088, allocations: 149.4 kB / 1.334 GB, free: 9.18 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.3088, allocations: 11.94 kB / 1.334 GB, free: 9.168 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.3088, allocations: 0 / 1.334 GB, free: 9.168 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.3088, allocations: 4 kB / 1.334 GB, free: 9.164 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.309, allocations: 27.98 kB / 1.334 GB, free: 9.137 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.309, allocations: 4 kB / 1.334 GB, free: 9.133 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.3091, allocations: 19.88 kB / 1.334 GB, free: 9.113 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.3091, allocations: 0 / 1.334 GB, free: 9.113 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001728/0.3093, allocations: 136.1 kB / 1.334 GB, free: 8.977 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.549e-05/0.3094, allocations: 35.97 kB / 1.334 GB, free: 8.941 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002047/0.3096, allocations: 91.88 kB / 1.334 GB, free: 8.852 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.896e-06/0.3096, allocations: 3.984 kB / 1.334 GB, free: 8.848 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 0.0002693/0.3099, allocations: 137.6 kB / 1.334 GB, free: 8.707 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.947e-06/0.3099, allocations: 13.34 kB / 1.334 GB, free: 8.695 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-06/0.3099, allocations: 3.938 kB / 1.334 GB, free: 8.691 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-06/0.3099, allocations: 0 / 1.334 GB, free: 8.691 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.31, allocations: 27.92 kB / 1.334 GB, free: 8.664 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.443e-06/0.31, allocations: 0 / 1.334 GB, free: 8.664 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.3101, allocations: 15.92 kB / 1.334 GB, free: 8.648 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.3101, allocations: 4 kB / 1.334 GB, free: 8.645 MB / 1.029 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 (13): * Single equations (assignments): 13 * 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.0001043/0.3102, allocations: 188.8 kB / 1.334 GB, free: 8.453 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.166e-05/0.3103, allocations: 23.8 kB / 1.335 GB, free: 8.43 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003463/0.3106, allocations: 151.4 kB / 1.335 GB, free: 8.273 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3106, allocations: 3.938 kB / 1.335 GB, free: 8.27 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.3106, allocations: 0 / 1.335 GB, free: 8.27 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.3106, allocations: 4 kB / 1.335 GB, free: 8.266 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002748/0.3109, allocations: 228.6 kB / 1.335 GB, free: 8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3109, allocations: 0 / 1.335 GB, free: 8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.311, allocations: 27.98 kB / 1.335 GB, free: 7.973 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.311, allocations: 3.938 kB / 1.335 GB, free: 7.969 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.311, allocations: 7.984 kB / 1.335 GB, free: 7.961 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.3111, allocations: 0 / 1.335 GB, free: 7.961 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3111, allocations: 4 kB / 1.335 GB, free: 7.957 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003396/0.3114, allocations: 240.7 kB / 1.335 GB, free: 7.707 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.457e-05/0.3115, allocations: 43.7 kB / 1.335 GB, free: 7.664 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.3115, allocations: 0 / 1.335 GB, free: 7.664 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.3116, allocations: 15.98 kB / 1.335 GB, free: 7.648 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.447e-05/0.3117, allocations: 7.984 kB / 1.335 GB, free: 7.641 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.914e-06/0.3117, allocations: 4 kB / 1.335 GB, free: 7.637 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000156/0.3118, allocations: 169.2 kB / 1.335 GB, free: 7.473 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3118, allocations: 0 / 1.335 GB, free: 7.473 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003697/0.3122, allocations: 103.8 kB / 1.335 GB, free: 7.371 MB / 1.029 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 (13): * Single equations (assignments): 13 * 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.0006757/0.3129, allocations: 0.7825 MB / 1.336 GB, free: 6.562 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003659/0.3132, allocations: 142.1 kB / 1.336 GB, free: 6.426 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.3132, allocations: 0 / 1.336 GB, free: 6.426 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.3134, allocations: 47.97 kB / 1.336 GB, free: 6.379 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/0.3138, allocations: 62.34 kB / 1.336 GB, free: 6.32 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002446/0.3162, allocations: 2.07 MB / 1.339 GB, free: 4.168 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/0.3163, allocations: 138.2 kB / 1.339 GB, free: 4.012 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.766e-05/0.3164, allocations: 21.62 kB / 1.339 GB, free: 3.992 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.663e-05/0.3165, allocations: 75.41 kB / 1.339 GB, free: 3.918 MB / 1.029 GB Notification: Performance of SimCode: time 3.61e-07/0.3165, allocations: 0 / 1.339 GB, free: 3.918 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0309/0.3474, allocations: 5.598 MB / 1.344 GB, free: 14.5 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/10.9, allocations: 5.812 kB / 1.344 GB, free: 14.5 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.HeatTransfer.Convection.Examples.Interior.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Convection.Examples.Interior.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Convection.Examples.Interior.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Convection.Examples.Interior.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Convection.Examples.Interior_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Convection_Examples_Interior_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Convection_Examples_Interior.fmu > Buildings_12_Buildings.HeatTransfer.Convection.Examples.Interior.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Convection.Examples.Interior_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Convection_Examples_Interior.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Convection.Examples.Interior.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.963351387996227]