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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001333/0.001333, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001347/0.001348, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.376/1.376, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.819/2.819, allocations: 472.6 MB / 0.7448 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001298, allocations: 65.2 kB / 0.9116 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3452, allocations: 159.9 MB / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01024/0.3555, allocations: 8.467 MB / 1.076 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1967/0.5522, allocations: 157.2 MB / 1.229 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001731/0.554, allocations: 35.75 kB / 1.23 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.005325/0.5593, allocations: 1.81 MB / 1.231 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00346/0.5628, allocations: 1.146 MB / 1.232 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003901/0.5667, allocations: 1.316 MB / 1.234 GB, free: 160 kB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.008443/0.5752, allocations: 5.44 MB / 1.239 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002409/0.5776, allocations: 1.231 MB / 1.24 GB, free: 9.422 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003069/0.5807, allocations: 1.776 MB / 1.242 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003184/0.5839, allocations: 1.615 MB / 1.244 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001206/0.5852, allocations: 288 kB / 1.244 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005288/0.5905, allocations: 2.551 MB / 1.246 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.6339/1.224, allocations: 4.361 MB / 1.251 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003319/1.228, allocations: 1.728 MB / 1.252 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0106/1.238, allocations: 6.225 MB / 1.258 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/1.238, allocations: 0 / 1.258 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.713e-06/1.238, allocations: 0 / 1.258 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002571/1.239, allocations: 0.7812 kB / 1.258 GB, free: 15.02 MB / 0.9981 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.01292/1.252, allocations: 4.181 MB / 1.262 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/1.252, allocations: 8.438 kB / 1.262 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001639/1.253, allocations: 423.9 kB / 1.263 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0153/1.269, allocations: 12.31 MB / 1.275 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002005/1.269, allocations: 177.2 kB / 1.275 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005417/1.269, allocations: 235.7 kB / 1.275 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004293/1.274, allocations: 2.378 MB / 1.278 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.431e-05/1.274, allocations: 2.156 kB / 1.278 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001774/1.274, allocations: 67.69 kB / 1.278 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.391e-05/1.274, allocations: 38.69 kB / 1.278 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003997/1.278, allocations: 2.461 MB / 1.28 GB, free: 12.12 MB / 0.9981 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.02109/1.299, allocations: 15.52 MB / 1.295 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003318/1.302, allocations: 1.984 MB / 1.297 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001377/1.304, allocations: 1.281 MB / 1.298 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.52e-05/1.304, allocations: 39.95 kB / 1.298 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001733/1.306, allocations: 1.358 MB / 1.3 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=138): time 3.467e-06/1.306, allocations: 0.7812 kB / 1.3 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of matching and sorting (n=138): time 0.00657/1.312, allocations: 3.816 MB / 1.303 GB, free: 9.77 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000168/1.312, allocations: 368.7 kB / 1.304 GB, free: 9.516 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0303/1.343, allocations: 20.6 MB / 1.324 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007544/1.344, allocations: 82.58 kB / 1.324 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001294/1.345, allocations: 1.171 MB / 1.325 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000432/1.345, allocations: 467.8 kB / 1.326 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002894/1.348, allocations: 4.925 MB / 1.33 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.157e-05/1.348, allocations: 305.5 kB / 1.331 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05456/1.403, allocations: 40.94 MB / 1.371 GB, free: 4.719 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0359/1.439, allocations: 40.07 MB / 1.41 GB, free: 12.41 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04277/1.482, allocations: 47.74 MB / 1.456 GB, free: 12.32 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.765e-05/1.482, allocations: 8.906 kB / 1.456 GB, free: 12.32 MB / 1.123 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.09633/1.578, allocations: 90.96 MB / 1.545 GB, free: 1.09 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 0.000327/1.578, allocations: 201.6 kB / 1.545 GB, free: 0.8867 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.631e-05/1.578, allocations: 16.91 kB / 1.546 GB, free: 0.8711 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007171/1.579, allocations: 117.6 kB / 1.546 GB, free: 0.7578 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003078/1.582, allocations: 0.6106 MB / 1.546 GB, free: 192 kB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002594/1.585, allocations: 1.682 MB / 1.548 GB, free: 14.39 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003943/1.589, allocations: 387.3 kB / 1.548 GB, free: 14.02 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006046/1.589, allocations: 157.2 kB / 1.548 GB, free: 13.87 MB / 1.217 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.004099/1.594, allocations: 2.508 MB / 1.551 GB, free: 11.4 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008022/1.594, allocations: 257.3 kB / 1.551 GB, free: 11.15 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006034/1.6, allocations: 3.487 MB / 1.554 GB, free: 7.676 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/1.6, allocations: 16 kB / 1.554 GB, free: 7.66 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/1.6, allocations: 0 / 1.554 GB, free: 7.66 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.519e-05/1.601, allocations: 9 kB / 1.554 GB, free: 7.652 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003663/1.604, allocations: 2.085 MB / 1.557 GB, free: 5.539 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/1.604, allocations: 1.625 kB / 1.557 GB, free: 5.539 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009368/1.605, allocations: 204.7 kB / 1.557 GB, free: 5.348 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004616/1.606, allocations: 80.34 kB / 1.557 GB, free: 5.273 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001258/1.606, allocations: 39.97 kB / 1.557 GB, free: 5.234 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001978/1.608, allocations: 1.661 MB / 1.558 GB, free: 3.449 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/1.608, allocations: 0.9375 kB / 1.558 GB, free: 3.449 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005463/1.613, allocations: 3.333 MB / 1.562 GB, free: 96 kB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001216/1.614, allocations: 0.5527 MB / 1.562 GB, free: 15.52 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004274/1.615, allocations: 31.94 kB / 1.562 GB, free: 15.49 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/1.616, allocations: 109.9 kB / 1.562 GB, free: 15.39 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002583/1.616, allocations: 101.2 kB / 1.562 GB, free: 15.29 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001466/1.616, allocations: 64.91 kB / 1.563 GB, free: 15.22 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.01191/1.628, allocations: 12.8 MB / 1.575 GB, free: 2.426 MB / 1.232 GB Notification: Performance of sort global known variables: time 6.91e-07/1.628, allocations: 1.031 kB / 1.575 GB, free: 2.426 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.007282/1.636, allocations: 1.782 MB / 1.577 GB, free: 0.6484 MB / 1.232 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.003239/1.639, allocations: 1.012 MB / 1.578 GB, free: 15.92 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.04837/1.687, allocations: 51.77 MB / 1.628 GB, free: 12.26 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/1.687, allocations: 0.9375 kB / 1.628 GB, free: 12.26 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.003697/1.691, allocations: 2.722 MB / 1.631 GB, free: 9.543 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002992/1.694, allocations: 496.2 kB / 1.631 GB, free: 9.082 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02824/1.722, allocations: 21.15 MB / 1.652 GB, free: 3.996 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005571/1.728, allocations: 4.637 MB / 1.657 GB, free: 15.34 MB / 1.326 GB Notification: Performance of simCode: alias equations: time 0.002398/1.73, allocations: 0.6525 MB / 1.657 GB, free: 14.68 MB / 1.326 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006487/1.731, allocations: 223.4 kB / 1.657 GB, free: 14.46 MB / 1.326 GB Notification: Performance of SimCode: time 7.22e-07/1.731, allocations: 0 / 1.657 GB, free: 14.46 MB / 1.326 GB Notification: Performance of Templates: time 0.1916/1.923, allocations: 60.61 MB / 1.717 GB, free: 2.32 MB / 1.373 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches