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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.282/2.282, allocations: 387.1 MB / 399.7 MB, free: 9.504 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 184.9 kB / 492.3 MB, free: 0.625 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.658/1.658, allocations: 221.3 MB / 0.7871 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009216/0.0009214, allocations: 93.2 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.547e-05/3.549e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3558, allocations: 142.3 MB / 1.212 GB, free: 38.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.156/1.512, allocations: 155.9 MB / 1.365 GB, free: 19.15 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003508/1.513, allocations: 82.22 kB / 1.365 GB, free: 19.15 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02844/1.541, allocations: 10.16 MB / 1.375 GB, free: 34.01 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.445e-06/1.541, allocations: 0 / 1.375 GB, free: 34.01 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.245e-05/1.541, allocations: 15.03 kB / 1.375 GB, free: 34.01 MB / 0.8386 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.001197/1.543, allocations: 0.6898 MB / 1.375 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.784e-05/1.543, allocations: 11.66 kB / 1.375 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001116/1.543, allocations: 58.39 kB / 1.375 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005047/1.543, allocations: 336.3 kB / 1.376 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.653e-05/1.543, allocations: 29.41 kB / 1.376 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.553e-05/1.543, allocations: 48.12 kB / 1.376 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000671/1.544, allocations: 373.2 kB / 1.376 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/1.544, allocations: 4 kB / 1.376 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.032e-05/1.544, allocations: 16.03 kB / 1.376 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/1.544, allocations: 15.5 kB / 1.376 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004792/1.545, allocations: 301.1 kB / 1.376 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002087/1.547, allocations: 1.308 MB / 1.378 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006453/1.547, allocations: 378.5 kB / 1.378 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003162/1.548, allocations: 224.6 kB / 1.378 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.389e-05/1.548, allocations: 3.844 kB / 1.378 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/1.548, allocations: 40.16 kB / 1.378 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=41): time 1.974e-06/1.548, allocations: 0 / 1.378 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=41): time 0.001741/1.55, allocations: 0.6723 MB / 1.379 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/1.55, allocations: 55.12 kB / 1.379 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003013/1.55, allocations: 301.8 kB / 1.379 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/1.55, allocations: 40.45 kB / 1.379 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/1.55, allocations: 209.5 kB / 1.38 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.078e-05/1.55, allocations: 145 kB / 1.38 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.813e-05/1.55, allocations: 3.625 kB / 1.38 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001309/1.55, allocations: 350 kB / 1.38 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/1.551, allocations: 122.6 kB / 1.38 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002229/1.551, allocations: 191.2 kB / 1.38 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002069/1.551, allocations: 138 kB / 1.38 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/1.551, allocations: 0 / 1.38 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001528/1.553, allocations: 0.6723 MB / 1.381 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.228e-05/1.553, allocations: 99.94 kB / 1.381 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/1.553, allocations: 0 / 1.381 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001449/1.554, allocations: 431 kB / 1.382 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/1.554, allocations: 24.72 kB / 1.382 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001214/1.555, allocations: 1.052 MB / 1.383 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000464/1.556, allocations: 56.11 kB / 1.383 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.538e-05/1.556, allocations: 7.719 kB / 1.383 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/1.556, allocations: 3.844 kB / 1.383 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001581/1.558, allocations: 0.6351 MB / 1.383 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.454e-06/1.558, allocations: 4 kB / 1.383 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001362/1.559, allocations: 432.6 kB / 1.384 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/1.559, allocations: 31.14 kB / 1.384 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004766/1.564, allocations: 3.651 MB / 1.387 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005028/1.564, allocations: 54.03 kB / 1.387 GB, free: 29 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/1.564, allocations: 7.594 kB / 1.387 GB, free: 29 MB / 0.8386 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.0001534/1.565, allocations: 127.4 kB / 1.388 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.119e-05/1.565, allocations: 46.45 kB / 1.388 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001492/1.565, allocations: 62.3 kB / 1.388 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/1.565, allocations: 3.719 kB / 1.388 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/1.565, allocations: 0 / 1.388 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/1.565, allocations: 4.297 kB / 1.388 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005241/1.565, allocations: 487.9 kB / 1.388 GB, free: 28.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/1.565, allocations: 7.719 kB / 1.388 GB, free: 28.54 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/1.566, allocations: 26.33 kB / 1.388 GB, free: 28.53 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001344/1.567, allocations: 404.8 kB / 1.389 GB, free: 28.41 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.659e-05/1.567, allocations: 10.72 kB / 1.389 GB, free: 28.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005011/1.572, allocations: 3.638 MB / 1.392 GB, free: 26.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/1.572, allocations: 3.875 kB / 1.392 GB, free: 26.62 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001689/1.574, allocations: 0.7791 MB / 1.393 GB, free: 26.3 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002035/1.574, allocations: 145.7 kB / 1.393 GB, free: 26.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.639e-05/1.574, allocations: 7.656 kB / 1.393 GB, free: 26.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003016/1.574, allocations: 25.64 kB / 1.393 GB, free: 26.16 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/1.574, allocations: 46 kB / 1.393 GB, free: 26.14 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.229e-05/1.574, allocations: 7.594 kB / 1.393 GB, free: 26.14 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002882/1.575, allocations: 244.7 kB / 1.393 GB, free: 26.04 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.4e-07/1.575, allocations: 0 / 1.393 GB, free: 26.04 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0008888/1.576, allocations: 284.2 kB / 1.394 GB, free: 26.01 MB / 0.8386 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.0001849/1.576, allocations: 114.1 kB / 1.394 GB, free: 25.91 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002185/1.578, allocations: 0.8926 MB / 1.395 GB, free: 25.66 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.578, allocations: 0 / 1.395 GB, free: 25.66 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0009082/1.579, allocations: 480.1 kB / 1.395 GB, free: 25.46 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005578/1.579, allocations: 114.9 kB / 1.395 GB, free: 25.43 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/1.581, allocations: 0.5616 MB / 1.396 GB, free: 25.18 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005214/1.581, allocations: 0.8488 MB / 1.397 GB, free: 24.41 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002747/1.582, allocations: 50.47 kB / 1.397 GB, free: 24.38 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.554e-05/1.582, allocations: 19 kB / 1.397 GB, free: 24.38 MB / 0.8386 GB Notification: Performance of SimCode: time 1.022e-06/1.582, allocations: 0 / 1.397 GB, free: 24.38 MB / 0.8386 GB Notification: Performance of Templates: time 0.01858/1.6, allocations: 11.23 MB / 1.408 GB, free: 15.67 MB / 0.8386 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","../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches