Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uSta.y|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.",fileNamePrefix="Buildings_10_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_10_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.001436/0.001436, allocations: 111.9 kB / 15.61 MB, free: 128 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.001648/0.001648, allocations: 197.1 kB / 16.54 MB, free: 6.668 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.517/1.517, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.559/2.559, allocations: 437 MB / 0.7103 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 63.91 kB / 0.8692 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.853/0.8545, allocations: 151.6 MB / 1.017 GB, free: 2.496 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01145/0.866, allocations: 8.55 MB / 1.026 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1856/1.052, allocations: 159.4 MB / 1.181 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002595/1.054, allocations: 43.81 kB / 1.181 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00551/1.06, allocations: 1.995 MB / 1.183 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.004029/1.064, allocations: 1.246 MB / 1.185 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003662/1.067, allocations: 1.444 MB / 1.186 GB, free: 5.125 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.006448/1.074, allocations: 5.411 MB / 1.191 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001967/1.076, allocations: 1.231 MB / 1.192 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003244/1.079, allocations: 1.71 MB / 1.194 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002989/1.082, allocations: 1.561 MB / 1.196 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.000921/1.083, allocations: 292 kB / 1.196 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005918/1.089, allocations: 2.536 MB / 1.198 GB, free: 8.316 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.004374/1.093, allocations: 4.366 MB / 1.203 GB, free: 3.945 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.002924/1.096, allocations: 1.722 MB / 1.204 GB, free: 2.215 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.01045/1.107, allocations: 6.217 MB / 1.21 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/1.107, allocations: 3.938 kB / 1.21 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of FrontEnd: time 6.602e-06/1.107, allocations: 0 / 1.21 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0002249/1.107, allocations: 3.938 kB / 1.21 GB, free: 11.97 MB / 0.9669 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.009395/1.117, allocations: 4.18 MB / 1.214 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/1.117, allocations: 15.97 kB / 1.214 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001472/1.118, allocations: 424.4 kB / 1.215 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01248/1.131, allocations: 12.31 MB / 1.227 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001478/1.131, allocations: 175 kB / 1.227 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003829/1.131, allocations: 240 kB / 1.227 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003763/1.135, allocations: 2.369 MB / 1.23 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.801e-05/1.135, allocations: 11.97 kB / 1.23 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001572/1.135, allocations: 68 kB / 1.23 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.847e-05/1.135, allocations: 40 kB / 1.23 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003781/1.139, allocations: 2.455 MB / 1.232 GB, free: 5.488 MB / 0.9825 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.01984/1.159, allocations: 15.54 MB / 1.247 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003357/1.162, allocations: 1.977 MB / 1.249 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001585/1.164, allocations: 1.281 MB / 1.251 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-05/1.164, allocations: 41.09 kB / 1.251 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001937/1.166, allocations: 1.358 MB / 1.252 GB, free: 1.012 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=138): time 2.895e-06/1.166, allocations: 0 / 1.252 GB, free: 1.012 MB / 0.9981 GB Notification: Performance of matching and sorting (n=138): time 0.6038/1.77, allocations: 3.809 MB / 1.256 GB, free: 230 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002635/1.77, allocations: 363.2 kB / 1.256 GB, free: 229.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03454/1.805, allocations: 20.6 MB / 1.276 GB, free: 224.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006155/1.805, allocations: 86.36 kB / 1.276 GB, free: 224 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001504/1.807, allocations: 1.173 MB / 1.277 GB, free: 223.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005901/1.807, allocations: 468.6 kB / 1.278 GB, free: 222.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003811/1.811, allocations: 4.929 MB / 1.283 GB, free: 218.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.483e-05/1.811, allocations: 305.9 kB / 1.283 GB, free: 218 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03001/1.841, allocations: 38.67 MB / 1.321 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03991/1.881, allocations: 40.08 MB / 1.36 GB, free: 140.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04551/1.927, allocations: 47.74 MB / 1.406 GB, free: 92.66 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.357e-05/1.927, allocations: 4 kB / 1.406 GB, free: 92.65 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.07294/2, allocations: 90.96 MB / 1.495 GB, free: 1.309 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002485/2, allocations: 205.6 kB / 1.495 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.023e-05/2, allocations: 19.23 kB / 1.495 GB, free: 1.086 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006757/2.001, allocations: 108.9 kB / 1.495 GB, free: 0.9766 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002452/2.003, allocations: 0.6123 MB / 1.496 GB, free: 372 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002215/2.006, allocations: 1.684 MB / 1.498 GB, free: 14.54 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003177/2.009, allocations: 361.3 kB / 1.498 GB, free: 14.19 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006222/2.009, allocations: 155.6 kB / 1.498 GB, free: 14.04 MB / 1.014 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.003231/2.013, allocations: 2.511 MB / 1.501 GB, free: 11.52 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006609/2.013, allocations: 264.5 kB / 1.501 GB, free: 11.26 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005793/2.019, allocations: 3.48 MB / 1.504 GB, free: 7.773 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/2.019, allocations: 12 kB / 1.504 GB, free: 7.762 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/2.019, allocations: 4 kB / 1.504 GB, free: 7.758 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.433e-05/2.019, allocations: 7.969 kB / 1.504 GB, free: 7.75 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003215/2.022, allocations: 2.094 MB / 1.506 GB, free: 5.633 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/2.022, allocations: 0 / 1.506 GB, free: 5.633 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009536/2.023, allocations: 207.7 kB / 1.507 GB, free: 5.43 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004812/2.024, allocations: 72.8 kB / 1.507 GB, free: 5.355 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001265/2.024, allocations: 39.97 kB / 1.507 GB, free: 5.316 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00192/2.026, allocations: 1.657 MB / 1.508 GB, free: 3.516 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.165e-06/2.026, allocations: 3.938 kB / 1.508 GB, free: 3.512 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00545/2.031, allocations: 3.333 MB / 1.512 GB, free: 144 kB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001194/2.033, allocations: 0.5442 MB / 1.512 GB, free: 15.57 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005704/2.033, allocations: 43.84 kB / 1.512 GB, free: 15.53 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001338/2.035, allocations: 87.97 kB / 1.512 GB, free: 15.45 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002856/2.035, allocations: 105.1 kB / 1.512 GB, free: 15.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001607/2.035, allocations: 63.97 kB / 1.512 GB, free: 15.28 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.01146/2.047, allocations: 12.8 MB / 1.525 GB, free: 2.477 MB / 1.029 GB Notification: Performance of sort global known variables: time 5.01e-07/2.047, allocations: 0 / 1.525 GB, free: 2.477 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00552/2.052, allocations: 1.777 MB / 1.527 GB, free: 0.7812 MB / 1.029 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.003692/2.056, allocations: 1.006 MB / 1.528 GB, free: 56 kB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.04853/2.104, allocations: 51.78 MB / 1.578 GB, free: 12.31 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 9.227e-06/2.104, allocations: 0 / 1.578 GB, free: 12.31 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.003381/2.108, allocations: 2.716 MB / 1.581 GB, free: 9.57 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003282/2.111, allocations: 0.4895 MB / 1.581 GB, free: 9.105 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02944/2.141, allocations: 19.27 MB / 1.6 GB, free: 5.809 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006762/2.147, allocations: 4.636 MB / 1.605 GB, free: 1.137 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.002311/2.15, allocations: 0.6449 MB / 1.605 GB, free: 500 kB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007714/2.151, allocations: 215.4 kB / 1.605 GB, free: 288 kB / 1.107 GB Notification: Performance of SimCode: time 7.01e-07/2.151, allocations: 4 kB / 1.606 GB, free: 284 kB / 1.107 GB Notification: Performance of Templates: time 0.1806/2.331, allocations: 60.79 MB / 1.665 GB, free: 3.793 MB / 1.17 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches