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.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.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.001107/0.001107, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 172.2 kB / 16.92 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.386/1.386, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.717/2.717, allocations: 462.6 MB / 0.737 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003361/0.0003362, allocations: 11.7 kB / 0.9034 GB, free: 36.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2919, allocations: 159.6 MB / 1.059 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer): time 0.003678/0.2956, allocations: 2.951 MB / 1.062 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001647/0.2973, allocations: 0.8529 MB / 1.063 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003509/0.2977, allocations: 8 kB / 1.063 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002704/0.298, allocations: 43.62 kB / 1.063 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005293/0.2985, allocations: 146.8 kB / 1.063 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004862/0.299, allocations: 154.8 kB / 1.063 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0007745/0.2998, allocations: 0.6234 MB / 1.064 GB, free: 168 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004064/0.3002, allocations: 211.5 kB / 1.064 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003974/0.3006, allocations: 219.1 kB / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004062/0.301, allocations: 250.8 kB / 1.065 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.897e-05/0.3011, allocations: 24 kB / 1.065 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.065e-05/0.3012, allocations: 24 kB / 1.065 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.3014, allocations: 83.66 kB / 1.065 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002854/0.3017, allocations: 272.3 kB / 1.065 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003947/0.3021, allocations: 411.1 kB / 1.065 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3021, allocations: 0 / 1.065 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.214e-06/0.3021, allocations: 4 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.595e-05/0.3021, allocations: 0 / 1.065 GB, free: 14.68 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.001528/0.3037, allocations: 0.7446 MB / 1.066 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.3037, allocations: 11.97 kB / 1.066 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001746/0.3039, allocations: 60.28 kB / 1.066 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005159/0.3044, allocations: 339.2 kB / 1.067 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.712e-05/0.3045, allocations: 33.38 kB / 1.067 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.772e-05/0.3046, allocations: 48.38 kB / 1.067 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008076/0.3054, allocations: 406.8 kB / 1.067 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.3054, allocations: 0 / 1.067 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.685e-05/0.3054, allocations: 19.98 kB / 1.067 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.3055, allocations: 8 kB / 1.067 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007101/0.3062, allocations: 347.8 kB / 1.067 GB, free: 12.6 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.002459/0.3087, allocations: 1.505 MB / 1.069 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007427/0.3094, allocations: 399 kB / 1.069 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004021/0.3098, allocations: 240.8 kB / 1.069 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.866e-05/0.3099, allocations: 8 kB / 1.069 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.3099, allocations: 30.56 kB / 1.069 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=41): time 1.873e-06/0.3099, allocations: 0 / 1.069 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of matching and sorting (n=41): time 0.007841/0.3178, allocations: 1.855 MB / 1.071 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.3178, allocations: 59.34 kB / 1.071 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004177/0.3182, allocations: 357.6 kB / 1.072 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.35e-05/0.3183, allocations: 29.7 kB / 1.072 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.3185, allocations: 216.6 kB / 1.072 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.3186, allocations: 141.9 kB / 1.072 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.406e-05/0.3186, allocations: 33.7 kB / 1.072 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.3188, allocations: 346.8 kB / 1.072 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002895/0.3191, allocations: 143.9 kB / 1.073 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003525/0.3194, allocations: 217.8 kB / 1.073 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006006/0.32, allocations: 337.2 kB / 1.073 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.32, allocations: 0 / 1.073 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002112/0.3222, allocations: 0.7626 MB / 1.074 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.069e-05/0.3222, allocations: 100.9 kB / 1.074 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.3223, allocations: 0 / 1.074 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001805/0.3241, allocations: 464.9 kB / 1.074 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.3242, allocations: 23.98 kB / 1.074 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006364/0.3306, allocations: 3.858 MB / 1.078 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000505/0.3311, allocations: 51.73 kB / 1.078 GB, free: 1.125 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.012e-05/0.3312, allocations: 8 kB / 1.078 GB, free: 1.117 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.387e-06/0.3312, allocations: 6.031 kB / 1.078 GB, free: 1.113 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001945/0.3331, allocations: 0.6802 MB / 1.079 GB, free: 440 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.3332, allocations: 11.98 kB / 1.079 GB, free: 428 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001587/0.3347, allocations: 424.4 kB / 1.079 GB, free: 0 / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.3349, allocations: 31.92 kB / 1.079 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005535/0.3405, allocations: 3.694 MB / 1.083 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004984/0.341, allocations: 55.62 kB / 1.083 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.449e-05/0.341, allocations: 12 kB / 1.083 GB, free: 12.06 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.0002354/0.3412, allocations: 229 kB / 1.083 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.902e-05/0.3413, allocations: 39.53 kB / 1.083 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001413/0.3415, allocations: 68.47 kB / 1.083 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.3415, allocations: 4 kB / 1.083 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.3415, allocations: 4 kB / 1.083 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.3415, allocations: 3.938 kB / 1.083 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006321/0.3421, allocations: 0.494 MB / 1.084 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.3422, allocations: 3.984 kB / 1.084 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.3423, allocations: 27.97 kB / 1.084 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001536/0.3438, allocations: 397.3 kB / 1.084 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.507e-05/0.3439, allocations: 8 kB / 1.084 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005632/0.3495, allocations: 3.682 MB / 1.088 GB, free: 6.918 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3495, allocations: 4 kB / 1.088 GB, free: 6.914 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001984/0.3515, allocations: 0.8238 MB / 1.089 GB, free: 6.07 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001803/0.3517, allocations: 148.5 kB / 1.089 GB, free: 5.906 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.03e-05/0.3518, allocations: 8 kB / 1.089 GB, free: 5.898 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003269/0.3521, allocations: 19.98 kB / 1.089 GB, free: 5.879 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.3522, allocations: 35.94 kB / 1.089 GB, free: 5.844 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.321e-05/0.3523, allocations: 15.94 kB / 1.089 GB, free: 5.828 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002653/0.3525, allocations: 251.2 kB / 1.089 GB, free: 5.582 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3525, allocations: 0 / 1.089 GB, free: 5.582 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001004/0.3535, allocations: 343.4 kB / 1.089 GB, free: 5.246 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.0001461/0.3537, allocations: 103.2 kB / 1.09 GB, free: 5.137 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002727/0.3564, allocations: 1.182 MB / 1.091 GB, free: 3.926 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.3564, allocations: 0 / 1.091 GB, free: 3.926 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0011/0.3576, allocations: 0.5051 MB / 1.091 GB, free: 3.406 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007114/0.3583, allocations: 114.8 kB / 1.091 GB, free: 3.297 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/0.36, allocations: 1.029 MB / 1.092 GB, free: 2.234 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004964/0.3605, allocations: 0.8482 MB / 1.093 GB, free: 1.359 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.205e-05/0.3606, allocations: 23.44 kB / 1.093 GB, free: 1.336 MB / 0.8419 GB Notification: Performance of SimCode: time 3.8e-07/0.3606, allocations: 0 / 1.093 GB, free: 1.336 MB / 0.8419 GB Notification: Performance of Templates: time 0.01134/0.372, allocations: 7.136 MB / 1.1 GB, free: 10.23 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/jenkins1/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