Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.001017/0.001017, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001473/0.001473, allocations: 168.7 kB / 15.95 MB, free: 204 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.654/1.654, allocations: 223.3 MB / 240 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.505/2.505, allocations: 390.9 MB / 0.666 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003937/0.0003938, allocations: 15.98 kB / 0.8154 GB, free: 13.54 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8381/0.8385, allocations: 142.4 MB / 0.9544 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer): time 0.003816/0.8424, allocations: 2.82 MB / 0.9572 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001253/0.8437, allocations: 0.8199 MB / 0.958 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001895/0.8439, allocations: 11.09 kB / 0.958 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001434/0.844, allocations: 43.16 kB / 0.9581 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002567/0.8443, allocations: 145.4 kB / 0.9582 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003362/0.8446, allocations: 135.4 kB / 0.9583 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005062/0.8452, allocations: 0.5929 MB / 0.9589 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000339/0.8455, allocations: 180.1 kB / 0.9591 GB, free: 4 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002945/0.8458, allocations: 209.4 kB / 0.9593 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002969/0.8461, allocations: 234.9 kB / 0.9595 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.781e-05/0.8462, allocations: 27.31 kB / 0.9595 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.103e-05/0.8463, allocations: 24.75 kB / 0.9595 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.708e-05/0.8463, allocations: 86.77 kB / 0.9596 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.929e-05/0.8465, allocations: 110.8 kB / 0.9597 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003226/0.8468, allocations: 413.5 kB / 0.9601 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.8468, allocations: 0 / 0.9601 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.392e-06/0.8468, allocations: 0 / 0.9601 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.764e-06/0.8468, allocations: 0 / 0.9601 GB, free: 3.305 MB / 0.7169 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.001179/0.848, allocations: 0.7561 MB / 0.9609 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.848, allocations: 9.031 kB / 0.9609 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.8482, allocations: 64.45 kB / 0.9609 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003742/0.8485, allocations: 326.4 kB / 0.9612 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.357e-05/0.8486, allocations: 35.12 kB / 0.9613 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.502e-05/0.8487, allocations: 42.09 kB / 0.9613 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006888/0.8494, allocations: 407.8 kB / 0.9617 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.8494, allocations: 3.938 kB / 0.9617 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.757e-05/0.8494, allocations: 19.41 kB / 0.9617 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.8494, allocations: 10.56 kB / 0.9617 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006384/0.8501, allocations: 344.3 kB / 0.9621 GB, free: 1.902 MB / 0.7169 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.001965/0.8521, allocations: 1.495 MB / 0.9635 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006474/0.8527, allocations: 404.1 kB / 0.9639 GB, free: 496 kB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003506/0.8531, allocations: 249 kB / 0.9642 GB, free: 368 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.244e-05/0.8531, allocations: 5 kB / 0.9642 GB, free: 368 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.8532, allocations: 39.72 kB / 0.9642 GB, free: 320 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=41): time 1.733e-06/0.8532, allocations: 4.938 kB / 0.9642 GB, free: 316 kB / 0.7169 GB Notification: Performance of matching and sorting (n=41): time 0.006743/0.8599, allocations: 1.808 MB / 0.966 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.86, allocations: 60.3 kB / 0.966 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003964/0.8604, allocations: 346.5 kB / 0.9664 GB, free: 15 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.518e-05/0.8604, allocations: 32.8 kB / 0.9664 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.8606, allocations: 214.4 kB / 0.9666 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.8607, allocations: 146.1 kB / 0.9667 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.137e-05/0.8607, allocations: 6.156 kB / 0.9667 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.8609, allocations: 350.8 kB / 0.9671 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002907/0.8612, allocations: 140.3 kB / 0.9672 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003495/0.8615, allocations: 202.7 kB / 0.9674 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003095/0.8618, allocations: 160.7 kB / 0.9676 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.8619, allocations: 0 / 0.9676 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002004/0.8639, allocations: 0.7415 MB / 0.9683 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.024e-05/0.864, allocations: 90.36 kB / 0.9684 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.864, allocations: 1 kB / 0.9684 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001819/0.8658, allocations: 456 kB / 0.9688 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.866, allocations: 29.08 kB / 0.9688 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006678/0.8727, allocations: 3.852 MB / 0.9726 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004816/0.8732, allocations: 55.34 kB / 0.9726 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.719e-05/0.8732, allocations: 8 kB / 0.9726 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.8732, allocations: 4.438 kB / 0.9727 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001785/0.875, allocations: 0.6713 MB / 0.9733 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.875, allocations: 0 / 0.9733 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001404/0.8764, allocations: 427.2 kB / 0.9737 GB, free: 9.875 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.8766, allocations: 29.08 kB / 0.9737 GB, free: 9.867 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00549/0.8821, allocations: 3.689 MB / 0.9773 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004888/0.8826, allocations: 50.45 kB / 0.9774 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.762e-05/0.8826, allocations: 19.38 kB / 0.9774 GB, free: 7.059 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 26} Notification: Performance of prepare postOptimizeDAE: time 0.0003511/0.883, allocations: 232.9 kB / 0.9776 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.292e-05/0.8831, allocations: 39.59 kB / 0.9777 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001259/0.8832, allocations: 61.58 kB / 0.9777 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.8832, allocations: 9.109 kB / 0.9777 GB, free: 6.766 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.8832, allocations: 0 / 0.9777 GB, free: 6.766 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.8832, allocations: 3.984 kB / 0.9777 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007137/0.884, allocations: 0.4952 MB / 0.9782 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.884, allocations: 4 kB / 0.9782 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001181/0.8841, allocations: 23.64 kB / 0.9783 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001369/0.8855, allocations: 405.2 kB / 0.9786 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.466e-05/0.8855, allocations: 8 kB / 0.9786 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005173/0.8907, allocations: 3.659 MB / 0.9822 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.8907, allocations: 0 / 0.9822 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001688/0.8924, allocations: 0.8264 MB / 0.983 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001629/0.8926, allocations: 144.5 kB / 0.9832 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.773e-05/0.8926, allocations: 7.984 kB / 0.9832 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00027/0.8929, allocations: 27.83 kB / 0.9832 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.184e-05/0.893, allocations: 31.95 kB / 0.9832 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.081e-05/0.893, allocations: 16 kB / 0.9832 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002812/0.8933, allocations: 247.2 kB / 0.9835 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8933, allocations: 3.938 kB / 0.9835 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001035/0.8944, allocations: 339.5 kB / 0.9838 GB, free: 0.5469 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 26} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001432/0.8945, allocations: 111.2 kB / 0.9839 GB, free: 436 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002412/0.897, allocations: 1.179 MB / 0.9851 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.897, allocations: 4 kB / 0.9851 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0009497/0.8979, allocations: 0.5058 MB / 0.9856 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006277/0.8986, allocations: 119 kB / 0.9857 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/0.9001, allocations: 0.9652 MB / 0.9866 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004208/0.9005, allocations: 0.8482 MB / 0.9874 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000154/0.9007, allocations: 35.27 kB / 0.9875 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.079e-05/0.9007, allocations: 23.44 kB / 0.9875 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of SimCode: time 4.41e-07/0.9007, allocations: 0 / 0.9875 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of Templates: time 0.02012/0.9209, allocations: 11.92 MB / 0.9991 GB, free: 0.8594 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches