Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.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_10_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_10_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.006231/0.006231, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.001375/0.001375, allocations: 190.7 kB / 16.67 MB, free: 5.969 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.553/2.553, allocations: 437 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 75.81 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8054/0.8073, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection): time 0.002867/0.8102, allocations: 1.852 MB / 1.168 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001174/0.8114, allocations: 0.7246 MB / 1.169 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.661e-05/0.8115, allocations: 4 kB / 1.169 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.014e-05/0.8115, allocations: 11.86 kB / 1.169 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002188/0.8118, allocations: 47.62 kB / 1.169 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002203/0.812, allocations: 79.78 kB / 1.169 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002296/0.8122, allocations: 131.4 kB / 1.169 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.8124, allocations: 41.31 kB / 1.169 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.585e-05/0.8125, allocations: 47.84 kB / 1.169 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.8126, allocations: 51.77 kB / 1.17 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.8126, allocations: 12 kB / 1.17 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 6.072e-05/0.8127, allocations: 16 kB / 1.17 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.109e-05/0.8127, allocations: 19.92 kB / 1.17 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.388e-05/0.8128, allocations: 51.73 kB / 1.17 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.813, allocations: 120 kB / 1.17 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.813, allocations: 4 kB / 1.17 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.713e-06/0.813, allocations: 0 / 1.17 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.813, allocations: 0 / 1.17 GB, free: 0.625 MB / 0.8887 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.0005603/0.8136, allocations: 422.9 kB / 1.17 GB, free: 168 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.8136, allocations: 8.922 kB / 1.17 GB, free: 160 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.738e-05/0.8137, allocations: 8.891 kB / 1.17 GB, free: 152 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.8139, allocations: 200.2 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.8139, allocations: 4.375 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.8139, allocations: 12.31 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002296/0.8142, allocations: 89.97 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.8142, allocations: 0 / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.8142, allocations: 4 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.8142, allocations: 4 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000219/0.8144, allocations: 63.94 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004753/0.8149, allocations: 372.4 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.8151, allocations: 54.48 kB / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.256e-05/0.8153, allocations: 32.84 kB / 1.171 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.169e-05/0.8153, allocations: 0 / 1.171 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.8153, allocations: 38.55 kB / 1.171 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.8153, allocations: 0 / 1.171 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.000351/0.8157, allocations: 101.5 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.8157, allocations: 55.41 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.8158, allocations: 161 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.8159, allocations: 25.7 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.742e-05/0.8159, allocations: 104.1 kB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.288e-05/0.8159, allocations: 15.84 kB / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.692e-05/0.816, allocations: 17.72 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.8161, allocations: 322.8 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.577e-05/0.8162, allocations: 28.84 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.594e-05/0.8163, allocations: 19.97 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.8165, allocations: 53.09 kB / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.8165, allocations: 0 / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002055/0.8167, allocations: 81.61 kB / 1.172 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.8167, allocations: 22.2 kB / 1.172 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.8167, allocations: 0 / 1.172 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.8167, allocations: 0 / 1.172 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.503e-05/0.8168, allocations: 15.94 kB / 1.172 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.8168, allocations: 3.984 kB / 1.172 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.538e-05/0.8169, allocations: 4 kB / 1.172 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-06/0.8169, allocations: 0 / 1.172 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001194/0.817, allocations: 112.1 kB / 1.172 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.763e-05/0.8171, allocations: 19.98 kB / 1.172 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001374/0.8173, allocations: 48.81 kB / 1.172 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.62e-07/0.8173, allocations: 0 / 1.172 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization_lambda0): time 0.0001994/0.8175, allocations: 81.61 kB / 1.172 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.402e-06/0.8175, allocations: 4 kB / 1.172 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-06/0.8175, allocations: 0 / 1.172 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.765e-06/0.8175, allocations: 3.938 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.453e-05/0.8176, allocations: 19.92 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.416e-06/0.8176, allocations: 7.984 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.02e-05/0.8176, allocations: 4 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/0.8176, allocations: 0 / 1.172 GB, free: 13.79 MB / 0.9044 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.59e-05/0.8177, allocations: 180.2 kB / 1.172 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.439e-05/0.8178, allocations: 15.84 kB / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002386/0.818, allocations: 89.89 kB / 1.173 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.818, allocations: 0 / 1.173 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.8181, allocations: 0 / 1.173 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.8181, allocations: 0 / 1.173 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.8182, allocations: 189.6 kB / 1.173 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.8183, allocations: 0 / 1.173 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.089e-05/0.8183, allocations: 15.92 kB / 1.173 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.8183, allocations: 3.938 kB / 1.173 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.8183, allocations: 0 / 1.173 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.8183, allocations: 0 / 1.173 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.8184, allocations: 8 kB / 1.173 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002295/0.8186, allocations: 175.5 kB / 1.173 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.63e-05/0.8187, allocations: 89.33 kB / 1.173 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.097e-05/0.8187, allocations: 3.938 kB / 1.173 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.192e-05/0.8188, allocations: 7.984 kB / 1.173 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.294e-05/0.8188, allocations: 3.984 kB / 1.173 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.8188, allocations: 0 / 1.173 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.868e-05/0.8189, allocations: 125.5 kB / 1.173 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8189, allocations: 0 / 1.173 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003/0.8192, allocations: 35.95 kB / 1.173 GB, free: 12.77 MB / 0.9044 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.0001481/0.8194, allocations: 107.1 kB / 1.173 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002983/0.8197, allocations: 75.86 kB / 1.173 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.8197, allocations: 8 kB / 1.173 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.366e-05/0.8198, allocations: 15.98 kB / 1.173 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.8201, allocations: 31.28 kB / 1.173 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003675/0.8205, allocations: 205.1 kB / 1.174 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.8208, allocations: 0.7002 MB / 1.174 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.945e-05/0.8208, allocations: 8.422 kB / 1.174 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.444e-05/0.8208, allocations: 11.44 kB / 1.174 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of SimCode: time 3.41e-07/0.8208, allocations: 0 / 1.174 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of Templates: time 0.003691/0.8245, allocations: 1.351 MB / 1.176 GB, free: 10.22 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches