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") [: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 10.0.0-master/package.mo): time 2.082/2.082, allocations: 390.4 MB / 397.7 MB, free: 11.24 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.001034/0.001034, allocations: 185.3 kB / 490.8 MB, free: 1.883 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.483/1.483, allocations: 221.4 MB / 0.7863 GB, free: 13.61 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.001038/0.001038, allocations: 91.67 kB / 0.9264 GB, free: 14.15 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.746e-06/8.767e-06, allocations: 4 kB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3219, allocations: 143 MB / 1.212 GB, free: 40.07 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.913/1.235, allocations: 155.9 MB / 1.364 GB, free: 17.13 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/1.235, allocations: 83.23 kB / 1.364 GB, free: 17.13 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.03015/1.266, allocations: 9.84 MB / 1.374 GB, free: 16.29 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.958e-05/1.266, allocations: 9.375 kB / 1.374 GB, free: 16.29 MB / 0.823 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.001287/1.267, allocations: 0.7021 MB / 1.374 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/1.267, allocations: 9.219 kB / 1.374 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00013/1.267, allocations: 56.09 kB / 1.374 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005744/1.268, allocations: 347.6 kB / 1.375 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/1.268, allocations: 17.92 kB / 1.375 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.067e-05/1.268, allocations: 25.75 kB / 1.375 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006226/1.268, allocations: 289.6 kB / 1.375 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006599/1.269, allocations: 310.6 kB / 1.375 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/1.269, allocations: 1.094 kB / 1.375 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.299e-05/1.269, allocations: 0 / 1.375 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.711e-05/1.269, allocations: 11.22 kB / 1.375 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002638/1.272, allocations: 1.211 MB / 1.376 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000684/1.273, allocations: 343.6 kB / 1.377 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000357/1.273, allocations: 210.7 kB / 1.377 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.396e-05/1.273, allocations: 6.078 kB / 1.377 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/1.273, allocations: 40.5 kB / 1.377 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=41): time 3.316e-06/1.273, allocations: 0 / 1.377 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of matching and sorting (n=41): time 0.002134/1.275, allocations: 0.642 MB / 1.378 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/1.275, allocations: 60.55 kB / 1.378 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003134/1.275, allocations: 239.9 kB / 1.378 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.677e-05/1.276, allocations: 25.7 kB / 1.378 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000131/1.276, allocations: 191.2 kB / 1.378 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/1.276, allocations: 132.4 kB / 1.378 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.809e-05/1.276, allocations: 1.25 kB / 1.378 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000159/1.276, allocations: 342.7 kB / 1.379 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/1.276, allocations: 119.3 kB / 1.379 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002747/1.276, allocations: 183 kB / 1.379 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002534/1.277, allocations: 138.9 kB / 1.379 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/1.277, allocations: 0 / 1.379 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00214/1.279, allocations: 0.6514 MB / 1.38 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001025/1.279, allocations: 102.2 kB / 1.38 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/1.279, allocations: 1.062 kB / 1.38 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002044/1.281, allocations: 394.3 kB / 1.38 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001906/1.281, allocations: 31.88 kB / 1.38 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001878/1.283, allocations: 1.151 MB / 1.381 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005753/1.284, allocations: 36.33 kB / 1.381 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.849e-05/1.284, allocations: 7.438 kB / 1.381 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/1.284, allocations: 3.031 kB / 1.381 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002033/1.286, allocations: 0.5894 MB / 1.382 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/1.286, allocations: 5.219 kB / 1.382 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001743/1.288, allocations: 402.1 kB / 1.382 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/1.288, allocations: 28.25 kB / 1.382 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006074/1.294, allocations: 3.462 MB / 1.386 GB, free: 27.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005321/1.294, allocations: 31.09 kB / 1.386 GB, free: 27.85 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.052e-05/1.294, allocations: 10.34 kB / 1.386 GB, free: 27.85 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.0001765/1.295, allocations: 116.5 kB / 1.386 GB, free: 27.74 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.402e-05/1.295, allocations: 31.88 kB / 1.386 GB, free: 27.72 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001064/1.295, allocations: 57.38 kB / 1.386 GB, free: 27.71 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/1.295, allocations: 3.906 kB / 1.386 GB, free: 27.71 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/1.295, allocations: 3.906 kB / 1.386 GB, free: 27.71 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/1.295, allocations: 1.781 kB / 1.386 GB, free: 27.71 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006202/1.296, allocations: 428.5 kB / 1.386 GB, free: 27.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/1.296, allocations: 0 / 1.386 GB, free: 27.47 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/1.296, allocations: 27.59 kB / 1.386 GB, free: 27.46 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001605/1.297, allocations: 394.6 kB / 1.387 GB, free: 27.36 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.892e-05/1.297, allocations: 0 / 1.387 GB, free: 27.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00584/1.303, allocations: 3.433 MB / 1.39 GB, free: 25.65 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.794e-06/1.303, allocations: 3.984 kB / 1.39 GB, free: 25.65 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001877/1.305, allocations: 0.7317 MB / 1.391 GB, free: 25.35 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001814/1.305, allocations: 142.3 kB / 1.391 GB, free: 25.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.341e-05/1.305, allocations: 13.3 kB / 1.391 GB, free: 25.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002827/1.306, allocations: 13.25 kB / 1.391 GB, free: 25.21 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.852e-05/1.306, allocations: 23.66 kB / 1.391 GB, free: 25.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.606e-05/1.306, allocations: 17.86 kB / 1.391 GB, free: 25.19 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0002337/1.306, allocations: 182.5 kB / 1.391 GB, free: 25.1 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001071/1.307, allocations: 252.7 kB / 1.391 GB, free: 25.07 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.0001867/1.307, allocations: 105.9 kB / 1.392 GB, free: 24.97 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002332/1.31, allocations: 0.8344 MB / 1.392 GB, free: 24.75 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/1.31, allocations: 0 / 1.392 GB, free: 24.75 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0009368/1.311, allocations: 399.3 kB / 1.393 GB, free: 24.6 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005092/1.311, allocations: 78 kB / 1.393 GB, free: 24.58 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001776/1.313, allocations: 0.5721 MB / 1.393 GB, free: 24.32 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005415/1.313, allocations: 0.8587 MB / 1.394 GB, free: 23.54 MB / 0.8386 GB Notification: Performance of SimCode: time 1.011e-06/1.313, allocations: 0 / 1.394 GB, free: 23.54 MB / 0.8386 GB Notification: Performance of Templates: time 0.02029/1.334, allocations: 10.63 MB / 1.405 GB, free: 17.73 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