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.045/2.045, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001676/0.001676, allocations: 176.9 kB / 487.4 MB, free: 5.039 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.37/1.37, allocations: 221.5 MB / 0.7824 GB, free: 1.02 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.0009179/0.000918, allocations: 95.03 kB / 0.9219 GB, free: 2.262 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.54e-05/1.544e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.2215, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7421/0.9636, allocations: 155.2 MB / 1.358 GB, free: 18.45 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002246/0.9639, allocations: 84.31 kB / 1.358 GB, free: 18.45 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02546/0.9894, allocations: 10.09 MB / 1.367 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.332e-06/0.9894, allocations: 0 / 1.367 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.14e-05/0.9895, allocations: 11.53 kB / 1.367 GB, free: 33.35 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.0009722/0.9904, allocations: 0.6907 MB / 1.368 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.9905, allocations: 15.53 kB / 1.368 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.023e-05/0.9906, allocations: 58.3 kB / 1.368 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00037/0.991, allocations: 338.2 kB / 1.369 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.991, allocations: 15.22 kB / 1.369 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.498e-05/0.991, allocations: 34.89 kB / 1.369 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004104/0.9914, allocations: 288.1 kB / 1.369 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004533/0.9919, allocations: 316.7 kB / 1.369 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.9919, allocations: 0 / 1.369 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.094e-05/0.992, allocations: 0 / 1.369 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.992, allocations: 15.48 kB / 1.369 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001756/0.9937, allocations: 1.2 MB / 1.37 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000492/0.9942, allocations: 372.2 kB / 1.371 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002316/0.9945, allocations: 213.7 kB / 1.371 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.299e-05/0.9945, allocations: 7.719 kB / 1.371 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/0.9946, allocations: 37.81 kB / 1.371 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=41): time 1.513e-06/0.9946, allocations: 0 / 1.371 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of matching and sorting (n=41): time 0.001602/0.9962, allocations: 0.6487 MB / 1.372 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.132e-05/0.9962, allocations: 55.28 kB / 1.372 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002117/0.9964, allocations: 235.4 kB / 1.372 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/0.9965, allocations: 28.28 kB / 1.372 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.9966, allocations: 220.8 kB / 1.372 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.699e-05/0.9966, allocations: 136.7 kB / 1.372 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.695e-05/0.9967, allocations: 0 / 1.372 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.9968, allocations: 344.2 kB / 1.373 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/0.997, allocations: 120.5 kB / 1.373 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001825/0.9972, allocations: 180.3 kB / 1.373 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.9974, allocations: 129.8 kB / 1.373 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.9974, allocations: 7.781 kB / 1.373 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001475/0.9989, allocations: 0.6524 MB / 1.374 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.619e-05/0.9989, allocations: 88.69 kB / 1.374 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.9989, allocations: 3.875 kB / 1.374 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001417/1, allocations: 405.3 kB / 1.374 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/1.001, allocations: 29.09 kB / 1.374 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001199/1.002, allocations: 1.1 MB / 1.375 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004322/1.002, allocations: 36.11 kB / 1.375 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.373e-05/1.002, allocations: 11.12 kB / 1.375 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.566e-06/1.002, allocations: 3.969 kB / 1.375 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001422/1.004, allocations: 0.5865 MB / 1.376 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/1.004, allocations: 2.672 kB / 1.376 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001322/1.005, allocations: 404.6 kB / 1.376 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/1.005, allocations: 32.64 kB / 1.376 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004402/1.01, allocations: 3.539 MB / 1.38 GB, free: 28.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004182/1.01, allocations: 40.31 kB / 1.38 GB, free: 28.85 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/1.01, allocations: 7.719 kB / 1.38 GB, free: 28.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.0001212/1.01, allocations: 112.3 kB / 1.38 GB, free: 28.74 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.946e-05/1.01, allocations: 39.12 kB / 1.38 GB, free: 28.71 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/1.01, allocations: 48.22 kB / 1.38 GB, free: 28.7 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/1.01, allocations: 7.797 kB / 1.38 GB, free: 28.7 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/1.01, allocations: 4 kB / 1.38 GB, free: 28.7 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/1.01, allocations: 11.02 kB / 1.38 GB, free: 28.69 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004298/1.011, allocations: 421.4 kB / 1.38 GB, free: 28.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/1.011, allocations: 0 / 1.38 GB, free: 28.52 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/1.011, allocations: 25.16 kB / 1.38 GB, free: 28.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001289/1.012, allocations: 398.2 kB / 1.381 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/1.012, allocations: 0 / 1.381 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004375/1.017, allocations: 3.521 MB / 1.384 GB, free: 27.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/1.017, allocations: 3.844 kB / 1.384 GB, free: 27.07 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001495/1.018, allocations: 0.7234 MB / 1.385 GB, free: 26.88 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/1.018, allocations: 146.1 kB / 1.385 GB, free: 26.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.931e-05/1.018, allocations: 3.953 kB / 1.385 GB, free: 26.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002555/1.019, allocations: 14.16 kB / 1.385 GB, free: 26.75 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.979e-05/1.019, allocations: 40.34 kB / 1.385 GB, free: 26.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/1.019, allocations: 11.66 kB / 1.385 GB, free: 26.74 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001688/1.019, allocations: 190.7 kB / 1.385 GB, free: 26.66 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.019, allocations: 0 / 1.385 GB, free: 26.66 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007677/1.02, allocations: 272.6 kB / 1.386 GB, free: 26.62 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.0001511/1.02, allocations: 100.5 kB / 1.386 GB, free: 26.54 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001854/1.022, allocations: 0.8738 MB / 1.386 GB, free: 26.36 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.022, allocations: 0 / 1.386 GB, free: 26.36 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0007542/1.022, allocations: 460.4 kB / 1.387 GB, free: 26.17 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004393/1.023, allocations: 83.34 kB / 1.387 GB, free: 26.14 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009878/1.024, allocations: 0.5391 MB / 1.388 GB, free: 25.88 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/1.024, allocations: 0.843 MB / 1.388 GB, free: 25.11 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001837/1.024, allocations: 46.47 kB / 1.388 GB, free: 25.09 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.837e-05/1.024, allocations: 18.97 kB / 1.388 GB, free: 25.08 MB / 0.8386 GB Notification: Performance of SimCode: time 3.21e-07/1.024, allocations: 0 / 1.388 GB, free: 25.08 MB / 0.8386 GB Notification: Performance of Templates: time 0.01283/1.037, allocations: 9.954 MB / 1.398 GB, free: 20.18 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