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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.007596/0.007596, allocations: 99.81 kB / 15.73 MB, free: 6.059 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.001788/0.001788, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.29/2.29, allocations: 390.2 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 67.89 kB / 0.9509 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.001/1.003, allocations: 140.4 MB / 1.088 GB, free: 5.555 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.009036/1.012, allocations: 7.317 MB / 1.095 GB, free: 328 kB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2266/1.238, allocations: 159.3 MB / 1.251 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001998/1.24, allocations: 39.75 kB / 1.251 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00602/1.246, allocations: 1.97 MB / 1.253 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003977/1.25, allocations: 1.177 MB / 1.254 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004259/1.255, allocations: 1.434 MB / 1.255 GB, free: 2.539 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.006164/1.261, allocations: 5.237 MB / 1.26 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001697/1.262, allocations: 1.281 MB / 1.262 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002994/1.265, allocations: 1.71 MB / 1.263 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002205/1.268, allocations: 1.526 MB / 1.265 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001118/1.269, allocations: 292 kB / 1.265 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005671/1.274, allocations: 2.579 MB / 1.267 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003948/1.278, allocations: 4.35 MB / 1.272 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002326/1.281, allocations: 1.687 MB / 1.273 GB, free: 15.79 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0106/1.291, allocations: 6.276 MB / 1.28 GB, free: 9.496 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/1.291, allocations: 0 / 1.28 GB, free: 9.496 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.663e-06/1.291, allocations: 0 / 1.28 GB, free: 9.496 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001043/1.292, allocations: 0 / 1.28 GB, free: 9.496 MB / 1.014 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.00833/1.3, allocations: 4.278 MB / 1.284 GB, free: 5.137 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/1.3, allocations: 8.031 kB / 1.284 GB, free: 5.129 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001521/1.301, allocations: 446.4 kB / 1.284 GB, free: 4.691 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01376/1.315, allocations: 12.36 MB / 1.296 GB, free: 8.27 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001633/1.315, allocations: 175 kB / 1.296 GB, free: 8.098 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004466/1.316, allocations: 236 kB / 1.297 GB, free: 7.867 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004002/1.32, allocations: 2.373 MB / 1.299 GB, free: 5.434 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.45e-05/1.32, allocations: 7.922 kB / 1.299 GB, free: 5.426 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001675/1.32, allocations: 64 kB / 1.299 GB, free: 5.363 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.952e-05/1.32, allocations: 40 kB / 1.299 GB, free: 5.324 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00381/1.324, allocations: 2.463 MB / 1.301 GB, free: 2.855 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02093/1.345, allocations: 15.01 MB / 1.316 GB, free: 3.715 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003346/1.348, allocations: 1.983 MB / 1.318 GB, free: 1.723 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001576/1.35, allocations: 1.274 MB / 1.319 GB, free: 460 kB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.496e-05/1.35, allocations: 45.09 kB / 1.319 GB, free: 416 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00192/1.352, allocations: 1.365 MB / 1.321 GB, free: 15.02 MB / 1.061 GB Notification: Performance of pre-optimization done (n=138): time 2.765e-06/1.352, allocations: 0 / 1.321 GB, free: 15.02 MB / 1.061 GB Notification: Performance of matching and sorting (n=138): time 0.00719/1.359, allocations: 3.825 MB / 1.324 GB, free: 11.16 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002686/1.359, allocations: 366.5 kB / 1.325 GB, free: 10.75 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03128/1.391, allocations: 20.61 MB / 1.345 GB, free: 6.121 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.000561/1.391, allocations: 85.7 kB / 1.345 GB, free: 6.031 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001438/1.393, allocations: 1.18 MB / 1.346 GB, free: 4.84 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005925/1.393, allocations: 491.9 kB / 1.347 GB, free: 4.355 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004418/1.398, allocations: 5.015 MB / 1.351 GB, free: 15.32 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001114/1.398, allocations: 305.1 kB / 1.352 GB, free: 15.02 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03684/1.435, allocations: 38.68 MB / 1.389 GB, free: 8.324 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04291/1.478, allocations: 40.08 MB / 1.429 GB, free: 15.99 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04684/1.525, allocations: 47.74 MB / 1.475 GB, free: 15.77 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.481e-05/1.525, allocations: 4 kB / 1.475 GB, free: 15.77 MB / 1.217 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.09267/1.617, allocations: 91 MB / 1.564 GB, free: 4.355 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 0.000282/1.618, allocations: 197.6 kB / 1.564 GB, free: 4.156 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.547e-05/1.618, allocations: 16 kB / 1.564 GB, free: 4.141 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007257/1.619, allocations: 116.8 kB / 1.564 GB, free: 4.027 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002835/1.621, allocations: 0.6123 MB / 1.565 GB, free: 3.414 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002618/1.624, allocations: 1.673 MB / 1.567 GB, free: 1.598 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003412/1.627, allocations: 377.2 kB / 1.567 GB, free: 1.227 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004048/1.628, allocations: 152 kB / 1.567 GB, free: 1.078 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * 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 (396): * Single equations (assignments): 355 * Array equations: 39 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.003078/1.631, allocations: 2.504 MB / 1.57 GB, free: 14.55 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005906/1.632, allocations: 274.1 kB / 1.57 GB, free: 14.29 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005605/1.637, allocations: 3.489 MB / 1.573 GB, free: 10.77 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/1.637, allocations: 12 kB / 1.573 GB, free: 10.76 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/1.637, allocations: 0 / 1.573 GB, free: 10.76 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/1.637, allocations: 3.984 kB / 1.573 GB, free: 10.76 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002816/1.64, allocations: 2.091 MB / 1.575 GB, free: 8.609 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/1.64, allocations: 3.938 kB / 1.575 GB, free: 8.605 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009558/1.641, allocations: 203.7 kB / 1.576 GB, free: 8.406 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004739/1.642, allocations: 76.78 kB / 1.576 GB, free: 8.328 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001021/1.642, allocations: 43.97 kB / 1.576 GB, free: 8.285 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001909/1.644, allocations: 1.65 MB / 1.577 GB, free: 6.488 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/1.644, allocations: 0 / 1.577 GB, free: 6.488 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005029/1.649, allocations: 3.351 MB / 1.581 GB, free: 3.109 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001082/1.65, allocations: 0.5651 MB / 1.581 GB, free: 2.523 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003448/1.65, allocations: 35.98 kB / 1.581 GB, free: 2.488 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/1.651, allocations: 87.91 kB / 1.581 GB, free: 2.402 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002403/1.651, allocations: 97.19 kB / 1.581 GB, free: 2.305 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001355/1.652, allocations: 67.95 kB / 1.581 GB, free: 2.238 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.6321/2.284, allocations: 12.8 MB / 1.594 GB, free: 450.1 MB / 1.311 GB Notification: Performance of sort global known variables: time 8.51e-07/2.284, allocations: 3.25 kB / 1.594 GB, free: 450.1 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.006829/2.291, allocations: 1.771 MB / 1.596 GB, free: 450 MB / 1.311 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003329/2.294, allocations: 1.023 MB / 1.597 GB, free: 449.9 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.05424/2.348, allocations: 50.92 MB / 1.646 GB, free: 427.2 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 1.81e-05/2.348, allocations: 0 / 1.646 GB, free: 427.2 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.003417/2.352, allocations: 2.724 MB / 1.649 GB, free: 425.6 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002512/2.354, allocations: 484.3 kB / 1.649 GB, free: 425.2 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02309/2.377, allocations: 19.47 MB / 1.668 GB, free: 407.6 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005152/2.383, allocations: 4.634 MB / 1.673 GB, free: 404.1 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.002065/2.385, allocations: 0.6429 MB / 1.674 GB, free: 403.5 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006103/2.385, allocations: 222.5 kB / 1.674 GB, free: 403.3 MB / 1.311 GB Notification: Performance of SimCode: time 8.42e-07/2.385, allocations: 0 / 1.674 GB, free: 403.3 MB / 1.311 GB Notification: Performance of Templates: time 0.1858/2.571, allocations: 60.35 MB / 1.733 GB, free: 347.7 MB / 1.311 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches