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.001001/0.001001, allocations: 92.08 kB / 15.06 MB, free: 1.098 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.001224/0.001224, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.966/2.966, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004733/0.0004734, allocations: 15.19 kB / 0.9021 GB, free: 36.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3884, allocations: 159.6 MB / 1.058 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection): time 0.002326/0.3908, allocations: 1.533 MB / 1.06 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001216/0.3921, allocations: 0.6665 MB / 1.06 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.563e-05/0.3922, allocations: 4 kB / 1.06 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.92e-05/0.3922, allocations: 7.922 kB / 1.06 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002741/0.3925, allocations: 43.7 kB / 1.06 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001884/0.3927, allocations: 51.92 kB / 1.06 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003043/0.393, allocations: 131.3 kB / 1.06 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.3932, allocations: 25.39 kB / 1.06 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.628e-05/0.3933, allocations: 35.84 kB / 1.06 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001633/0.3934, allocations: 47.78 kB / 1.061 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.3935, allocations: 4 kB / 1.061 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.732e-05/0.3935, allocations: 15.98 kB / 1.061 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.152e-05/0.3936, allocations: 15.92 kB / 1.061 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.026e-05/0.3936, allocations: 45.64 kB / 1.061 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.3938, allocations: 80.06 kB / 1.061 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.3938, allocations: 0 / 1.061 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.746e-06/0.3938, allocations: 0 / 1.061 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.3938, allocations: 0 / 1.061 GB, free: 2.594 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.0005811/0.3944, allocations: 399 kB / 1.061 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.3945, allocations: 12.03 kB / 1.061 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.027e-05/0.3945, allocations: 11.81 kB / 1.061 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.3947, allocations: 196.9 kB / 1.061 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.3948, allocations: 7.953 kB / 1.061 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.3948, allocations: 11.94 kB / 1.061 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002342/0.395, allocations: 93.56 kB / 1.061 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.395, allocations: 0 / 1.061 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/0.3951, allocations: 4 kB / 1.061 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.3951, allocations: 7.938 kB / 1.061 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002106/0.3953, allocations: 77.48 kB / 1.061 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005415/0.3958, allocations: 368.5 kB / 1.062 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/0.3961, allocations: 62.48 kB / 1.062 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.377e-05/0.3962, allocations: 36.89 kB / 1.062 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.3962, allocations: 0 / 1.062 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.3962, allocations: 34.52 kB / 1.062 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.3962, allocations: 0 / 1.062 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0003774/0.3966, allocations: 109.7 kB / 1.062 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.3967, allocations: 55.41 kB / 1.062 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.3968, allocations: 161.7 kB / 1.062 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.3969, allocations: 25.7 kB / 1.062 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.686e-05/0.397, allocations: 115.9 kB / 1.062 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.209e-05/0.397, allocations: 3.906 kB / 1.062 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-06/0.397, allocations: 3.938 kB / 1.062 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.3971, allocations: 326.8 kB / 1.063 GB, free: 312 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.669e-05/0.3972, allocations: 23.98 kB / 1.063 GB, free: 288 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.382e-05/0.3973, allocations: 27.97 kB / 1.063 GB, free: 260 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.491e-05/0.3974, allocations: 27.98 kB / 1.063 GB, free: 232 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3974, allocations: 0 / 1.063 GB, free: 232 kB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002085/0.3976, allocations: 89.56 kB / 1.063 GB, free: 136 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 7.355e-05/0.3977, allocations: 96.98 kB / 1.063 GB, free: 32 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3977, allocations: 4 kB / 1.063 GB, free: 28 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.3977, allocations: 0 / 1.063 GB, free: 28 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.44e-05/0.3978, allocations: 11.98 kB / 1.063 GB, free: 16 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.902e-06/0.3978, allocations: 4 kB / 1.063 GB, free: 12 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.761e-05/0.3979, allocations: 11.89 kB / 1.063 GB, free: 0 / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.267e-05/0.398, allocations: 4.047 kB / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.352e-06/0.398, allocations: 7.938 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001652/0.3981, allocations: 59.91 kB / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-06/0.3982, allocations: 4 kB / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-06/0.3982, allocations: 0 / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.08e-05/0.3982, allocations: 11.98 kB / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.3982, allocations: 8 kB / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.009e-05/0.3983, allocations: 11.89 kB / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.3983, allocations: 4 kB / 1.063 GB, free: 15.89 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001285/0.3985, allocations: 189.1 kB / 1.063 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.05e-05/0.3985, allocations: 11.89 kB / 1.063 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002593/0.3988, allocations: 94.22 kB / 1.063 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.3988, allocations: 8.031 kB / 1.063 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3988, allocations: 0 / 1.063 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.3988, allocations: 7.938 kB / 1.063 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002122/0.399, allocations: 185.6 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.399, allocations: 4 kB / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.024e-05/0.3991, allocations: 11.98 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/0.3991, allocations: 8 kB / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.3991, allocations: 3.938 kB / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3991, allocations: 0 / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3991, allocations: 0 / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002486/0.3994, allocations: 199.2 kB / 1.064 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.34e-05/0.3994, allocations: 89 kB / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.3995, allocations: 4 kB / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.602e-05/0.3996, allocations: 7.984 kB / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.542e-05/0.3996, allocations: 0 / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-06/0.3996, allocations: 4 kB / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.072e-05/0.3997, allocations: 118.1 kB / 1.064 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3997, allocations: 4 kB / 1.064 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002883/0.4, allocations: 35.94 kB / 1.064 GB, free: 14.82 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001764/0.4002, allocations: 103.2 kB / 1.064 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002939/0.4005, allocations: 87.88 kB / 1.064 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4005, allocations: 0 / 1.064 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.755e-05/0.4006, allocations: 23.98 kB / 1.064 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/0.401, allocations: 31.94 kB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004116/0.4014, allocations: 252.8 kB / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.4017, allocations: 0.7004 MB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.668e-05/0.4017, allocations: 8.422 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.408e-05/0.4018, allocations: 11.44 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.4018, allocations: 0 / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of Templates: time 0.004065/0.4058, allocations: 1.185 MB / 1.066 GB, free: 12.39 MB / 0.8262 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