Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Window.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.Examples.Window,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|window.glaUns.u|window.glaUns.glass_a.T|window.glaUns.glass_b.T|window.glaSha.glass_a.T|window.glaSha.glass_b.T|extCon.radOut.TRad",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Window") translateModel(Buildings.HeatTransfer.Windows.Examples.Window,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|window.glaUns.u|window.glaUns.glass_a.T|window.glaUns.glass_b.T|window.glaSha.glass_a.T|window.glaSha.glass_b.T|extCon.radOut.TRad",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Window") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000926/0.000926, allocations: 99.62 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009609/0.0009611, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.572/2.572, allocations: 436.5 MB / 0.7104 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004355/0.0004356, allocations: 8 kB / 0.8708 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7109/0.7113, allocations: 153.6 MB / 1.021 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Window): time 0.01266/0.724, allocations: 10.9 MB / 1.031 GB, free: 6.156 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1629/0.887, allocations: 136.1 MB / 1.164 GB, free: 13.73 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003156/0.8901, allocations: 51.69 kB / 1.164 GB, free: 13.68 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.005822/0.896, allocations: 1.825 MB / 1.166 GB, free: 11.84 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00524/0.9013, allocations: 1.654 MB / 1.168 GB, free: 10.19 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.005582/0.9068, allocations: 1.747 MB / 1.17 GB, free: 8.449 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.007479/0.9143, allocations: 4.437 MB / 1.174 GB, free: 4.008 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002373/0.9167, allocations: 1.685 MB / 1.175 GB, free: 2.273 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003744/0.9205, allocations: 2.043 MB / 1.177 GB, free: 228 kB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003438/0.9239, allocations: 1.863 MB / 1.179 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0006203/0.9246, allocations: 144 kB / 1.179 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004691/0.9293, allocations: 2.079 MB / 1.181 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.002639/0.9319, allocations: 3.165 MB / 1.185 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001772/0.9337, allocations: 1.15 MB / 1.186 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01227/0.946, allocations: 11.35 MB / 1.197 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.946, allocations: 0 / 1.197 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.334e-06/0.946, allocations: 0 / 1.197 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.000258/0.9463, allocations: 0 / 1.197 GB, free: 12.42 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 680 * Number of variables: 680 Notification: Performance of Generate backend data structure: time 0.02074/0.9671, allocations: 8.679 MB / 1.205 GB, free: 3.637 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.9671, allocations: 8.031 kB / 1.205 GB, free: 3.629 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03198/0.9991, allocations: 4.669 MB / 1.21 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8062/1.805, allocations: 259.7 MB / 1.463 GB, free: 28.72 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001814/1.806, allocations: 229.2 kB / 1.464 GB, free: 28.5 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009611/1.807, allocations: 303.4 kB / 1.464 GB, free: 28.2 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01044/1.817, allocations: 4.428 MB / 1.468 GB, free: 23.65 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.381e-05/1.817, allocations: 0 / 1.468 GB, free: 23.65 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003364/1.817, allocations: 112 kB / 1.468 GB, free: 23.54 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.58e-05/1.817, allocations: 67.94 kB / 1.468 GB, free: 23.47 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009621/1.827, allocations: 4.02 MB / 1.472 GB, free: 19.44 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07739/1.905, allocations: 79.9 MB / 1.55 GB, free: 2.719 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009716/1.914, allocations: 3.836 MB / 1.554 GB, free: 14.88 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005242/1.915, allocations: 441.1 kB / 1.555 GB, free: 14.39 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007446/1.922, allocations: 2.946 MB / 1.557 GB, free: 11.43 MB / 1.076 GB Notification: Performance of pre-optimization done (n=213): time 4.589e-06/1.922, allocations: 0 / 1.557 GB, free: 11.43 MB / 1.076 GB Notification: Performance of matching and sorting (n=213): time 0.04936/1.972, allocations: 13.7 MB / 1.571 GB, free: 13.62 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002484/1.972, allocations: 377.2 kB / 1.571 GB, free: 13.19 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.9071/2.879, allocations: 317.3 MB / 1.881 GB, free: 317.2 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.001073/2.88, allocations: 81.7 kB / 1.881 GB, free: 317.1 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.003374/2.884, allocations: 2.973 MB / 1.884 GB, free: 314.4 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.001089/2.885, allocations: 0.6946 MB / 1.885 GB, free: 313.9 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003707/2.885, allocations: 56.98 kB / 1.885 GB, free: 313.9 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001723/2.885, allocations: 423.7 kB / 1.885 GB, free: 313.4 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01137/2.897, allocations: 3.922 MB / 1.889 GB, free: 309.6 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01198/2.909, allocations: 4.371 MB / 1.893 GB, free: 305.1 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01149/2.92, allocations: 3.944 MB / 1.897 GB, free: 301.2 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-05/2.92, allocations: 11.55 kB / 1.897 GB, free: 301.2 MB / 1.232 GB Notification: Performance of matching and sorting (n=357) (initialization): time 0.03259/2.953, allocations: 10.77 MB / 1.908 GB, free: 290.4 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006717/2.954, allocations: 3.37 MB / 1.911 GB, free: 286.9 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02502/2.979, allocations: 8.851 MB / 1.92 GB, free: 277.9 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09009/3.069, allocations: 10.88 MB / 1.93 GB, free: 267.1 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00573/3.075, allocations: 0.823 MB / 1.931 GB, free: 266.2 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01048/3.085, allocations: 7.898 MB / 1.939 GB, free: 257.9 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009768/3.095, allocations: 1.082 MB / 1.94 GB, free: 256.8 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001053/3.096, allocations: 172.7 kB / 1.94 GB, free: 256.7 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/3.096, allocations: 4 kB / 1.94 GB, free: 256.7 MB / 1.232 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02738/3.123, allocations: 9.621 MB / 1.949 GB, free: 247 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.023/3.146, allocations: 8.658 MB / 1.958 GB, free: 238.3 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003368/3.15, allocations: 1.185 MB / 1.959 GB, free: 237.1 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006527/3.156, allocations: 0.9089 MB / 1.96 GB, free: 236.2 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01222/3.169, allocations: 11.97 MB / 1.972 GB, free: 223.7 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00968/3.178, allocations: 1.028 MB / 1.973 GB, free: 222.6 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001132/3.179, allocations: 179.8 kB / 1.973 GB, free: 222.5 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.HDirTil.incAng.decAng.tNext,HDirTil.incAng.decAng.tNext,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (274): * Single equations (assignments): 269 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 2 {12 49,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.004811/3.184, allocations: 2.62 MB / 1.975 GB, free: 219.8 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002492/3.187, allocations: 0.5977 MB / 1.976 GB, free: 219.2 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02242/3.209, allocations: 8.487 MB / 1.984 GB, free: 210.7 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.006e-05/3.209, allocations: 20 kB / 1.984 GB, free: 210.7 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/3.209, allocations: 4 kB / 1.984 GB, free: 210.7 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.672e-05/3.209, allocations: 15.7 kB / 1.984 GB, free: 210.7 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008837/3.218, allocations: 6.924 MB / 1.991 GB, free: 203.6 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.01597/3.234, allocations: 6.07 MB / 1.997 GB, free: 197.5 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002923/3.237, allocations: 423.4 kB / 1.997 GB, free: 197.1 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1087/3.346, allocations: 15.69 MB / 2.013 GB, free: 181.3 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005891/3.346, allocations: 87.91 kB / 2.013 GB, free: 181.3 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01018/3.357, allocations: 8.013 MB / 2.021 GB, free: 172.8 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/3.357, allocations: 0 / 2.021 GB, free: 172.8 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01894/3.376, allocations: 6.812 MB / 2.027 GB, free: 166 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00591/3.382, allocations: 2.315 MB / 2.029 GB, free: 163.6 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002367/3.384, allocations: 40 kB / 2.029 GB, free: 163.6 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006815/3.391, allocations: 0.6909 MB / 2.03 GB, free: 162.9 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004564/3.391, allocations: 157.8 kB / 2.03 GB, free: 162.7 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003123/3.392, allocations: 112.9 kB / 2.03 GB, free: 162.6 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.7522/4.144, allocations: 252.5 MB / 2.277 GB, free: 380.3 MB / 1.232 GB Notification: Performance of sort global known variables: time 5.21e-07/4.144, allocations: 0.7812 kB / 2.277 GB, free: 380.3 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.01255/4.156, allocations: 3.097 MB / 2.28 GB, free: 377.5 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 2 {12 57,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00289/4.159, allocations: 1.033 MB / 2.281 GB, free: 376.9 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0338/4.193, allocations: 14.68 MB / 2.295 GB, free: 364.3 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/4.193, allocations: 0 / 2.295 GB, free: 364.3 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.008947/4.202, allocations: 3.798 MB / 2.299 GB, free: 360.9 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00562/4.208, allocations: 0.87 MB / 2.3 GB, free: 360.1 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02739/4.235, allocations: 16.14 MB / 2.316 GB, free: 344.2 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004196/4.239, allocations: 4.042 MB / 2.32 GB, free: 340.1 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.01015/4.25, allocations: 3.15 MB / 2.323 GB, free: 336.9 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003584/4.253, allocations: 0.8036 MB / 2.324 GB, free: 336.1 MB / 1.232 GB Notification: Performance of SimCode: time 8.52e-07/4.253, allocations: 4 kB / 2.324 GB, free: 336.1 MB / 1.232 GB Notification: Performance of Templates: time 0.2816/4.535, allocations: 242.6 MB / 2.56 GB, free: 94.05 MB / 1.232 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Window.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Window.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Window.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Window.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Window.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Window -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Window.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Window_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_Examples_Window.csv","../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Window.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches