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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TGla.T|TRoo.T|con.u|heaFloSen.Q_flow",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TGla.T|TRoo.T|con.u|heaFloSen.Q_flow",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 115.8 kB / 16.37 MB, free: 6.012 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.00141/0.00141, allocations: 193.4 kB / 17.31 MB, free: 5.613 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.394/1.394, 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 11.0.0-master/package.mo): time 2.56/2.56, allocations: 442.6 MB / 0.7165 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 62.72 kB / 0.8773 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3651, allocations: 153 MB / 1.027 GB, free: 2.016 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection): time 0.003211/0.3683, allocations: 1.87 MB / 1.029 GB, free: 144 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001298/0.3697, allocations: 0.7321 MB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.865e-05/0.3698, allocations: 0 / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.717e-05/0.3698, allocations: 15.86 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002604/0.3701, allocations: 51.62 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002163/0.3703, allocations: 71.78 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002486/0.3706, allocations: 127.4 kB / 1.03 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.3708, allocations: 45.36 kB / 1.03 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.405e-05/0.3708, allocations: 39.86 kB / 1.03 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.371, allocations: 55.77 kB / 1.03 GB, free: 15 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.371, allocations: 8 kB / 1.03 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.019e-05/0.3711, allocations: 16 kB / 1.03 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.769e-05/0.3711, allocations: 23.91 kB / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.425e-05/0.3712, allocations: 47.73 kB / 1.03 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.3714, allocations: 115.6 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3714, allocations: 3.938 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.094e-06/0.3714, allocations: 0 / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.3714, allocations: 3.984 kB / 1.03 GB, free: 14.78 MB / 0.8106 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.0005712/0.372, allocations: 407.1 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.372, allocations: 8.031 kB / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.078e-05/0.3721, allocations: 12.84 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.3723, allocations: 192.1 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.3723, allocations: 8.375 kB / 1.03 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.3724, allocations: 8.375 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002308/0.3726, allocations: 97.89 kB / 1.031 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.3726, allocations: 0 / 1.031 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.3726, allocations: 4 kB / 1.031 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.3726, allocations: 4 kB / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002208/0.3729, allocations: 59.95 kB / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005629/0.3734, allocations: 376.5 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002188/0.3737, allocations: 54.61 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.671e-05/0.3738, allocations: 20.84 kB / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.3738, allocations: 3.938 kB / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.3738, allocations: 38.56 kB / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3738, allocations: 0 / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0003508/0.3742, allocations: 101.5 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.3742, allocations: 51.41 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.3744, allocations: 151.9 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.3744, allocations: 29.7 kB / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.533e-05/0.3745, allocations: 112 kB / 1.032 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.213e-05/0.3745, allocations: 11.75 kB / 1.032 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.65e-05/0.3746, allocations: 17.72 kB / 1.032 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.3748, allocations: 322.8 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.706e-05/0.3749, allocations: 24.84 kB / 1.032 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.867e-05/0.3749, allocations: 27.91 kB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.3751, allocations: 48.83 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3751, allocations: 0 / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002139/0.3753, allocations: 81.89 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.3754, allocations: 15.88 kB / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.3754, allocations: 3.984 kB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.3754, allocations: 0 / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.371e-05/0.3755, allocations: 8 kB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.3755, allocations: 4 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.818e-05/0.3756, allocations: 7.984 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.3756, allocations: 7.922 kB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00012/0.3757, allocations: 112.1 kB / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.772e-05/0.3758, allocations: 23.98 kB / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001339/0.3759, allocations: 44.81 kB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.32e-07/0.3759, allocations: 4 kB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization_lambda0): time 0.000185/0.3761, allocations: 81.56 kB / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 6.262e-06/0.3761, allocations: 4 kB / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-06/0.3761, allocations: 4 kB / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.826e-06/0.3761, allocations: 3.938 kB / 1.032 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.198e-05/0.3762, allocations: 8 kB / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.3762, allocations: 7.922 kB / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.933e-05/0.3763, allocations: 7.938 kB / 1.032 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-06/0.3763, allocations: 4 kB / 1.032 GB, free: 11.96 MB / 0.8106 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.006e-05/0.3764, allocations: 180.3 kB / 1.033 GB, free: 11.78 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.033e-05/0.3764, allocations: 11.84 kB / 1.033 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002198/0.3767, allocations: 81.89 kB / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3767, allocations: 0 / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3767, allocations: 0 / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.3767, allocations: 0 / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002221/0.3769, allocations: 197.5 kB / 1.033 GB, free: 11.44 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3769, allocations: 0 / 1.033 GB, free: 11.44 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.911e-05/0.377, allocations: 7.984 kB / 1.033 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.377, allocations: 7.938 kB / 1.033 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.377, allocations: 7.938 kB / 1.033 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.377, allocations: 0 / 1.033 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.377, allocations: 0 / 1.033 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002367/0.3773, allocations: 171.4 kB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.983e-05/0.3773, allocations: 89 kB / 1.033 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.3774, allocations: 11.88 kB / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.935e-05/0.3774, allocations: 7.984 kB / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-05/0.3775, allocations: 7.938 kB / 1.033 GB, free: 11.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.3775, allocations: 4 kB / 1.033 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.976e-05/0.3776, allocations: 117.1 kB / 1.033 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3776, allocations: 0 / 1.033 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002944/0.3779, allocations: 39.94 kB / 1.033 GB, free: 10.94 MB / 0.8106 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.0001535/0.378, allocations: 99.25 kB / 1.033 GB, free: 10.83 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002941/0.3783, allocations: 80.19 kB / 1.033 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3784, allocations: 0 / 1.033 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.562e-05/0.3784, allocations: 19.98 kB / 1.033 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.3788, allocations: 24.17 kB / 1.033 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003934/0.3792, allocations: 213.3 kB / 1.034 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.3794, allocations: 0.7002 MB / 1.034 GB, free: 9.75 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.65e-05/0.3795, allocations: 12.42 kB / 1.034 GB, free: 9.734 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.273e-05/0.3795, allocations: 11.44 kB / 1.034 GB, free: 9.727 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.3795, allocations: 0 / 1.034 GB, free: 9.727 MB / 0.8106 GB Notification: Performance of Templates: time 0.003763/0.3833, allocations: 1.343 MB / 1.036 GB, free: 8.414 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.makefile (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 & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection_res.mat","/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