Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.AbsorbedRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winAbs.QAbsGlaUns_flow.1|1.|winAbs.QAbsGlaUns_flow.1|2.|winAbs.QAbsGlaUns_flow.2|1.|winAbs.QAbsGlaUns_flow.2|2.",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winAbs.QAbsGlaUns_flow.1|1.|winAbs.QAbsGlaUns_flow.1|2.|winAbs.QAbsGlaUns_flow.2|1.|winAbs.QAbsGlaUns_flow.2|2.",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001439/0.001438, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001715/0.001716, allocations: 194.9 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.603/2.603, allocations: 437 MB / 0.7103 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 63.91 kB / 0.8692 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7381/0.7395, allocations: 151.6 MB / 1.017 GB, free: 2.527 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.00912/0.7486, allocations: 7.283 MB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1878/0.9364, allocations: 155.5 MB / 1.176 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001881/0.9384, allocations: 27.88 kB / 1.176 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.005067/0.9435, allocations: 1.805 MB / 1.178 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00309/0.9466, allocations: 0.8581 MB / 1.179 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002707/0.9493, allocations: 1.017 MB / 1.18 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.004/0.9533, allocations: 3.563 MB / 1.183 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001299/0.9546, allocations: 0.9172 MB / 1.184 GB, free: 6.867 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001798/0.9564, allocations: 1.145 MB / 1.185 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001307/0.9577, allocations: 1.059 MB / 1.186 GB, free: 4.656 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002765/0.958, allocations: 200 kB / 1.187 GB, free: 4.461 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004088/0.9621, allocations: 2.204 MB / 1.189 GB, free: 2.254 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.00155/0.9637, allocations: 1.915 MB / 1.191 GB, free: 344 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001265/0.9649, allocations: 1.174 MB / 1.192 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.006587/0.9715, allocations: 4.363 MB / 1.196 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.9716, allocations: 0 / 1.196 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.853e-06/0.9716, allocations: 0 / 1.196 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.2e-05/0.9716, allocations: 0 / 1.196 GB, free: 10.78 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: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.007366/0.979, allocations: 2.989 MB / 1.199 GB, free: 7.727 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 6.297e-05/0.9791, allocations: 15.97 kB / 1.199 GB, free: 7.711 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001026/0.9801, allocations: 297.8 kB / 1.199 GB, free: 7.418 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005583/0.9857, allocations: 4.556 MB / 1.204 GB, free: 2.812 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001648/0.9859, allocations: 126.4 kB / 1.204 GB, free: 2.688 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002329/0.9861, allocations: 184 kB / 1.204 GB, free: 2.508 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002663/0.9888, allocations: 1.664 MB / 1.206 GB, free: 0.7812 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/0.9889, allocations: 0 / 1.206 GB, free: 0.7812 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/0.989, allocations: 56 kB / 1.206 GB, free: 0.7266 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.104e-05/0.989, allocations: 32 kB / 1.206 GB, free: 0.6953 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002656/0.9917, allocations: 1.726 MB / 1.207 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01126/1.003, allocations: 7.434 MB / 1.215 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002492/1.005, allocations: 1.579 MB / 1.216 GB, free: 5.77 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001322/1.007, allocations: 1.035 MB / 1.217 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000134/1.007, allocations: 37.17 kB / 1.217 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001498/1.008, allocations: 0.9773 MB / 1.218 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=118): time 4.379e-06/1.008, allocations: 0 / 1.218 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of matching and sorting (n=118): time 0.004628/1.013, allocations: 2.844 MB / 1.221 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002411/1.013, allocations: 352.2 kB / 1.221 GB, free: 468 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01073/1.024, allocations: 7.384 MB / 1.228 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0005659/1.025, allocations: 69.7 kB / 1.229 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001185/1.026, allocations: 0.7882 MB / 1.229 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006837/1.027, allocations: 394.4 kB / 1.23 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003073/1.03, allocations: 1.884 MB / 1.232 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001942/1.03, allocations: 301.1 kB / 1.232 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01477/1.045, allocations: 12.99 MB / 1.245 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5876/1.632, allocations: 13.69 MB / 1.258 GB, free: 228.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01799/1.65, allocations: 17.11 MB / 1.275 GB, free: 221 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.981e-05/1.65, allocations: 3.875 kB / 1.275 GB, free: 221 MB / 0.9981 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.0241/1.675, allocations: 31.27 MB / 1.305 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001767/1.675, allocations: 183.9 kB / 1.305 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.098e-05/1.675, allocations: 12 kB / 1.305 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.628e-05/1.675, allocations: 20.56 kB / 1.305 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001577/1.676, allocations: 477 kB / 1.306 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.678e-05/1.677, allocations: 30.89 kB / 1.306 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/1.678, allocations: 285.3 kB / 1.306 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001601/1.678, allocations: 108.1 kB / 1.306 GB, free: 193.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (290): * Single equations (assignments): 276 * Array equations: 13 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001219/1.679, allocations: 1.235 MB / 1.307 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002235/1.68, allocations: 183.2 kB / 1.308 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003338/1.683, allocations: 2.739 MB / 1.31 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/1.683, allocations: 12 kB / 1.31 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/1.683, allocations: 1.594 kB / 1.31 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/1.683, allocations: 5.438 kB / 1.31 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001418/1.684, allocations: 1.484 MB / 1.312 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/1.684, allocations: 4.062 kB / 1.312 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005774/1.685, allocations: 166.7 kB / 1.312 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/1.685, allocations: 4 kB / 1.312 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.466e-05/1.685, allocations: 39.34 kB / 1.312 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/1.685, allocations: 4 kB / 1.312 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.685, allocations: 3.938 kB / 1.312 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002538/1.688, allocations: 2.632 MB / 1.314 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004278/1.688, allocations: 433.9 kB / 1.315 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001967/1.688, allocations: 24 kB / 1.315 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007445/1.689, allocations: 78.45 kB / 1.315 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001562/1.689, allocations: 79.11 kB / 1.315 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.613e-05/1.689, allocations: 47.45 kB / 1.315 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002656/1.692, allocations: 4.653 MB / 1.32 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.2e-07/1.692, allocations: 0 / 1.32 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002053/1.694, allocations: 1.225 MB / 1.321 GB, free: 180 MB / 0.9981 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 (103): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001973/1.696, allocations: 0.9481 MB / 1.322 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01288/1.709, allocations: 19.62 MB / 1.341 GB, free: 159.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/1.709, allocations: 4 kB / 1.341 GB, free: 159.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001706/1.711, allocations: 2.243 MB / 1.343 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001847/1.713, allocations: 360.5 kB / 1.343 GB, free: 157.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00973/1.722, allocations: 8.572 MB / 1.352 GB, free: 148.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001718/1.724, allocations: 2.356 MB / 1.354 GB, free: 146.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001251/1.725, allocations: 456.7 kB / 1.355 GB, free: 145.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003371/1.726, allocations: 159.4 kB / 1.355 GB, free: 145.6 MB / 0.9981 GB Notification: Performance of SimCode: time 6.52e-07/1.726, allocations: 0 / 1.355 GB, free: 145.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.07036/1.796, allocations: 36.37 MB / 1.39 GB, free: 109.4 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches