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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001523/0.001523, 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.00187/0.00187, allocations: 194.5 kB / 16.14 MB, free: 6.645 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.379/1.379, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.635/2.635, allocations: 461.9 MB / 0.7342 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 65.84 kB / 0.8984 GB, free: 37.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3746/0.3758, allocations: 157.4 MB / 1.052 GB, free: 8.867 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01031/0.3861, allocations: 8.472 MB / 1.06 GB, free: 364 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1876/0.5737, allocations: 157.4 MB / 1.214 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002476/0.5763, allocations: 31.81 kB / 1.214 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.006529/0.5828, allocations: 1.818 MB / 1.216 GB, free: 492 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004017/0.5868, allocations: 1.143 MB / 1.217 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00384/0.5907, allocations: 1.247 MB / 1.218 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.006398/0.5971, allocations: 5.402 MB / 1.224 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002306/0.5994, allocations: 1.203 MB / 1.225 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00308/0.6025, allocations: 1.46 MB / 1.226 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003028/0.6056, allocations: 1.51 MB / 1.228 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0008937/0.6065, allocations: 136 kB / 1.228 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005264/0.6118, allocations: 2.282 MB / 1.23 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.004235/0.616, allocations: 4.213 MB / 1.234 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003247/0.6193, allocations: 1.546 MB / 1.236 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01207/0.6314, allocations: 6.069 MB / 1.242 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.6314, allocations: 0 / 1.242 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.935e-06/0.6314, allocations: 0 / 1.242 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003022/0.6317, allocations: 0 / 1.242 GB, free: 6.172 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.01215/0.6439, allocations: 4.189 MB / 1.246 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.644, allocations: 8.031 kB / 1.246 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001539/0.6455, allocations: 428.3 kB / 1.246 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7718/1.417, allocations: 12.29 MB / 1.258 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002434/1.418, allocations: 171.3 kB / 1.258 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006208/1.418, allocations: 239 kB / 1.258 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004729/1.423, allocations: 2.376 MB / 1.261 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.071e-05/1.423, allocations: 0 / 1.261 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001695/1.423, allocations: 68.36 kB / 1.261 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-05/1.423, allocations: 38.16 kB / 1.261 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005379/1.429, allocations: 2.47 MB / 1.263 GB, free: 190.5 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.02359/1.452, allocations: 15.52 MB / 1.278 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003602/1.456, allocations: 1.984 MB / 1.28 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001638/1.458, allocations: 1.276 MB / 1.282 GB, free: 185 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.904e-05/1.458, allocations: 39.27 kB / 1.282 GB, free: 185 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001955/1.46, allocations: 1.364 MB / 1.283 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=138): time 2.435e-06/1.46, allocations: 0 / 1.283 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=138): time 0.007481/1.467, allocations: 3.819 MB / 1.287 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002302/1.467, allocations: 363.4 kB / 1.287 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02457/1.492, allocations: 20.6 MB / 1.307 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007708/1.493, allocations: 85.7 kB / 1.307 GB, free: 161.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001296/1.494, allocations: 1.169 MB / 1.308 GB, free: 160.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005217/1.495, allocations: 472.1 kB / 1.309 GB, free: 160 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002785/1.497, allocations: 4.926 MB / 1.314 GB, free: 155 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.35e-05/1.498, allocations: 301.1 kB / 1.314 GB, free: 154.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0234/1.521, allocations: 38.68 MB / 1.352 GB, free: 116 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0273/1.548, allocations: 40.08 MB / 1.391 GB, free: 75.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03014/1.578, allocations: 47.73 MB / 1.437 GB, free: 27.49 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.185e-05/1.579, allocations: 4 kB / 1.437 GB, free: 27.48 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.08544/1.664, allocations: 90.97 MB / 1.526 GB, free: 140 kB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003233/1.664, allocations: 205.6 kB / 1.526 GB, free: 15.93 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.325e-05/1.664, allocations: 20 kB / 1.527 GB, free: 15.91 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007033/1.665, allocations: 108.8 kB / 1.527 GB, free: 15.8 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00305/1.668, allocations: 0.6161 MB / 1.527 GB, free: 15.18 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002241/1.67, allocations: 1.57 MB / 1.529 GB, free: 13.48 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003472/1.674, allocations: 383.7 kB / 1.529 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004446/1.674, allocations: 151.6 kB / 1.529 GB, free: 12.96 MB / 1.076 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.003028/1.677, allocations: 2.51 MB / 1.532 GB, free: 10.45 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006362/1.678, allocations: 260.4 kB / 1.532 GB, free: 10.19 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005897/1.684, allocations: 3.488 MB / 1.535 GB, free: 6.695 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/1.684, allocations: 19.17 kB / 1.535 GB, free: 6.68 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/1.684, allocations: 0 / 1.535 GB, free: 6.68 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/1.684, allocations: 3.984 kB / 1.535 GB, free: 6.676 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003679/1.688, allocations: 2.093 MB / 1.537 GB, free: 4.566 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/1.688, allocations: 0 / 1.537 GB, free: 4.566 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009386/1.689, allocations: 203.7 kB / 1.538 GB, free: 4.367 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000572/1.689, allocations: 88.77 kB / 1.538 GB, free: 4.277 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001141/1.689, allocations: 43.97 kB / 1.538 GB, free: 4.234 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002002/1.691, allocations: 1.549 MB / 1.539 GB, free: 2.551 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/1.691, allocations: 0 / 1.539 GB, free: 2.551 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005417/1.697, allocations: 3.331 MB / 1.543 GB, free: 15.19 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001116/1.698, allocations: 0.5518 MB / 1.543 GB, free: 14.61 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003527/1.698, allocations: 32 kB / 1.543 GB, free: 14.58 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/1.699, allocations: 111.7 kB / 1.543 GB, free: 14.47 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002744/1.7, allocations: 105 kB / 1.543 GB, free: 14.38 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001443/1.7, allocations: 67.95 kB / 1.543 GB, free: 14.31 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.01119/1.711, allocations: 12.8 MB / 1.556 GB, free: 1.512 MB / 1.092 GB Notification: Performance of sort global known variables: time 3.247e-06/1.711, allocations: 0 / 1.556 GB, free: 1.512 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.005537/1.717, allocations: 1.781 MB / 1.558 GB, free: 15.8 MB / 1.107 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.002922/1.72, allocations: 1.003 MB / 1.559 GB, free: 15.09 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.05201/1.772, allocations: 50.91 MB / 1.608 GB, free: 12.18 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.651e-05/1.772, allocations: 6 kB / 1.608 GB, free: 12.18 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.003798/1.776, allocations: 2.723 MB / 1.611 GB, free: 9.43 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002596/1.778, allocations: 460.4 kB / 1.611 GB, free: 8.988 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02582/1.804, allocations: 21.14 MB / 1.632 GB, free: 3.805 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005003/1.809, allocations: 4.636 MB / 1.637 GB, free: 15.14 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.002035/1.811, allocations: 0.6604 MB / 1.637 GB, free: 14.47 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006067/1.812, allocations: 219.4 kB / 1.637 GB, free: 14.26 MB / 1.186 GB Notification: Performance of SimCode: time 1.052e-06/1.812, allocations: 7.938 kB / 1.637 GB, free: 14.25 MB / 1.186 GB Notification: Performance of Templates: time 0.1731/1.985, allocations: 59.33 MB / 1.695 GB, free: 3.188 MB / 1.232 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