Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.BaseClasses.Examples.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uSta.y|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uSta.y|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 99.7 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.001284/0.001284, allocations: 177.3 kB / 15.94 MB, free: 228 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.47/1.47, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.335/2.335, allocations: 390.3 MB / 0.6653 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00034/0.0003401, allocations: 8 kB / 0.8145 GB, free: 14.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.757/0.7574, allocations: 142.3 MB / 0.9535 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.006367/0.7638, allocations: 6.177 MB / 0.9595 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1486/0.9125, allocations: 132.3 MB / 1.089 GB, free: 5.34 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001569/0.9141, allocations: 27.81 kB / 1.089 GB, free: 5.312 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.00443/0.9186, allocations: 1.437 MB / 1.09 GB, free: 3.871 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003501/0.9221, allocations: 1.016 MB / 1.091 GB, free: 2.855 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003211/0.9253, allocations: 1.038 MB / 1.092 GB, free: 1.828 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.004436/0.9298, allocations: 2.749 MB / 1.095 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001502/0.9313, allocations: 1.016 MB / 1.096 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002806/0.9341, allocations: 1.284 MB / 1.097 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002162/0.9363, allocations: 1.097 MB / 1.098 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0004098/0.9367, allocations: 68 kB / 1.098 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004081/0.9408, allocations: 1.966 MB / 1.1 GB, free: 9.602 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.003875/0.9447, allocations: 4.557 MB / 1.105 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001915/0.9466, allocations: 1.247 MB / 1.106 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01544/0.9621, allocations: 15.29 MB / 1.121 GB, free: 4.461 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.9621, allocations: 0 / 1.121 GB, free: 4.461 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.094e-06/0.9621, allocations: 0 / 1.121 GB, free: 4.461 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0003282/0.9625, allocations: 0 / 1.121 GB, free: 4.461 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 424 * Number of variables: 424 Notification: Performance of Generate backend data structure: time 0.02954/0.992, allocations: 11.46 MB / 1.132 GB, free: 8.891 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.9921, allocations: 8.031 kB / 1.132 GB, free: 8.883 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005137/0.9972, allocations: 0.9303 MB / 1.133 GB, free: 7.941 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.006/3.004, allocations: 0.9547 GB / 2.088 GB, free: 34.77 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001538/3.004, allocations: 171.1 kB / 2.088 GB, free: 34.6 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005367/3.004, allocations: 232 kB / 2.088 GB, free: 34.37 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003485/3.008, allocations: 2.107 MB / 2.09 GB, free: 32.2 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.966e-05/3.008, allocations: 0 / 2.09 GB, free: 32.2 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000171/3.008, allocations: 68 kB / 2.09 GB, free: 32.14 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.523e-05/3.008, allocations: 40 kB / 2.09 GB, free: 32.1 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00308/3.011, allocations: 2.21 MB / 2.092 GB, free: 29.88 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7321/3.743, allocations: 242.7 MB / 2.329 GB, free: 271.2 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002558/3.746, allocations: 1.632 MB / 2.331 GB, free: 269.6 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 9.719e-05/3.746, allocations: 37.86 kB / 2.331 GB, free: 269.6 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001385/3.747, allocations: 1.103 MB / 2.332 GB, free: 268.4 MB / 1.17 GB Notification: Performance of pre-optimization done (n=138): time 2.806e-06/3.747, allocations: 0 / 2.332 GB, free: 268.4 MB / 1.17 GB Notification: Performance of matching and sorting (n=138): time 0.00922/3.757, allocations: 3.679 MB / 2.336 GB, free: 265 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001695/3.757, allocations: 358.5 kB / 2.336 GB, free: 264.6 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.205/6.962, allocations: 1.183 GB / 3.519 GB, free: 417.1 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0006034/6.962, allocations: 81.33 kB / 3.519 GB, free: 417 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.005425/6.968, allocations: 3.737 MB / 3.522 GB, free: 414.5 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006843/6.968, allocations: 456.9 kB / 3.523 GB, free: 414.2 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001757/6.969, allocations: 54.97 kB / 3.523 GB, free: 414.2 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002328/6.969, allocations: 451.7 kB / 3.523 GB, free: 413.8 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002289/6.971, allocations: 1.662 MB / 3.525 GB, free: 413.2 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002734/6.974, allocations: 2.603 MB / 3.527 GB, free: 411.4 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002543/6.976, allocations: 2.178 MB / 3.53 GB, free: 410.5 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.28e-05/6.977, allocations: 8.469 kB / 3.53 GB, free: 410.5 MB / 1.17 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01089/6.987, allocations: 5.452 MB / 3.535 GB, free: 408 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001721/6.988, allocations: 213.4 kB / 3.535 GB, free: 407.9 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-05/6.988, allocations: 25.75 kB / 3.535 GB, free: 407.9 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006058/6.988, allocations: 128.2 kB / 3.535 GB, free: 407.9 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00202/6.99, allocations: 0.6178 MB / 3.536 GB, free: 407.5 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001853/6.992, allocations: 1.588 MB / 3.537 GB, free: 405.8 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006673/6.999, allocations: 1.194 MB / 3.539 GB, free: 404.6 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003806/6.999, allocations: 140.7 kB / 3.539 GB, free: 404.4 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 128 * 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 (345): * Single equations (assignments): 343 * Array equations: 0 * Algorithm blocks: 1 * 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 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.007099/7.006, allocations: 3.847 MB / 3.542 GB, free: 400.6 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004269/7.011, allocations: 0.7593 MB / 3.543 GB, free: 399.8 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007077/7.018, allocations: 3.85 MB / 3.547 GB, free: 395.9 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/7.018, allocations: 12 kB / 3.547 GB, free: 395.9 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/7.018, allocations: 0 / 3.547 GB, free: 395.9 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/7.018, allocations: 7.984 kB / 3.547 GB, free: 395.9 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01103/7.029, allocations: 6.789 MB / 3.554 GB, free: 389.1 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-05/7.029, allocations: 0 / 3.554 GB, free: 389.1 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009885/7.03, allocations: 211.7 kB / 3.554 GB, free: 388.9 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005338/7.03, allocations: 86.25 kB / 3.554 GB, free: 388.8 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001505/7.031, allocations: 39.98 kB / 3.554 GB, free: 388.8 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001483/7.032, allocations: 1.566 MB / 3.555 GB, free: 387 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/7.032, allocations: 0 / 3.555 GB, free: 387 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007431/7.04, allocations: 3.35 MB / 3.559 GB, free: 383.7 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007949/7.048, allocations: 3.156 MB / 3.562 GB, free: 380.5 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003678/7.051, allocations: 32 kB / 3.562 GB, free: 380.4 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005996/7.057, allocations: 0.7856 MB / 3.563 GB, free: 379.7 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003835/7.058, allocations: 105.2 kB / 3.563 GB, free: 379.6 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001741/7.058, allocations: 72.56 kB / 3.563 GB, free: 379.5 MB / 1.17 GB Notification: Performance of sorting global known variables: time 1.942/9, allocations: 0.9477 GB / 4.51 GB, free: 311.8 MB / 1.17 GB Notification: Performance of sort global known variables: time 7.51e-07/9, allocations: 0.9375 kB / 4.51 GB, free: 311.8 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.01163/9.012, allocations: 1.855 MB / 4.512 GB, free: 310.1 MB / 1.17 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 (weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.tNext,weaDat.locTim.tNext,HDirTil.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * 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 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00304/9.015, allocations: 0.9972 MB / 4.513 GB, free: 309.5 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.006242/9.021, allocations: 5.201 MB / 4.518 GB, free: 304.3 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/9.021, allocations: 0 / 4.518 GB, free: 304.3 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.002225/9.024, allocations: 2.456 MB / 4.521 GB, free: 301.8 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007159/9.031, allocations: 0.7585 MB / 4.521 GB, free: 301 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02924/9.06, allocations: 18.63 MB / 4.54 GB, free: 282.4 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006236/9.066, allocations: 4.799 MB / 4.544 GB, free: 277.6 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.008696/9.075, allocations: 3.005 MB / 4.547 GB, free: 274.6 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006168/9.081, allocations: 1.202 MB / 4.548 GB, free: 273.4 MB / 1.17 GB Notification: Performance of SimCode: time 1.583e-06/9.081, allocations: 7.938 kB / 4.548 GB, free: 273.4 MB / 1.17 GB Notification: Performance of Templates: time 1.065/10.15, allocations: 428.8 MB / 4.967 GB, free: 307.7 MB / 1.17 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.csv","../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches