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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.94/1.94, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.001012/0.001012, allocations: 185.2 kB / 487 MB, free: 5.383 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.553/1.553, allocations: 221.3 MB / 0.7819 GB, free: 1.379 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 90.19 kB / 0.9213 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 9.147e-06/9.157e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3224, allocations: 142.3 MB / 1.205 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8875/1.21, allocations: 155.1 MB / 1.357 GB, free: 16.02 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000305/1.21, allocations: 88.48 kB / 1.357 GB, free: 16.02 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.02967/1.24, allocations: 9.821 MB / 1.366 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.431e-05/1.24, allocations: 16 kB / 1.366 GB, free: 10.89 MB / 0.8073 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.00107/1.241, allocations: 0.6966 MB / 1.367 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/1.241, allocations: 11.97 kB / 1.367 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/1.241, allocations: 59.28 kB / 1.367 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004747/1.242, allocations: 343.1 kB / 1.367 GB, free: 9.773 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/1.242, allocations: 12 kB / 1.367 GB, free: 9.762 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.355e-05/1.242, allocations: 31.91 kB / 1.368 GB, free: 9.73 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004875/1.242, allocations: 290.5 kB / 1.368 GB, free: 9.551 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005043/1.243, allocations: 314.4 kB / 1.368 GB, free: 9.32 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/1.243, allocations: 0 / 1.368 GB, free: 9.32 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.213e-05/1.243, allocations: 0 / 1.368 GB, free: 9.32 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/1.243, allocations: 12 kB / 1.368 GB, free: 9.309 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002066/1.245, allocations: 1.216 MB / 1.369 GB, free: 8.32 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005895/1.246, allocations: 353.7 kB / 1.37 GB, free: 8.078 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002893/1.246, allocations: 211.3 kB / 1.37 GB, free: 7.949 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.823e-05/1.246, allocations: 4 kB / 1.37 GB, free: 7.945 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/1.246, allocations: 38.5 kB / 1.37 GB, free: 7.902 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=41): time 2.574e-06/1.246, allocations: 4 kB / 1.37 GB, free: 7.898 MB / 0.8073 GB Notification: Performance of matching and sorting (n=41): time 0.001878/1.248, allocations: 0.6484 MB / 1.37 GB, free: 7.387 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/1.248, allocations: 55.41 kB / 1.371 GB, free: 7.32 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002284/1.248, allocations: 237.5 kB / 1.371 GB, free: 7.121 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.058e-05/1.248, allocations: 33.7 kB / 1.371 GB, free: 7.082 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 8.015e-05/1.248, allocations: 185.8 kB / 1.371 GB, free: 6.91 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 9.26e-05/1.249, allocations: 139 kB / 1.371 GB, free: 6.789 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.839e-05/1.249, allocations: 0 / 1.371 GB, free: 6.789 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.244e-05/1.249, allocations: 339.2 kB / 1.371 GB, free: 6.461 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001752/1.249, allocations: 116.2 kB / 1.372 GB, free: 6.395 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000218/1.249, allocations: 181.7 kB / 1.372 GB, free: 6.25 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000204/1.249, allocations: 139.2 kB / 1.372 GB, free: 6.164 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/1.249, allocations: 7.844 kB / 1.372 GB, free: 6.156 MB / 0.8073 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00165/1.251, allocations: 0.6476 MB / 1.372 GB, free: 5.648 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.684e-05/1.251, allocations: 92.95 kB / 1.373 GB, free: 5.551 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/1.251, allocations: 3.984 kB / 1.373 GB, free: 5.547 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001633/1.253, allocations: 403.2 kB / 1.373 GB, free: 5.211 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/1.253, allocations: 31.23 kB / 1.373 GB, free: 5.184 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001299/1.254, allocations: 1.148 MB / 1.374 GB, free: 4.227 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000453/1.255, allocations: 35.67 kB / 1.374 GB, free: 4.191 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.764e-05/1.255, allocations: 7.562 kB / 1.374 GB, free: 4.188 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.095e-06/1.255, allocations: 4 kB / 1.374 GB, free: 4.184 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001515/1.256, allocations: 0.5896 MB / 1.375 GB, free: 3.738 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.936e-06/1.256, allocations: 0 / 1.375 GB, free: 3.738 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001465/1.258, allocations: 399.8 kB / 1.375 GB, free: 3.406 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/1.258, allocations: 35.92 kB / 1.375 GB, free: 3.371 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004647/1.262, allocations: 3.449 MB / 1.379 GB, free: 0.5742 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004505/1.263, allocations: 35.67 kB / 1.379 GB, free: 0.5391 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.721e-05/1.263, allocations: 16.02 kB / 1.379 GB, free: 0.5273 MB / 0.8073 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.000118/1.263, allocations: 105 kB / 1.379 GB, free: 428 kB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.915e-05/1.263, allocations: 39.5 kB / 1.379 GB, free: 388 kB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.077e-05/1.263, allocations: 49.59 kB / 1.379 GB, free: 372 kB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/1.263, allocations: 8.094 kB / 1.379 GB, free: 364 kB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/1.263, allocations: 8 kB / 1.379 GB, free: 356 kB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/1.263, allocations: 0 / 1.379 GB, free: 356 kB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005838/1.264, allocations: 429.6 kB / 1.379 GB, free: 15.99 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/1.264, allocations: 0 / 1.379 GB, free: 15.99 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/1.264, allocations: 27.97 kB / 1.379 GB, free: 15.96 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00153/1.265, allocations: 392.7 kB / 1.38 GB, free: 15.63 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.603e-05/1.266, allocations: 0 / 1.38 GB, free: 15.63 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005128/1.271, allocations: 3.435 MB / 1.383 GB, free: 12.86 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.271, allocations: 0 / 1.383 GB, free: 12.86 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001693/1.272, allocations: 0.7267 MB / 1.384 GB, free: 12.27 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001877/1.273, allocations: 142.7 kB / 1.384 GB, free: 12.12 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.798e-05/1.273, allocations: 0 / 1.384 GB, free: 12.12 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000283/1.273, allocations: 19.92 kB / 1.384 GB, free: 12.1 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.704e-05/1.273, allocations: 23.06 kB / 1.384 GB, free: 12.08 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.372e-05/1.273, allocations: 7.984 kB / 1.384 GB, free: 12.07 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0001924/1.273, allocations: 198.9 kB / 1.384 GB, free: 11.92 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0008479/1.274, allocations: 251.3 kB / 1.384 GB, free: 11.67 MB / 0.823 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.0001727/1.274, allocations: 103.9 kB / 1.384 GB, free: 11.56 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002106/1.276, allocations: 0.8306 MB / 1.385 GB, free: 10.91 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/1.276, allocations: 0 / 1.385 GB, free: 10.91 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008641/1.277, allocations: 404.2 kB / 1.386 GB, free: 10.58 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004878/1.278, allocations: 80.81 kB / 1.386 GB, free: 10.52 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/1.279, allocations: 0.5716 MB / 1.386 GB, free: 9.984 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005116/1.28, allocations: 0.8474 MB / 1.387 GB, free: 9.105 MB / 0.823 GB Notification: Performance of SimCode: time 5.01e-07/1.28, allocations: 4 kB / 1.387 GB, free: 9.102 MB / 0.823 GB Notification: Performance of Templates: time 0.01727/1.297, allocations: 10.64 MB / 1.397 GB, free: 14.6 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