Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.542/2.542, allocations: 390.5 MB / 398 MB, free: 10.95 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.001053/0.001054, allocations: 192.8 kB / 491.2 MB, free: 1.551 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.673/1.673, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.0009195/0.0009195, allocations: 95.88 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.763e-05/1.78e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3433, allocations: 143 MB / 1.212 GB, free: 39.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.116/1.46, allocations: 156 MB / 1.365 GB, free: 17.44 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/1.46, allocations: 84.33 kB / 1.365 GB, free: 17.44 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04123/1.501, allocations: 10.09 MB / 1.375 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.455e-06/1.501, allocations: 0 / 1.375 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.712e-05/1.502, allocations: 11.56 kB / 1.375 GB, free: 32.33 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.00213/1.504, allocations: 0.6913 MB / 1.375 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.74e-05/1.504, allocations: 11.62 kB / 1.375 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003047/1.504, allocations: 61.62 kB / 1.375 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008716/1.505, allocations: 345.9 kB / 1.376 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.469e-05/1.505, allocations: 15.38 kB / 1.376 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/1.505, allocations: 26.91 kB / 1.376 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009357/1.506, allocations: 282.2 kB / 1.376 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009222/1.507, allocations: 320.7 kB / 1.376 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/1.507, allocations: 0 / 1.376 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.99e-05/1.507, allocations: 3.953 kB / 1.376 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/1.507, allocations: 11.38 kB / 1.376 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003631/1.511, allocations: 1.194 MB / 1.377 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009512/1.512, allocations: 369.3 kB / 1.378 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004584/1.512, allocations: 211 kB / 1.378 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.474e-05/1.512, allocations: 7.812 kB / 1.378 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/1.512, allocations: 38.06 kB / 1.378 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=41): time 3.096e-06/1.512, allocations: 3.844 kB / 1.378 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=41): time 0.002928/1.515, allocations: 0.6478 MB / 1.379 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/1.515, allocations: 61.55 kB / 1.379 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004303/1.516, allocations: 228.8 kB / 1.379 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.403e-05/1.516, allocations: 25.7 kB / 1.379 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/1.516, allocations: 224.4 kB / 1.379 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001506/1.516, allocations: 133.1 kB / 1.379 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.891e-05/1.516, allocations: 0 / 1.379 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001668/1.517, allocations: 342.7 kB / 1.38 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002928/1.517, allocations: 115.7 kB / 1.38 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003865/1.517, allocations: 182.3 kB / 1.38 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003688/1.518, allocations: 139.7 kB / 1.38 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/1.518, allocations: 3.812 kB / 1.38 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00298/1.521, allocations: 0.6483 MB / 1.381 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.481e-05/1.521, allocations: 96.66 kB / 1.381 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/1.521, allocations: 0 / 1.381 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002781/1.524, allocations: 393.4 kB / 1.381 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/1.524, allocations: 33.2 kB / 1.381 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002238/1.526, allocations: 1.108 MB / 1.382 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008139/1.527, allocations: 32.06 kB / 1.382 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.724e-05/1.527, allocations: 11.34 kB / 1.382 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/1.527, allocations: 3.906 kB / 1.382 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002742/1.53, allocations: 0.5957 MB / 1.383 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/1.53, allocations: 0 / 1.383 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002754/1.533, allocations: 398.9 kB / 1.383 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002507/1.533, allocations: 28.23 kB / 1.383 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008808/1.542, allocations: 3.548 MB / 1.387 GB, free: 27.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008073/1.543, allocations: 42.75 kB / 1.387 GB, free: 27.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.852e-05/1.543, allocations: 15.67 kB / 1.387 GB, free: 27.7 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.0002226/1.543, allocations: 103.4 kB / 1.387 GB, free: 27.6 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/1.543, allocations: 34.84 kB / 1.387 GB, free: 27.58 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001775/1.543, allocations: 60.39 kB / 1.387 GB, free: 27.56 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/1.543, allocations: 3.812 kB / 1.387 GB, free: 27.56 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/1.543, allocations: 0 / 1.387 GB, free: 27.56 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/1.543, allocations: 0 / 1.387 GB, free: 27.56 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000847/1.544, allocations: 420.2 kB / 1.387 GB, free: 27.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/1.544, allocations: 3.938 kB / 1.387 GB, free: 27.31 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002143/1.544, allocations: 30.94 kB / 1.387 GB, free: 27.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0025/1.547, allocations: 391.5 kB / 1.388 GB, free: 27.19 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.666e-05/1.547, allocations: 4 kB / 1.388 GB, free: 27.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008249/1.555, allocations: 3.532 MB / 1.391 GB, free: 25.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.919e-06/1.555, allocations: 0 / 1.391 GB, free: 25.45 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002709/1.558, allocations: 0.738 MB / 1.392 GB, free: 25.13 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002992/1.558, allocations: 149.9 kB / 1.392 GB, free: 24.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.063e-05/1.558, allocations: 0 / 1.392 GB, free: 24.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005211/1.559, allocations: 11.64 kB / 1.392 GB, free: 24.99 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/1.559, allocations: 30.89 kB / 1.392 GB, free: 24.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.378e-05/1.559, allocations: 11 kB / 1.392 GB, free: 24.98 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003204/1.56, allocations: 189 kB / 1.392 GB, free: 24.88 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.91e-07/1.56, allocations: 4 kB / 1.392 GB, free: 24.88 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001504/1.561, allocations: 269.4 kB / 1.393 GB, free: 24.84 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.0002107/1.561, allocations: 102.4 kB / 1.393 GB, free: 24.75 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.00343/1.565, allocations: 0.8735 MB / 1.394 GB, free: 24.5 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/1.565, allocations: 0 / 1.394 GB, free: 24.5 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001452/1.566, allocations: 448 kB / 1.394 GB, free: 24.32 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008368/1.567, allocations: 87.45 kB / 1.394 GB, free: 24.29 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/1.569, allocations: 0.5444 MB / 1.395 GB, free: 24.03 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000551/1.569, allocations: 0.8389 MB / 1.395 GB, free: 23.25 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003383/1.57, allocations: 42.58 kB / 1.396 GB, free: 23.23 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.517e-05/1.57, allocations: 19.03 kB / 1.396 GB, free: 23.23 MB / 0.8386 GB Notification: Performance of SimCode: time 5.61e-07/1.57, allocations: 4 kB / 1.396 GB, free: 23.22 MB / 0.8386 GB Notification: Performance of Templates: time 0.02449/1.594, allocations: 9.962 MB / 1.405 GB, free: 17.61 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer.csv","../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches