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.0008901/0.0008905, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.00753/0.00753, allocations: 168.5 kB / 16.26 MB, free: 6.652 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.437/1.437, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.962/2.962, allocations: 462.6 MB / 0.7363 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0006343/0.0006343, allocations: 10.67 kB / 0.9027 GB, free: 36.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3648, allocations: 159.6 MB / 1.059 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection): time 0.002806/0.3676, allocations: 1.564 MB / 1.06 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001554/0.3692, allocations: 0.709 MB / 1.061 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.028e-05/0.3693, allocations: 0 / 1.061 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.223e-05/0.3694, allocations: 15.86 kB / 1.061 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002875/0.3697, allocations: 35.75 kB / 1.061 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.3699, allocations: 67.86 kB / 1.061 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000272/0.3702, allocations: 123.4 kB / 1.061 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.3704, allocations: 33.38 kB / 1.061 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.853e-05/0.3705, allocations: 39.86 kB / 1.061 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.3706, allocations: 43.78 kB / 1.061 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.3707, allocations: 7.938 kB / 1.061 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.124e-05/0.3708, allocations: 19.97 kB / 1.061 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.207e-05/0.3708, allocations: 15.92 kB / 1.061 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.827e-05/0.3709, allocations: 69.45 kB / 1.061 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001921/0.3711, allocations: 111.8 kB / 1.061 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.3711, allocations: 0 / 1.061 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.774e-06/0.3711, allocations: 0 / 1.061 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.3711, allocations: 0 / 1.061 GB, free: 2.137 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.0006228/0.3717, allocations: 399.2 kB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.3718, allocations: 19.91 kB / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.599e-05/0.3719, allocations: 12.75 kB / 1.062 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/0.3721, allocations: 196.1 kB / 1.062 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.3721, allocations: 8.375 kB / 1.062 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.3722, allocations: 4.375 kB / 1.062 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003016/0.3725, allocations: 107.5 kB / 1.062 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.3725, allocations: 0 / 1.062 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.3725, allocations: 4 kB / 1.062 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.82e-06/0.3725, allocations: 0 / 1.062 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002968/0.3728, allocations: 75.95 kB / 1.062 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006352/0.3735, allocations: 380.3 kB / 1.063 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002863/0.3738, allocations: 58.47 kB / 1.063 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/0.3739, allocations: 32.91 kB / 1.063 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.374, allocations: 0 / 1.063 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.374, allocations: 34.56 kB / 1.063 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.374, allocations: 0 / 1.063 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0004909/0.3745, allocations: 117.6 kB / 1.063 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.3746, allocations: 59.33 kB / 1.063 GB, free: 492 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.3747, allocations: 152.7 kB / 1.063 GB, free: 328 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.3748, allocations: 25.7 kB / 1.063 GB, free: 296 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.933e-05/0.3749, allocations: 111.9 kB / 1.063 GB, free: 180 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.311e-05/0.3749, allocations: 7.906 kB / 1.063 GB, free: 172 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-05/0.3749, allocations: 21.7 kB / 1.063 GB, free: 144 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.3751, allocations: 318.8 kB / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.3752, allocations: 23.97 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.3754, allocations: 23.98 kB / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002374/0.3756, allocations: 60.81 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.3756, allocations: 0 / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003135/0.376, allocations: 101.6 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.674e-05/0.376, allocations: 92.94 kB / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.3761, allocations: 0 / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.3761, allocations: 3.938 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.3762, allocations: 15.98 kB / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.3762, allocations: 0 / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.967e-05/0.3763, allocations: 15.98 kB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.3763, allocations: 4 kB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.208e-06/0.3763, allocations: 4 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002439/0.3766, allocations: 55.95 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-06/0.3766, allocations: 0 / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-06/0.3766, allocations: 4 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.971e-05/0.3767, allocations: 16 kB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.3767, allocations: 3.938 kB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.933e-05/0.3768, allocations: 23.77 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-06/0.3768, allocations: 0 / 1.064 GB, free: 15.36 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001355/0.377, allocations: 193.1 kB / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.303e-05/0.377, allocations: 7.906 kB / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003385/0.3774, allocations: 97.89 kB / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3774, allocations: 3.938 kB / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3774, allocations: 0 / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.3774, allocations: 0 / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000266/0.3777, allocations: 185.6 kB / 1.064 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3777, allocations: 4 kB / 1.064 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.706e-05/0.3778, allocations: 16.41 kB / 1.064 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3778, allocations: 3.938 kB / 1.064 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.3778, allocations: 0 / 1.064 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.3778, allocations: 3.938 kB / 1.064 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3779, allocations: 0 / 1.064 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003481/0.3782, allocations: 191.3 kB / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.723e-05/0.3783, allocations: 93 kB / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.3783, allocations: 0 / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.3785, allocations: 15.92 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.585e-05/0.3785, allocations: 0 / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.3785, allocations: 4 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001256/0.3787, allocations: 122.1 kB / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3787, allocations: 0 / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000455/0.3791, allocations: 39.84 kB / 1.065 GB, free: 14.3 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 (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.0002111/0.3794, allocations: 107.2 kB / 1.065 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004401/0.3798, allocations: 87.88 kB / 1.065 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3798, allocations: 0 / 1.065 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.3799, allocations: 23.98 kB / 1.065 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005064/0.3805, allocations: 27.98 kB / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005172/0.381, allocations: 260.9 kB / 1.065 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.3813, allocations: 0.6965 MB / 1.066 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.776e-05/0.3814, allocations: 8.422 kB / 1.066 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.358e-05/0.3814, allocations: 11.44 kB / 1.066 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.3815, allocations: 4 kB / 1.066 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of Templates: time 0.004867/0.3863, allocations: 1.238 MB / 1.067 GB, free: 11.82 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