Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Examples.BoundaryHeatTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extCon.air.T|extCon.glaUns.T|extCon.conWinUns.solid.T|extCon.conWinUns.fluid.T|extCon.frame.T|extCon.radOut.TRad|extCon.shaRad.TSha|extCon.glaSha.T",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer") translateModel(Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extCon.air.T|extCon.glaUns.T|extCon.conWinUns.solid.T|extCon.conWinUns.fluid.T|extCon.frame.T|extCon.radOut.TRad|extCon.shaRad.TSha|extCon.glaSha.T",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008611/0.000861, 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.001056/0.001056, allocations: 179.7 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.375/1.375, allocations: 223.3 MB / 241 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.5/2.5, allocations: 437.8 MB / 0.7128 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003455/0.0003457, allocations: 8 kB / 0.8735 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6862/0.6865, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer): time 0.004728/0.6913, allocations: 4.078 MB / 1.028 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004191/0.6955, allocations: 2.94 MB / 1.031 GB, free: 8.812 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006132/0.6962, allocations: 11.94 kB / 1.031 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002148/0.6983, allocations: 0.8579 MB / 1.031 GB, free: 7.941 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0009995/0.6994, allocations: 318.1 kB / 1.032 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005465/0.6999, allocations: 179.8 kB / 1.032 GB, free: 7.453 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001595/0.7015, allocations: 1.149 MB / 1.033 GB, free: 6.301 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005245/0.7021, allocations: 333.9 kB / 1.033 GB, free: 5.957 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004816/0.7026, allocations: 298.3 kB / 1.034 GB, free: 5.664 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005604/0.7031, allocations: 393.8 kB / 1.034 GB, free: 5.277 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.002e-05/0.7032, allocations: 16 kB / 1.034 GB, free: 5.262 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001463/0.7033, allocations: 47.95 kB / 1.034 GB, free: 5.215 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001507/0.7035, allocations: 139.2 kB / 1.034 GB, free: 5.078 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003164/0.7038, allocations: 399.3 kB / 1.035 GB, free: 4.68 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006687/0.7045, allocations: 0.6934 MB / 1.035 GB, free: 3.984 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.7045, allocations: 4 kB / 1.035 GB, free: 3.98 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.348e-06/0.7045, allocations: 3.984 kB / 1.035 GB, free: 3.977 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.978e-06/0.7045, allocations: 3.938 kB / 1.035 GB, free: 3.973 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001541/0.7061, allocations: 1.054 MB / 1.036 GB, free: 2.863 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.7061, allocations: 8.031 kB / 1.036 GB, free: 2.855 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009576/0.7071, allocations: 243.4 kB / 1.036 GB, free: 2.617 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008184/0.7079, allocations: 0.6674 MB / 1.037 GB, free: 1.91 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.063e-05/0.708, allocations: 37.38 kB / 1.037 GB, free: 1.875 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.327e-05/0.708, allocations: 47.88 kB / 1.037 GB, free: 1.828 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009348/0.709, allocations: 482 kB / 1.038 GB, free: 1.344 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.709, allocations: 0 / 1.038 GB, free: 1.344 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.85e-05/0.709, allocations: 16 kB / 1.038 GB, free: 1.328 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.7091, allocations: 12 kB / 1.038 GB, free: 1.316 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000987/0.7101, allocations: 407.8 kB / 1.038 GB, free: 0.918 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00249/0.7126, allocations: 1.482 MB / 1.04 GB, free: 15.37 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006298/0.7132, allocations: 279.2 kB / 1.04 GB, free: 15.09 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00027/0.7135, allocations: 145.2 kB / 1.04 GB, free: 14.94 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.7135, allocations: 4.234 kB / 1.04 GB, free: 14.94 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.7136, allocations: 34.8 kB / 1.04 GB, free: 14.89 MB / 0.795 GB Notification: Performance of pre-optimization done (n=28): time 1.503e-06/0.7136, allocations: 0 / 1.04 GB, free: 14.89 MB / 0.795 GB Notification: Performance of matching and sorting (n=28): time 0.002034/0.7156, allocations: 0.7005 MB / 1.041 GB, free: 14.17 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.7157, allocations: 85.11 kB / 1.041 GB, free: 14.07 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001246/0.7169, allocations: 0.9271 MB / 1.042 GB, free: 13.12 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.717, allocations: 33.69 kB / 1.042 GB, free: 13.08 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003262/0.7173, allocations: 424.2 kB / 1.042 GB, free: 12.66 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 7.958e-05/0.7174, allocations: 98.66 kB / 1.042 GB, free: 12.56 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.139e-05/0.7174, allocations: 29.7 kB / 1.042 GB, free: 12.53 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.7176, allocations: 318 kB / 1.043 GB, free: 12.21 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003803/0.7179, allocations: 136.5 kB / 1.043 GB, free: 12.08 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004084/0.7184, allocations: 179.8 kB / 1.043 GB, free: 11.89 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006145/0.719, allocations: 269.9 kB / 1.043 GB, free: 11.63 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.719, allocations: 0 / 1.043 GB, free: 11.63 MB / 0.795 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001249/0.7203, allocations: 0.5093 MB / 1.044 GB, free: 11.11 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.861e-05/0.7203, allocations: 99.41 kB / 1.044 GB, free: 11.01 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.7203, allocations: 0 / 1.044 GB, free: 11.01 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004398/0.7208, allocations: 92.78 kB / 1.044 GB, free: 10.91 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003492/0.7211, allocations: 71.89 kB / 1.044 GB, free: 10.84 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001875/0.723, allocations: 1.683 MB / 1.045 GB, free: 9.031 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006425/0.7237, allocations: 87.48 kB / 1.046 GB, free: 8.945 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.733e-05/0.7237, allocations: 11.98 kB / 1.046 GB, free: 8.934 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 8.325e-06/0.7237, allocations: 7.938 kB / 1.046 GB, free: 8.926 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00115/0.7249, allocations: 396.5 kB / 1.046 GB, free: 8.535 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-06/0.7249, allocations: 0 / 1.046 GB, free: 8.535 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003404/0.7252, allocations: 81.03 kB / 1.046 GB, free: 8.453 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003488/0.7256, allocations: 79.88 kB / 1.046 GB, free: 8.375 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001631/0.7272, allocations: 1.664 MB / 1.048 GB, free: 6.574 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005245/0.7278, allocations: 75.64 kB / 1.048 GB, free: 6.5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.99e-05/0.7278, allocations: 4 kB / 1.048 GB, free: 6.496 MB / 0.795 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 (28): * Single equations (assignments): 27 * 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 {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0004318/0.7282, allocations: 347.8 kB / 1.048 GB, free: 6.148 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.7284, allocations: 90.81 kB / 1.048 GB, free: 6.059 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001528/0.7285, allocations: 97.06 kB / 1.048 GB, free: 5.961 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.7286, allocations: 7.938 kB / 1.048 GB, free: 5.953 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.7286, allocations: 0 / 1.048 GB, free: 5.953 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.7286, allocations: 7.969 kB / 1.048 GB, free: 5.945 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001633/0.7302, allocations: 1.048 MB / 1.049 GB, free: 4.828 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.7302, allocations: 0 / 1.049 GB, free: 4.828 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002097/0.7304, allocations: 52.03 kB / 1.049 GB, free: 4.777 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003367/0.7308, allocations: 88.8 kB / 1.049 GB, free: 4.688 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.7308, allocations: 4 kB / 1.049 GB, free: 4.684 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001578/0.7324, allocations: 1.644 MB / 1.051 GB, free: 2.902 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.7324, allocations: 8.094 kB / 1.051 GB, free: 2.895 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009324/0.7334, allocations: 0.5471 MB / 1.052 GB, free: 2.316 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002208/0.7336, allocations: 183.9 kB / 1.052 GB, free: 2.117 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.273e-05/0.7337, allocations: 8 kB / 1.052 GB, free: 2.109 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004145/0.7341, allocations: 35.97 kB / 1.052 GB, free: 2.074 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.542e-05/0.7342, allocations: 23.97 kB / 1.052 GB, free: 2.051 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.7342, allocations: 4 kB / 1.052 GB, free: 2.047 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0009471/0.7351, allocations: 0.6689 MB / 1.053 GB, free: 1.367 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7352, allocations: 0 / 1.053 GB, free: 1.367 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000709/0.7359, allocations: 263.5 kB / 1.053 GB, free: 1.109 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (22): * Single equations (assignments): 21 * 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 {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001373/0.736, allocations: 115 kB / 1.053 GB, free: 0.9883 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001572/0.7376, allocations: 0.7518 MB / 1.054 GB, free: 216 kB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.7376, allocations: 0 / 1.054 GB, free: 216 kB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003789/0.738, allocations: 262.4 kB / 1.054 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009081/0.7389, allocations: 167.5 kB / 1.054 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00226/0.7412, allocations: 1.795 MB / 1.056 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000581/0.7418, allocations: 1.032 MB / 1.057 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.7419, allocations: 43.44 kB / 1.057 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of SimCode: time 4.51e-07/0.7419, allocations: 0 / 1.057 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of Templates: time 0.01703/0.759, allocations: 13.41 MB / 1.07 GB, free: 15.45 MB / 0.8262 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_Examples_BoundaryHeatTransfer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches