Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.BaseClasses.Examples.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uSta.y|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.",fileNamePrefix="Buildings_latest_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_latest_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.0012/0.0012, allocations: 99.08 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.001457/0.001457, 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.291/1.291, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.517/2.517, allocations: 436.5 MB / 0.7104 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004846/0.0004849, allocations: 8 kB / 0.8708 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6759/0.6764, allocations: 153.7 MB / 1.021 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.0077/0.6842, allocations: 6.173 MB / 1.027 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1457/0.8299, allocations: 132.3 MB / 1.156 GB, free: 6.262 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00139/0.8313, allocations: 27.81 kB / 1.156 GB, free: 6.234 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003828/0.8351, allocations: 1.441 MB / 1.157 GB, free: 4.789 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002529/0.8377, allocations: 1.008 MB / 1.158 GB, free: 3.781 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002581/0.8403, allocations: 1.037 MB / 1.159 GB, free: 2.754 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003341/0.8436, allocations: 2.749 MB / 1.162 GB, free: 0 / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001235/0.8449, allocations: 1.012 MB / 1.163 GB, free: 14.96 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00179/0.8467, allocations: 1.284 MB / 1.164 GB, free: 13.67 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001342/0.848, allocations: 1.105 MB / 1.165 GB, free: 12.56 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001992/0.8482, allocations: 76 kB / 1.166 GB, free: 12.48 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003295/0.8516, allocations: 1.95 MB / 1.167 GB, free: 10.53 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.003598/0.8552, allocations: 4.565 MB / 1.172 GB, free: 5.957 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001468/0.8566, allocations: 1.239 MB / 1.173 GB, free: 4.707 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01415/0.8708, allocations: 15.28 MB / 1.188 GB, free: 5.391 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.8708, allocations: 8 kB / 1.188 GB, free: 5.383 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.625e-06/0.8709, allocations: 0 / 1.188 GB, free: 5.383 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0003003/0.8712, allocations: 0 / 1.188 GB, free: 5.383 MB / 0.9356 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.02724/0.8984, allocations: 11.46 MB / 1.199 GB, free: 9.812 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.8985, allocations: 16.03 kB / 1.199 GB, free: 9.797 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004504/0.903, allocations: 0.9147 MB / 1.2 GB, free: 8.871 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.819/2.722, allocations: 0.9547 GB / 2.155 GB, free: 20.5 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001443/2.722, allocations: 171.1 kB / 2.155 GB, free: 20.34 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000478/2.722, allocations: 236 kB / 2.155 GB, free: 20.11 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003393/2.726, allocations: 2.107 MB / 2.157 GB, free: 17.94 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.217e-05/2.726, allocations: 0 / 2.157 GB, free: 17.94 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001743/2.726, allocations: 77.06 kB / 2.157 GB, free: 17.87 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.419e-05/2.726, allocations: 36 kB / 2.157 GB, free: 17.83 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003088/2.729, allocations: 2.209 MB / 2.16 GB, free: 15.62 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6873/3.416, allocations: 242.7 MB / 2.397 GB, free: 280.2 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0026/3.419, allocations: 1.639 MB / 2.398 GB, free: 278.6 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 9.783e-05/3.419, allocations: 33.72 kB / 2.398 GB, free: 278.6 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001397/3.421, allocations: 1.101 MB / 2.399 GB, free: 277.5 MB / 1.248 GB Notification: Performance of pre-optimization done (n=138): time 3.186e-06/3.421, allocations: 0 / 2.399 GB, free: 277.5 MB / 1.248 GB Notification: Performance of matching and sorting (n=138): time 0.009179/3.43, allocations: 3.676 MB / 2.403 GB, free: 274.1 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00017/3.43, allocations: 366.5 kB / 2.403 GB, free: 273.7 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.353/5.783, allocations: 1.183 GB / 3.586 GB, free: 22.91 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0005241/5.783, allocations: 85.7 kB / 3.586 GB, free: 22.82 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.004743/5.788, allocations: 3.745 MB / 3.59 GB, free: 19.3 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005183/5.788, allocations: 450.4 kB / 3.59 GB, free: 18.98 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/5.789, allocations: 56 kB / 3.59 GB, free: 18.93 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001511/5.789, allocations: 446.4 kB / 3.591 GB, free: 18.48 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002047/5.791, allocations: 1.658 MB / 3.592 GB, free: 16.82 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002333/5.793, allocations: 2.613 MB / 3.595 GB, free: 13.85 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002468/5.796, allocations: 2.176 MB / 3.597 GB, free: 11.7 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.926e-05/5.796, allocations: 8 kB / 3.597 GB, free: 11.69 MB / 1.248 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01132/5.807, allocations: 5.456 MB / 3.602 GB, free: 6.211 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001871/5.807, allocations: 208.8 kB / 3.602 GB, free: 6.004 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.656e-05/5.807, allocations: 28 kB / 3.602 GB, free: 5.977 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006228/5.808, allocations: 128.9 kB / 3.603 GB, free: 5.848 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002173/5.81, allocations: 0.6174 MB / 3.603 GB, free: 5.23 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001782/5.812, allocations: 1.578 MB / 3.605 GB, free: 3.512 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007608/5.82, allocations: 1.201 MB / 3.606 GB, free: 2.305 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006049/5.82, allocations: 148 kB / 3.606 GB, free: 2.16 MB / 1.248 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.006551/5.827, allocations: 3.848 MB / 3.61 GB, free: 14.3 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003916/5.831, allocations: 0.7516 MB / 3.61 GB, free: 13.54 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008311/5.839, allocations: 3.845 MB / 3.614 GB, free: 9.668 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.605e-05/5.839, allocations: 15.28 kB / 3.614 GB, free: 9.656 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/5.839, allocations: 0 / 3.614 GB, free: 9.656 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.718e-05/5.839, allocations: 11.98 kB / 3.614 GB, free: 9.645 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01491/5.854, allocations: 6.779 MB / 3.621 GB, free: 2.824 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.929e-05/5.854, allocations: 0 / 3.621 GB, free: 2.824 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001141/5.855, allocations: 211.7 kB / 3.621 GB, free: 2.617 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005733/5.856, allocations: 84.77 kB / 3.621 GB, free: 2.531 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002658/5.856, allocations: 43.97 kB / 3.621 GB, free: 2.488 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001884/5.858, allocations: 1.556 MB / 3.623 GB, free: 0.7969 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/5.858, allocations: 4.062 kB / 3.623 GB, free: 0.793 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5639/6.422, allocations: 3.344 MB / 3.626 GB, free: 479.9 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01139/6.433, allocations: 3.15 MB / 3.629 GB, free: 478.5 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005452/6.439, allocations: 38.62 kB / 3.629 GB, free: 478.5 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007893/6.447, allocations: 0.7906 MB / 3.63 GB, free: 478.5 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004788/6.447, allocations: 100.3 kB / 3.63 GB, free: 478.5 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002441/6.448, allocations: 66.53 kB / 3.63 GB, free: 478.5 MB / 1.264 GB Notification: Performance of sorting global known variables: time 1.188/7.636, allocations: 0.9477 GB / 4.578 GB, free: 19.37 MB / 1.264 GB Notification: Performance of sort global known variables: time 5.51e-07/7.636, allocations: 7.625 kB / 4.578 GB, free: 19.37 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.007484/7.643, allocations: 1.856 MB / 4.579 GB, free: 17.67 MB / 1.264 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.002639/7.646, allocations: 1.008 MB / 4.58 GB, free: 17.05 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.005723/7.652, allocations: 5.192 MB / 4.586 GB, free: 11.87 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 8.166e-06/7.652, allocations: 2.391 kB / 4.586 GB, free: 11.87 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002543/7.654, allocations: 2.464 MB / 4.588 GB, free: 9.387 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006882/7.661, allocations: 0.7492 MB / 4.589 GB, free: 8.637 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5183/8.179, allocations: 18.63 MB / 4.607 GB, free: 475.1 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008139/8.188, allocations: 4.789 MB / 4.612 GB, free: 473.8 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.007677/8.195, allocations: 3.012 MB / 4.615 GB, free: 473.3 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003838/8.199, allocations: 1.208 MB / 4.616 GB, free: 473.1 MB / 1.264 GB Notification: Performance of SimCode: time 7.62e-07/8.199, allocations: 0 / 4.616 GB, free: 473.1 MB / 1.264 GB Notification: Performance of Templates: time 0.4473/8.646, allocations: 428.8 MB / 5.034 GB, free: 56.18 MB / 1.264 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.csv","../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches