Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 107.6 kB / 16.37 MB, free: 6.477 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.001551/0.001551, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.203/2.203, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 61.19 kB / 0.814 GB, free: 32.56 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2573, allocations: 140.4 MB / 0.9511 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002547/0.2599, allocations: 1.6 MB / 0.9527 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001249/0.2611, allocations: 0.915 MB / 0.9536 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.431e-05/0.2612, allocations: 7.938 kB / 0.9536 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002235/0.2614, allocations: 63.66 kB / 0.9536 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003952/0.2618, allocations: 147.3 kB / 0.9538 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 3.55e-05/0.2619, allocations: 15.97 kB / 0.9538 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003836/0.2623, allocations: 370.2 kB / 0.9541 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.016e-05/0.2624, allocations: 44.73 kB / 0.9542 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.2625, allocations: 139.4 kB / 0.9543 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001864/0.2627, allocations: 139.3 kB / 0.9544 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.065e-05/0.2628, allocations: 16 kB / 0.9545 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 4.291e-05/0.2628, allocations: 16 kB / 0.9545 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.141e-05/0.2629, allocations: 51.75 kB / 0.9545 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001323/0.263, allocations: 139.2 kB / 0.9547 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002534/0.2633, allocations: 275 kB / 0.9549 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.2633, allocations: 0 / 0.9549 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2633, allocations: 0 / 0.9549 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.2633, allocations: 0 / 0.9549 GB, free: 4.145 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.001076/0.2644, allocations: 0.6379 MB / 0.9555 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.2644, allocations: 12.03 kB / 0.9556 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.617e-05/0.2645, allocations: 28.56 kB / 0.9556 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005001/0.265, allocations: 386.3 kB / 0.956 GB, free: 3 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.265, allocations: 8.375 kB / 0.956 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.265, allocations: 384 / 0.956 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.2652, allocations: 101.3 kB / 0.9561 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.2652, allocations: 3.938 kB / 0.9561 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.2652, allocations: 0 / 0.9561 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.2652, allocations: 4 kB / 0.9561 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.555e-05/0.2653, allocations: 67.86 kB / 0.9561 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003603/0.2657, allocations: 356.1 kB / 0.9565 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.2658, allocations: 106.4 kB / 0.9566 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.516e-05/0.2659, allocations: 63.45 kB / 0.9566 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.2659, allocations: 3.938 kB / 0.9566 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.266, allocations: 38.5 kB / 0.9567 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.753e-06/0.266, allocations: 4 kB / 0.9567 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0003196/0.2663, allocations: 189.6 kB / 0.9569 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.145e-05/0.2664, allocations: 132.5 kB / 0.957 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005559/0.2669, allocations: 0.5093 MB / 0.9575 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.2669, allocations: 25.7 kB / 0.9575 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.2671, allocations: 168.1 kB / 0.9577 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.2671, allocations: 7.812 kB / 0.9577 GB, free: 1.051 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.126e-05/0.2671, allocations: 21.72 kB / 0.9577 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.2673, allocations: 342.8 kB / 0.958 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.814e-05/0.2673, allocations: 35.97 kB / 0.9581 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.325e-05/0.2674, allocations: 59.39 kB / 0.9581 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/0.2675, allocations: 107.3 kB / 0.9582 GB, free: 468 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.2675, allocations: 8 kB / 0.9582 GB, free: 460 kB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002035/0.2678, allocations: 145.1 kB / 0.9584 GB, free: 308 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.2678, allocations: 7.938 kB / 0.9584 GB, free: 300 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2678, allocations: 4.094 kB / 0.9584 GB, free: 296 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.2678, allocations: 3.984 kB / 0.9584 GB, free: 292 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.2679, allocations: 11.98 kB / 0.9584 GB, free: 280 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.2679, allocations: 3.938 kB / 0.9584 GB, free: 276 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.2681, allocations: 11.98 kB / 0.9584 GB, free: 264 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.2681, allocations: 8.125 kB / 0.9584 GB, free: 256 kB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 0.0001397/0.2682, allocations: 179.7 kB / 0.9586 GB, free: 68 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.417e-05/0.2683, allocations: 35.47 kB / 0.9586 GB, free: 32 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000313/0.2686, allocations: 187.8 kB / 0.9588 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.2686, allocations: 4 kB / 0.9588 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.2686, allocations: 0 / 0.9588 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2686, allocations: 8.125 kB / 0.9588 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002589/0.2689, allocations: 305.3 kB / 0.9591 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.2689, allocations: 3.984 kB / 0.9591 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.743e-05/0.269, allocations: 15.94 kB / 0.9591 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.269, allocations: 3.938 kB / 0.9591 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.269, allocations: 4 kB / 0.9591 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.269, allocations: 0 / 0.9591 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.269, allocations: 3.938 kB / 0.9591 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002209/0.2693, allocations: 191.2 kB / 0.9593 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000159/0.2694, allocations: 144.5 kB / 0.9594 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.607e-05/0.2695, allocations: 7.938 kB / 0.9595 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/0.2697, allocations: 11.97 kB / 0.9595 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.175e-05/0.2697, allocations: 4 kB / 0.9595 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.2697, allocations: 8 kB / 0.9595 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004326/0.2701, allocations: 399 kB / 0.9599 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2701, allocations: 0 / 0.9599 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002478/0.2704, allocations: 36 kB / 0.9599 GB, free: 14.62 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 8 * 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 9.548e-05/0.2705, allocations: 99.25 kB / 0.96 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001688/0.2707, allocations: 83.86 kB / 0.9601 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2707, allocations: 0 / 0.9601 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 6.571e-05/0.2708, allocations: 48.34 kB / 0.9601 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.2711, allocations: 65.53 kB / 0.9602 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008649/0.272, allocations: 0.5809 MB / 0.9607 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.2723, allocations: 0.8219 MB / 0.9615 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000112/0.2724, allocations: 54.23 kB / 0.9616 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.693e-05/0.2725, allocations: 23.44 kB / 0.9616 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of SimCode: time 2.6e-07/0.2725, allocations: 3.938 kB / 0.9616 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of Templates: time 0.006314/0.2788, allocations: 3.558 MB / 0.9651 GB, free: 9.262 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & ./Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches