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: 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.01042/0.01042, allocations: 100.6 kB / 15.73 MB, free: 6.008 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.002121/0.002121, allocations: 189.6 kB / 16.67 MB, free: 5.934 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.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.561/2.561, allocations: 472.6 MB / 0.7453 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 59.91 kB / 1.069 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8383/0.8396, allocations: 159.9 MB / 1.226 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection): time 0.002806/0.8424, allocations: 1.857 MB / 1.227 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001197/0.8436, allocations: 0.7322 MB / 1.228 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.714e-05/0.8437, allocations: 4 kB / 1.228 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.821e-05/0.8438, allocations: 11.86 kB / 1.228 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002358/0.844, allocations: 51.62 kB / 1.228 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002055/0.8442, allocations: 67.8 kB / 1.228 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002374/0.8445, allocations: 139.4 kB / 1.228 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.8446, allocations: 49.31 kB / 1.228 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.121e-05/0.8447, allocations: 43.86 kB / 1.229 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.8448, allocations: 51.77 kB / 1.229 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.8449, allocations: 8 kB / 1.229 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 6.14e-05/0.8449, allocations: 15.98 kB / 1.229 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.195e-05/0.845, allocations: 15.94 kB / 1.229 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.405e-05/0.845, allocations: 51.73 kB / 1.229 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.8452, allocations: 124.1 kB / 1.229 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.8452, allocations: 0 / 1.229 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.292e-06/0.8452, allocations: 0 / 1.229 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.8452, allocations: 0 / 1.229 GB, free: 10.33 MB / 0.9512 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.0005619/0.8458, allocations: 414.9 kB / 1.229 GB, free: 9.879 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.8458, allocations: 12.03 kB / 1.229 GB, free: 9.867 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.887e-05/0.8459, allocations: 12.84 kB / 1.229 GB, free: 9.855 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.8461, allocations: 192.2 kB / 1.229 GB, free: 9.629 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.8461, allocations: 8.375 kB / 1.229 GB, free: 9.621 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.8462, allocations: 16.31 kB / 1.229 GB, free: 9.605 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002256/0.8464, allocations: 91.12 kB / 1.229 GB, free: 9.512 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.8464, allocations: 3.938 kB / 1.229 GB, free: 9.508 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.8464, allocations: 8 kB / 1.229 GB, free: 9.5 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.8464, allocations: 0 / 1.229 GB, free: 9.5 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002116/0.8467, allocations: 63.94 kB / 1.23 GB, free: 9.438 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004888/0.8472, allocations: 376.5 kB / 1.23 GB, free: 9.02 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002132/0.8474, allocations: 54.48 kB / 1.23 GB, free: 8.957 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.526e-05/0.8475, allocations: 28.89 kB / 1.23 GB, free: 8.926 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.8475, allocations: 0 / 1.23 GB, free: 8.926 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.8475, allocations: 34.56 kB / 1.23 GB, free: 8.883 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.8475, allocations: 3.938 kB / 1.23 GB, free: 8.879 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.000374/0.8479, allocations: 97.72 kB / 1.23 GB, free: 8.777 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.848, allocations: 51.41 kB / 1.23 GB, free: 8.715 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.8481, allocations: 156.9 kB / 1.23 GB, free: 8.551 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.8481, allocations: 25.7 kB / 1.23 GB, free: 8.52 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.722e-05/0.8482, allocations: 104.1 kB / 1.23 GB, free: 8.414 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.646e-05/0.8482, allocations: 19.84 kB / 1.23 GB, free: 8.395 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/0.8482, allocations: 13.72 kB / 1.23 GB, free: 8.375 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.8484, allocations: 318.8 kB / 1.231 GB, free: 8.055 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.711e-05/0.8485, allocations: 28.83 kB / 1.231 GB, free: 8.023 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.974e-05/0.8486, allocations: 23.97 kB / 1.231 GB, free: 8 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.8487, allocations: 56.75 kB / 1.231 GB, free: 7.941 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.8487, allocations: 0 / 1.231 GB, free: 7.941 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002164/0.849, allocations: 81.61 kB / 1.231 GB, free: 7.855 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.849, allocations: 7.938 kB / 1.231 GB, free: 7.848 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.849, allocations: 0 / 1.231 GB, free: 7.848 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.849, allocations: 4 kB / 1.231 GB, free: 7.844 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.791e-05/0.8491, allocations: 15.98 kB / 1.231 GB, free: 7.828 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.8491, allocations: 8 kB / 1.231 GB, free: 7.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.734e-05/0.8492, allocations: 4 kB / 1.231 GB, free: 7.816 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.75e-06/0.8492, allocations: 0 / 1.231 GB, free: 7.816 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001262/0.8493, allocations: 108.1 kB / 1.231 GB, free: 7.707 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.449e-05/0.8494, allocations: 19.97 kB / 1.231 GB, free: 7.688 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001624/0.8496, allocations: 52.75 kB / 1.231 GB, free: 7.633 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.81e-07/0.8496, allocations: 4 kB / 1.231 GB, free: 7.629 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization_lambda0): time 0.0002013/0.8498, allocations: 81.61 kB / 1.231 GB, free: 7.543 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 6.943e-06/0.8498, allocations: 5.875 kB / 1.231 GB, free: 7.539 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-06/0.8498, allocations: 0 / 1.231 GB, free: 7.539 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.875e-06/0.8498, allocations: 3.938 kB / 1.231 GB, free: 7.535 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.433e-05/0.8499, allocations: 11.98 kB / 1.231 GB, free: 7.523 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-06/0.8499, allocations: 0 / 1.231 GB, free: 7.523 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.493e-05/0.85, allocations: 15.89 kB / 1.231 GB, free: 7.508 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-06/0.85, allocations: 11.94 kB / 1.231 GB, free: 7.496 MB / 0.9512 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.479e-05/0.8501, allocations: 184.7 kB / 1.231 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.043e-05/0.8501, allocations: 11.89 kB / 1.231 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002408/0.8504, allocations: 85.89 kB / 1.232 GB, free: 7.199 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.8504, allocations: 0 / 1.232 GB, free: 7.199 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/0.8504, allocations: 0 / 1.232 GB, free: 7.199 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.8504, allocations: 0 / 1.232 GB, free: 7.199 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.8506, allocations: 189.6 kB / 1.232 GB, free: 6.965 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.8506, allocations: 0 / 1.232 GB, free: 6.965 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.81e-05/0.8506, allocations: 11.98 kB / 1.232 GB, free: 6.953 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.8507, allocations: 3.938 kB / 1.232 GB, free: 6.949 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.8507, allocations: 0 / 1.232 GB, free: 6.949 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.8507, allocations: 0 / 1.232 GB, free: 6.949 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.8507, allocations: 0 / 1.232 GB, free: 6.949 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002453/0.8509, allocations: 187.7 kB / 1.232 GB, free: 6.75 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.531e-05/0.851, allocations: 85.06 kB / 1.232 GB, free: 6.648 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.851, allocations: 7.938 kB / 1.232 GB, free: 6.641 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.545e-05/0.8511, allocations: 7.984 kB / 1.232 GB, free: 6.633 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.317e-05/0.8512, allocations: 0 / 1.232 GB, free: 6.633 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.8512, allocations: 0 / 1.232 GB, free: 6.633 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.381e-05/0.8513, allocations: 120.9 kB / 1.232 GB, free: 6.516 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8513, allocations: 0 / 1.232 GB, free: 6.516 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003062/0.8516, allocations: 35.95 kB / 1.232 GB, free: 6.48 MB / 0.9512 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.0001619/0.8517, allocations: 115.1 kB / 1.232 GB, free: 6.359 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003026/0.8521, allocations: 67.88 kB / 1.232 GB, free: 6.293 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.8521, allocations: 0 / 1.232 GB, free: 6.293 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 8.511e-05/0.8522, allocations: 23.98 kB / 1.232 GB, free: 6.27 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.8525, allocations: 23.98 kB / 1.232 GB, free: 6.246 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004461/0.8529, allocations: 221.2 kB / 1.233 GB, free: 6.004 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.8533, allocations: 0.7001 MB / 1.233 GB, free: 5.277 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.332e-05/0.8533, allocations: 8.438 kB / 1.233 GB, free: 5.27 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.786e-05/0.8533, allocations: 11.44 kB / 1.233 GB, free: 5.258 MB / 0.9512 GB Notification: Performance of SimCode: time 3.31e-07/0.8533, allocations: 0 / 1.233 GB, free: 5.258 MB / 0.9512 GB Notification: Performance of Templates: time 0.004053/0.8574, allocations: 1.348 MB / 1.235 GB, free: 3.93 MB / 0.9512 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 -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/jenkins/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