Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.453/1.453, allocations: 249.5 MB / 257 MB, free: 7.004 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001169/0.001169, allocations: 187.6 kB / 316.3 MB, free: 3.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.944/1.944, allocations: 205.3 MB / 0.5672 GB, free: 15.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008932/0.0008929, allocations: 82.48 kB / 0.6714 GB, free: 4.973 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.249e-05/2.217e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2968, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9304/1.227, allocations: 138.6 MB / 1.021 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003265/1.228, allocations: 84.88 kB / 1.021 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02969/1.257, allocations: 10.08 MB / 1.031 GB, free: 6.66 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.653e-06/1.257, allocations: 0 / 1.031 GB, free: 6.66 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.725e-05/1.257, allocations: 12 kB / 1.031 GB, free: 6.648 MB / 0.6511 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.001341/1.259, allocations: 0.6879 MB / 1.031 GB, free: 5.941 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.943e-05/1.259, allocations: 15.97 kB / 1.031 GB, free: 5.926 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/1.259, allocations: 59.3 kB / 1.031 GB, free: 5.867 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005814/1.26, allocations: 351.5 kB / 1.032 GB, free: 5.527 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.759e-05/1.26, allocations: 16 kB / 1.032 GB, free: 5.512 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.594e-05/1.26, allocations: 24 kB / 1.032 GB, free: 5.488 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005479/1.26, allocations: 281.6 kB / 1.032 GB, free: 5.316 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005922/1.261, allocations: 318.6 kB / 1.032 GB, free: 5.082 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/1.261, allocations: 0 / 1.032 GB, free: 5.082 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.398e-05/1.261, allocations: 0 / 1.032 GB, free: 5.082 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.752e-05/1.261, allocations: 19.94 kB / 1.032 GB, free: 5.062 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002313/1.263, allocations: 1.183 MB / 1.033 GB, free: 4.094 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006248/1.264, allocations: 378.2 kB / 1.034 GB, free: 3.852 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000297/1.264, allocations: 212.3 kB / 1.034 GB, free: 3.723 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.245e-05/1.264, allocations: 4 kB / 1.034 GB, free: 3.719 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/1.264, allocations: 34.31 kB / 1.034 GB, free: 3.68 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=41): time 1.803e-06/1.264, allocations: 8 kB / 1.034 GB, free: 3.672 MB / 0.6511 GB Notification: Performance of matching and sorting (n=41): time 0.001911/1.266, allocations: 0.6508 MB / 1.035 GB, free: 3.152 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/1.266, allocations: 55.41 kB / 1.035 GB, free: 3.086 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002832/1.267, allocations: 232.4 kB / 1.035 GB, free: 2.891 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.324e-05/1.267, allocations: 29.7 kB / 1.035 GB, free: 2.855 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000179/1.267, allocations: 225.9 kB / 1.035 GB, free: 2.676 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/1.267, allocations: 134.3 kB / 1.035 GB, free: 2.559 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.852e-05/1.267, allocations: 0 / 1.035 GB, free: 2.559 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001695/1.267, allocations: 340.6 kB / 1.036 GB, free: 2.23 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/1.267, allocations: 112.4 kB / 1.036 GB, free: 2.164 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002623/1.268, allocations: 184.6 kB / 1.036 GB, free: 2.02 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002245/1.268, allocations: 139.1 kB / 1.036 GB, free: 1.934 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/1.268, allocations: 0 / 1.036 GB, free: 1.934 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001765/1.27, allocations: 0.6502 MB / 1.037 GB, free: 1.414 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.793e-05/1.27, allocations: 100 kB / 1.037 GB, free: 1.312 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/1.27, allocations: 0 / 1.037 GB, free: 1.312 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001636/1.271, allocations: 405 kB / 1.037 GB, free: 0.9766 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/1.272, allocations: 23.98 kB / 1.037 GB, free: 0.9531 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001461/1.273, allocations: 1.097 MB / 1.038 GB, free: 52 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004709/1.274, allocations: 35.73 kB / 1.038 GB, free: 16 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.87e-05/1.274, allocations: 8 kB / 1.038 GB, free: 8 kB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/1.274, allocations: 4 kB / 1.038 GB, free: 4 kB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001672/1.275, allocations: 0.5934 MB / 1.039 GB, free: 15.55 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/1.275, allocations: 0 / 1.039 GB, free: 15.55 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001481/1.277, allocations: 393.8 kB / 1.039 GB, free: 15.22 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/1.277, allocations: 27.97 kB / 1.039 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005434/1.282, allocations: 3.568 MB / 1.043 GB, free: 12.37 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004897/1.283, allocations: 39.69 kB / 1.043 GB, free: 12.33 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.453e-05/1.283, allocations: 11.25 kB / 1.043 GB, free: 12.32 MB / 0.6667 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 () * 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.0001756/1.283, allocations: 105 kB / 1.043 GB, free: 12.21 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.075e-05/1.283, allocations: 39.09 kB / 1.043 GB, free: 12.18 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/1.283, allocations: 47.97 kB / 1.043 GB, free: 12.16 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/1.283, allocations: 7.953 kB / 1.043 GB, free: 12.15 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/1.283, allocations: 0 / 1.043 GB, free: 12.15 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/1.283, allocations: 0 / 1.043 GB, free: 12.15 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000583/1.284, allocations: 425.9 kB / 1.043 GB, free: 11.79 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/1.284, allocations: 3.938 kB / 1.043 GB, free: 11.79 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/1.284, allocations: 23.97 kB / 1.043 GB, free: 11.77 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001473/1.286, allocations: 383.8 kB / 1.044 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.456e-05/1.286, allocations: 0 / 1.044 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005217/1.291, allocations: 3.549 MB / 1.047 GB, free: 8.652 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/1.291, allocations: 0 / 1.047 GB, free: 8.652 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/1.293, allocations: 0.7342 MB / 1.048 GB, free: 8.039 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002044/1.293, allocations: 142.4 kB / 1.048 GB, free: 7.895 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.334e-05/1.293, allocations: 3.953 kB / 1.048 GB, free: 7.891 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002863/1.293, allocations: 24.02 kB / 1.048 GB, free: 7.867 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/1.293, allocations: 31.7 kB / 1.048 GB, free: 7.84 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-05/1.293, allocations: 11.31 kB / 1.048 GB, free: 7.832 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002129/1.294, allocations: 191 kB / 1.048 GB, free: 7.684 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.4e-07/1.294, allocations: 0 / 1.048 GB, free: 7.684 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.000995/1.295, allocations: 271.2 kB / 1.049 GB, free: 7.418 MB / 0.6667 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 () * 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.0002108/1.295, allocations: 107.2 kB / 1.049 GB, free: 7.305 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002269/1.297, allocations: 0.8727 MB / 1.05 GB, free: 6.629 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/1.297, allocations: 0 / 1.05 GB, free: 6.629 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0009269/1.298, allocations: 454.7 kB / 1.05 GB, free: 6.266 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005284/1.299, allocations: 90.53 kB / 1.05 GB, free: 6.191 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/1.3, allocations: 0.5349 MB / 1.051 GB, free: 5.691 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004883/1.3, allocations: 0.8436 MB / 1.051 GB, free: 4.82 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002509/1.301, allocations: 43.27 kB / 1.051 GB, free: 4.777 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.005e-05/1.301, allocations: 15.44 kB / 1.051 GB, free: 4.762 MB / 0.6667 GB Notification: Performance of SimCode: time 1.382e-06/1.301, allocations: 0 / 1.051 GB, free: 4.762 MB / 0.6667 GB Notification: Performance of Templates: time 0.01733/1.318, allocations: 9.952 MB / 1.061 GB, free: 10.93 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer.csv","../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches