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.001121/0.001122, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001215/0.001215, allocations: 193.5 kB / 16.14 MB, free: 6.652 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.385/1.385, allocations: 222.9 MB / 239.8 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.836/2.836, allocations: 472.6 MB / 0.7447 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 72.45 kB / 0.9114 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3319, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.00955/0.3415, allocations: 8.47 MB / 1.076 GB, free: 2.363 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1841/0.5257, allocations: 157.4 MB / 1.23 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003488/0.5292, allocations: 35.75 kB / 1.23 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.006003/0.5353, allocations: 1.826 MB / 1.231 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003706/0.539, allocations: 1.143 MB / 1.232 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003408/0.5424, allocations: 1.254 MB / 1.234 GB, free: 104 kB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.005594/0.548, allocations: 5.406 MB / 1.239 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001915/0.5499, allocations: 1.199 MB / 1.24 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002823/0.5528, allocations: 1.463 MB / 1.242 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002797/0.5556, allocations: 1.51 MB / 1.243 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008183/0.5564, allocations: 132 kB / 1.243 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005167/0.5616, allocations: 2.286 MB / 1.245 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.7278/1.289, allocations: 4.202 MB / 1.25 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004367/1.294, allocations: 1.538 MB / 1.251 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01209/1.306, allocations: 6.081 MB / 1.257 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/1.306, allocations: 1.031 kB / 1.257 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.904e-06/1.306, allocations: 0 / 1.257 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002529/1.306, allocations: 1.344 kB / 1.257 GB, free: 13.89 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.01219/1.318, allocations: 4.173 MB / 1.261 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/1.318, allocations: 12.16 kB / 1.261 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001631/1.32, allocations: 428.2 kB / 1.261 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01547/1.336, allocations: 12.29 MB / 1.273 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001751/1.336, allocations: 177.4 kB / 1.274 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00061/1.336, allocations: 235.3 kB / 1.274 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004823/1.341, allocations: 2.379 MB / 1.276 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.471e-05/1.341, allocations: 2.156 kB / 1.276 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001865/1.342, allocations: 70.09 kB / 1.276 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.424e-05/1.342, allocations: 38 kB / 1.276 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004223/1.346, allocations: 2.464 MB / 1.279 GB, free: 11 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.02081/1.367, allocations: 15.52 MB / 1.294 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003132/1.37, allocations: 1.984 MB / 1.296 GB, free: 9.031 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001293/1.371, allocations: 1.281 MB / 1.297 GB, free: 9.02 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.261e-05/1.371, allocations: 39.88 kB / 1.297 GB, free: 9.02 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001698/1.373, allocations: 1.356 MB / 1.298 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=138): time 2.665e-06/1.373, allocations: 0 / 1.298 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of matching and sorting (n=138): time 0.006515/1.379, allocations: 3.82 MB / 1.302 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001541/1.38, allocations: 362.3 kB / 1.302 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02773/1.407, allocations: 20.6 MB / 1.323 GB, free: 8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0008939/1.408, allocations: 84.27 kB / 1.323 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001442/1.41, allocations: 1.168 MB / 1.324 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005593/1.41, allocations: 468.2 kB / 1.324 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003334/1.414, allocations: 4.926 MB / 1.329 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.826e-05/1.414, allocations: 301.1 kB / 1.329 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05767/1.471, allocations: 40.86 MB / 1.369 GB, free: 4.867 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04079/1.512, allocations: 40.08 MB / 1.408 GB, free: 12.55 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04697/1.559, allocations: 47.73 MB / 1.455 GB, free: 12.46 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-05/1.559, allocations: 8 kB / 1.455 GB, free: 12.46 MB / 1.123 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.1021/1.661, allocations: 90.96 MB / 1.544 GB, free: 1.215 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003914/1.662, allocations: 201.6 kB / 1.544 GB, free: 1.012 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.896e-05/1.662, allocations: 20 kB / 1.544 GB, free: 0.9922 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007407/1.663, allocations: 112 kB / 1.544 GB, free: 0.8828 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00368/1.666, allocations: 0.6129 MB / 1.545 GB, free: 316 kB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002636/1.669, allocations: 1.57 MB / 1.546 GB, free: 14.62 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004617/1.674, allocations: 384 kB / 1.547 GB, free: 14.25 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000897/1.675, allocations: 155.3 kB / 1.547 GB, free: 14.11 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.005132/1.68, allocations: 2.509 MB / 1.549 GB, free: 11.63 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001052/1.681, allocations: 260.5 kB / 1.55 GB, free: 11.38 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007359/1.688, allocations: 3.484 MB / 1.553 GB, free: 7.883 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/1.688, allocations: 15.38 kB / 1.553 GB, free: 7.871 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.651e-05/1.688, allocations: 7.562 kB / 1.553 GB, free: 7.867 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.681e-05/1.688, allocations: 13.22 kB / 1.553 GB, free: 7.859 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005921/1.694, allocations: 2.083 MB / 1.555 GB, free: 5.746 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-05/1.694, allocations: 0 / 1.555 GB, free: 5.746 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001107/1.695, allocations: 206.2 kB / 1.555 GB, free: 5.555 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006174/1.696, allocations: 84.77 kB / 1.555 GB, free: 5.469 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002761/1.696, allocations: 43.98 kB / 1.555 GB, free: 5.426 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002147/1.698, allocations: 1.54 MB / 1.557 GB, free: 3.762 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.698, allocations: 0 / 1.557 GB, free: 3.762 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006347/1.705, allocations: 3.34 MB / 1.56 GB, free: 400 kB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00154/1.706, allocations: 0.548 MB / 1.561 GB, free: 15.82 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007509/1.707, allocations: 35.91 kB / 1.561 GB, free: 15.79 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001583/1.709, allocations: 103.9 kB / 1.561 GB, free: 15.68 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003084/1.709, allocations: 104.3 kB / 1.561 GB, free: 15.58 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001766/1.709, allocations: 63.97 kB / 1.561 GB, free: 15.52 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.01478/1.724, allocations: 12.8 MB / 1.573 GB, free: 2.723 MB / 1.232 GB Notification: Performance of sort global known variables: time 7.21e-07/1.724, allocations: 0 / 1.573 GB, free: 2.723 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.007831/1.732, allocations: 1.788 MB / 1.575 GB, free: 0.9375 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.005085/1.737, allocations: 1.002 MB / 1.576 GB, free: 220 kB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.05084/1.788, allocations: 50.92 MB / 1.626 GB, free: 13.42 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/1.788, allocations: 4 kB / 1.626 GB, free: 13.41 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.003495/1.791, allocations: 2.727 MB / 1.629 GB, free: 10.69 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002993/1.794, allocations: 460.8 kB / 1.629 GB, free: 10.24 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02944/1.824, allocations: 21.15 MB / 1.65 GB, free: 5.055 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005979/1.83, allocations: 4.642 MB / 1.654 GB, free: 400 kB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.002687/1.833, allocations: 0.6517 MB / 1.655 GB, free: 15.74 MB / 1.326 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007036/1.833, allocations: 215.4 kB / 1.655 GB, free: 15.53 MB / 1.326 GB Notification: Performance of SimCode: time 2.034e-06/1.833, allocations: 0 / 1.655 GB, free: 15.53 MB / 1.326 GB Notification: Performance of Templates: time 0.1817/2.015, allocations: 59.33 MB / 1.713 GB, free: 4.621 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