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.0009891/0.0009888, allocations: 91.92 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.001504/0.001504, allocations: 185.1 kB / 16.92 MB, free: 6.922 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.382/1.382, allocations: 223.3 MB / 241 MB, free: 5.254 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.412/2.412, allocations: 390.9 MB / 0.667 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003634/0.0003635, allocations: 8 kB / 0.8166 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6668/0.6671, allocations: 142.4 MB / 0.9557 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer): time 0.002882/0.6701, allocations: 2.949 MB / 0.9586 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001253/0.6713, allocations: 0.8298 MB / 0.9594 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002223/0.6716, allocations: 10.47 kB / 0.9594 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001546/0.6717, allocations: 43.95 kB / 0.9595 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003191/0.6721, allocations: 153.5 kB / 0.9596 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003886/0.6725, allocations: 160.9 kB / 0.9598 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005299/0.673, allocations: 0.6217 MB / 0.9604 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003439/0.6734, allocations: 211.7 kB / 0.9606 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002983/0.6737, allocations: 216.9 kB / 0.9608 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002852/0.674, allocations: 248.1 kB / 0.961 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.045e-05/0.674, allocations: 31.36 kB / 0.961 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.988e-05/0.6741, allocations: 23.38 kB / 0.9611 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.401e-05/0.6742, allocations: 92.03 kB / 0.9611 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002045/0.6744, allocations: 259.1 kB / 0.9614 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003231/0.6747, allocations: 417.2 kB / 0.9618 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.6748, allocations: 0 / 0.9618 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.034e-06/0.6748, allocations: 0 / 0.9618 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.066e-06/0.6748, allocations: 0.9688 kB / 0.9618 GB, free: 3.066 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.001254/0.676, allocations: 0.7471 MB / 0.9625 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.6761, allocations: 8.719 kB / 0.9625 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/0.6762, allocations: 57.69 kB / 0.9626 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003436/0.6765, allocations: 347.1 kB / 0.9629 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.905e-05/0.6766, allocations: 36.47 kB / 0.963 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.083e-05/0.6766, allocations: 45.56 kB / 0.963 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006938/0.6773, allocations: 407.4 kB / 0.9634 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.6774, allocations: 0 / 0.9634 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.819e-05/0.6774, allocations: 16.16 kB / 0.9634 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.6774, allocations: 10.5 kB / 0.9634 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006369/0.6781, allocations: 351.6 kB / 0.9637 GB, free: 1.664 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.001935/0.68, allocations: 1.495 MB / 0.9652 GB, free: 468 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006537/0.6807, allocations: 401.9 kB / 0.9656 GB, free: 256 kB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003833/0.6811, allocations: 249.1 kB / 0.9658 GB, free: 128 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.419e-05/0.6811, allocations: 12.23 kB / 0.9658 GB, free: 120 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.885e-05/0.6812, allocations: 41.08 kB / 0.9659 GB, free: 72 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=41): time 1.783e-06/0.6812, allocations: 0 / 0.9659 GB, free: 72 kB / 0.7169 GB Notification: Performance of matching and sorting (n=41): time 0.008332/0.6895, allocations: 1.84 MB / 0.9677 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.6896, allocations: 63.25 kB / 0.9677 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004496/0.69, allocations: 354.9 kB / 0.9681 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.193e-05/0.6901, allocations: 31.83 kB / 0.9681 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.6903, allocations: 218 kB / 0.9683 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001293/0.6904, allocations: 138.8 kB / 0.9684 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.938e-05/0.6905, allocations: 34.8 kB / 0.9685 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.6906, allocations: 347.8 kB / 0.9688 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003278/0.6909, allocations: 143.7 kB / 0.9689 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003707/0.6913, allocations: 206.6 kB / 0.9691 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006583/0.692, allocations: 356.2 kB / 0.9695 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.692, allocations: 0 / 0.9695 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002218/0.6942, allocations: 0.753 MB / 0.9702 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.934e-05/0.6943, allocations: 102.2 kB / 0.9703 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.6943, allocations: 0 / 0.9703 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001891/0.6962, allocations: 460.2 kB / 0.9708 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.6964, allocations: 28.89 kB / 0.9708 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006459/0.7028, allocations: 3.847 MB / 0.9745 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005732/0.7034, allocations: 57.75 kB / 0.9746 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.556e-05/0.7035, allocations: 8.156 kB / 0.9746 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.666e-06/0.7035, allocations: 5.688 kB / 0.9746 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001971/0.7055, allocations: 0.6738 MB / 0.9753 GB, free: 9.668 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.7055, allocations: 5.25 kB / 0.9753 GB, free: 9.664 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001646/0.7071, allocations: 425.9 kB / 0.9757 GB, free: 9.484 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.7073, allocations: 37.78 kB / 0.9757 GB, free: 9.469 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00571/0.713, allocations: 3.707 MB / 0.9793 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005733/0.7136, allocations: 51.58 kB / 0.9794 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.966e-05/0.7137, allocations: 12 kB / 0.9794 GB, free: 6.527 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 (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.0002882/0.714, allocations: 235.9 kB / 0.9796 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.7141, allocations: 39.53 kB / 0.9797 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000152/0.7142, allocations: 64.48 kB / 0.9797 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.7143, allocations: 7.938 kB / 0.9797 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.7143, allocations: 0 / 0.9797 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.7143, allocations: 7.922 kB / 0.9797 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007063/0.715, allocations: 494 kB / 0.9802 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.715, allocations: 0 / 0.9802 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.7151, allocations: 31.92 kB / 0.9802 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001611/0.7168, allocations: 397 kB / 0.9806 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.894e-05/0.7168, allocations: 8 kB / 0.9806 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005809/0.7226, allocations: 3.683 MB / 0.9842 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.7227, allocations: 0 / 0.9842 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00212/0.7248, allocations: 0.8226 MB / 0.985 GB, free: 0.5391 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002119/0.725, allocations: 152.4 kB / 0.9852 GB, free: 380 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.61e-05/0.7251, allocations: 4 kB / 0.9852 GB, free: 376 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003692/0.7255, allocations: 23.92 kB / 0.9852 GB, free: 352 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/0.7256, allocations: 43.88 kB / 0.9852 GB, free: 308 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.29e-05/0.7257, allocations: 11.94 kB / 0.9852 GB, free: 296 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003061/0.726, allocations: 259.2 kB / 0.9855 GB, free: 36 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.726, allocations: 0 / 0.9855 GB, free: 36 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001156/0.7271, allocations: 343.5 kB / 0.9858 GB, free: 15.7 MB / 0.7481 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.0001552/0.7273, allocations: 107.2 kB / 0.9859 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002866/0.7302, allocations: 1.182 MB / 0.9871 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.7302, allocations: 0 / 0.9871 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001126/0.7313, allocations: 0.4975 MB / 0.9876 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000752/0.7321, allocations: 113.7 kB / 0.9877 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/0.7338, allocations: 1.028 MB / 0.9887 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004581/0.7343, allocations: 0.8443 MB / 0.9895 GB, free: 11.83 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.683e-05/0.7344, allocations: 27.38 kB / 0.9895 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of SimCode: time 7.42e-07/0.7344, allocations: 4 kB / 0.9895 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of Templates: time 0.01076/0.7452, allocations: 7.129 MB / 0.9965 GB, free: 4.688 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/jenkins1/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