Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.GlassLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TAirOut.T|TRadOut.T|nonSha.port_a.T|nonSha.port_b.T|sha.port_a.T|sha.port_b.T|TAirRoo.T",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TAirOut.T|TRadOut.T|nonSha.port_a.T|nonSha.port_b.T|sha.port_a.T|sha.port_b.T|TAirRoo.T",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009548/0.0009548, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.007753/0.007753, allocations: 171.1 kB / 16.26 MB, free: 6.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.429/1.429, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.84/2.84, allocations: 462.7 MB / 0.7364 GB, free: 300 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004001/0.0004001, allocations: 9 kB / 0.9028 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.343, allocations: 159.6 MB / 1.059 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer): time 0.003611/0.3467, allocations: 2.955 MB / 1.062 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00176/0.3485, allocations: 0.8506 MB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003981/0.3489, allocations: 4 kB / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002444/0.3491, allocations: 51.55 kB / 1.062 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005953/0.3498, allocations: 142.9 kB / 1.063 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005407/0.3503, allocations: 159.8 kB / 1.063 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0009223/0.3512, allocations: 0.6234 MB / 1.063 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004646/0.3517, allocations: 211.5 kB / 1.064 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004521/0.3522, allocations: 219.1 kB / 1.064 GB, free: 292 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004745/0.3527, allocations: 250.8 kB / 1.064 GB, free: 40 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.000113/0.3528, allocations: 24 kB / 1.064 GB, free: 16 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001349/0.3529, allocations: 27.98 kB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.3531, allocations: 91.53 kB / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003401/0.3534, allocations: 256.4 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005854/0.354, allocations: 0.5294 MB / 1.065 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.354, allocations: 0 / 1.065 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.374e-06/0.354, allocations: 4 kB / 1.065 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.781e-05/0.3541, allocations: 0 / 1.065 GB, free: 15.11 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001746/0.3558, allocations: 0.7407 MB / 1.066 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.3559, allocations: 8.031 kB / 1.066 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002083/0.3561, allocations: 60.22 kB / 1.066 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006311/0.3567, allocations: 351.1 kB / 1.066 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.293e-05/0.3568, allocations: 37.38 kB / 1.066 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.238e-05/0.3569, allocations: 40.38 kB / 1.066 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000866/0.3578, allocations: 406.8 kB / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.3578, allocations: 3.938 kB / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.324e-05/0.3578, allocations: 16 kB / 1.066 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.3579, allocations: 8 kB / 1.067 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007629/0.3586, allocations: 351.8 kB / 1.067 GB, free: 13.02 MB / 0.8262 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002605/0.3612, allocations: 1.498 MB / 1.068 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008751/0.3621, allocations: 393.1 kB / 1.069 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004291/0.3626, allocations: 245.2 kB / 1.069 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.281e-05/0.3626, allocations: 11.98 kB / 1.069 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.3627, allocations: 34.56 kB / 1.069 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=41): time 3.006e-06/0.3627, allocations: 0 / 1.069 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of matching and sorting (n=41): time 0.008216/0.3709, allocations: 1.847 MB / 1.071 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/0.371, allocations: 63.28 kB / 1.071 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004887/0.3715, allocations: 357.7 kB / 1.071 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.482e-05/0.3715, allocations: 29.7 kB / 1.071 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002644/0.3718, allocations: 216.6 kB / 1.071 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/0.372, allocations: 141.9 kB / 1.072 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.947e-05/0.372, allocations: 37.7 kB / 1.072 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001829/0.3722, allocations: 346.8 kB / 1.072 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003151/0.3726, allocations: 139.9 kB / 1.072 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004478/0.373, allocations: 213.9 kB / 1.072 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006352/0.3737, allocations: 336.5 kB / 1.073 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.3737, allocations: 0 / 1.073 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002316/0.376, allocations: 0.7672 MB / 1.073 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.291e-05/0.3761, allocations: 96.94 kB / 1.073 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.3761, allocations: 0 / 1.073 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001897/0.378, allocations: 456.4 kB / 1.074 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.3782, allocations: 27.92 kB / 1.074 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007147/0.3853, allocations: 3.857 MB / 1.078 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005853/0.3859, allocations: 55.72 kB / 1.078 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.909e-05/0.386, allocations: 8 kB / 1.078 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.386, allocations: 4 kB / 1.078 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002021/0.388, allocations: 0.6761 MB / 1.078 GB, free: 0.8672 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.3881, allocations: 3.938 kB / 1.078 GB, free: 0.8633 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00164/0.3897, allocations: 425 kB / 1.079 GB, free: 456 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.3899, allocations: 39.86 kB / 1.079 GB, free: 416 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006439/0.3963, allocations: 3.705 MB / 1.082 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005671/0.3969, allocations: 51.64 kB / 1.082 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.372e-05/0.397, allocations: 12 kB / 1.082 GB, free: 12.49 MB / 0.8419 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0003235/0.3973, allocations: 229 kB / 1.083 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.3974, allocations: 39.53 kB / 1.083 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001637/0.3976, allocations: 64.48 kB / 1.083 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.3976, allocations: 4 kB / 1.083 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3976, allocations: 4 kB / 1.083 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.3976, allocations: 7.922 kB / 1.083 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007455/0.3984, allocations: 498 kB / 1.083 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.265e-06/0.3984, allocations: 4.125 kB / 1.083 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/0.3985, allocations: 23.98 kB / 1.083 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001619/0.4002, allocations: 400.7 kB / 1.084 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.022e-05/0.4002, allocations: 8 kB / 1.084 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006086/0.4063, allocations: 3.67 MB / 1.087 GB, free: 7.367 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.4063, allocations: 4 kB / 1.087 GB, free: 7.363 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002156/0.4085, allocations: 0.8238 MB / 1.088 GB, free: 6.52 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002295/0.4088, allocations: 148.5 kB / 1.088 GB, free: 6.355 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.638e-05/0.4088, allocations: 11.98 kB / 1.088 GB, free: 6.344 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004491/0.4093, allocations: 19.98 kB / 1.088 GB, free: 6.324 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.4094, allocations: 35.95 kB / 1.088 GB, free: 6.289 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.273e-05/0.4094, allocations: 11.94 kB / 1.088 GB, free: 6.277 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003082/0.4097, allocations: 259.1 kB / 1.089 GB, free: 6.027 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4097, allocations: 0 / 1.089 GB, free: 6.027 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001166/0.4109, allocations: 339.4 kB / 1.089 GB, free: 5.695 MB / 0.8419 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,26)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001853/0.4111, allocations: 115.2 kB / 1.089 GB, free: 5.574 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002943/0.4141, allocations: 1.174 MB / 1.09 GB, free: 4.371 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.4141, allocations: 0 / 1.09 GB, free: 4.371 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001189/0.4153, allocations: 0.509 MB / 1.091 GB, free: 3.848 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007161/0.416, allocations: 115.8 kB / 1.091 GB, free: 3.738 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001816/0.4178, allocations: 0.9914 MB / 1.092 GB, free: 2.719 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005181/0.4184, allocations: 0.8443 MB / 1.093 GB, free: 1.848 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002037/0.4186, allocations: 39.27 kB / 1.093 GB, free: 1.812 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.705e-05/0.4186, allocations: 19.44 kB / 1.093 GB, free: 1.793 MB / 0.8419 GB Notification: Performance of SimCode: time 3.81e-07/0.4187, allocations: 3.938 kB / 1.093 GB, free: 1.789 MB / 0.8419 GB Notification: Performance of Templates: time 0.02364/0.4423, allocations: 12.36 MB / 1.105 GB, free: 5.562 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches