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.0008307/0.0008307, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005466/0.005466, allocations: 170 kB / 16.26 MB, free: 6.613 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.506/1.506, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.751/2.751, allocations: 462.7 MB / 0.7364 GB, free: 272 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003856/0.0003857, allocations: 14.53 kB / 0.9028 GB, free: 36.74 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3771/0.3775, allocations: 159.6 MB / 1.059 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01157/0.3891, allocations: 7.992 MB / 1.066 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1786/0.5677, allocations: 152 MB / 1.215 GB, free: 4.867 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002304/0.5701, allocations: 27.81 kB / 1.215 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.005993/0.5761, allocations: 1.818 MB / 1.217 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003739/0.5799, allocations: 1.14 MB / 1.218 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003553/0.5834, allocations: 1.255 MB / 1.219 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.006335/0.5898, allocations: 5.406 MB / 1.224 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002214/0.592, allocations: 1.156 MB / 1.225 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002689/0.5947, allocations: 1.303 MB / 1.227 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002581/0.5973, allocations: 1.315 MB / 1.228 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0006512/0.598, allocations: 68 kB / 1.228 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004537/0.6025, allocations: 2.223 MB / 1.23 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.004188/0.6068, allocations: 4.1 MB / 1.234 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002857/0.6096, allocations: 1.431 MB / 1.236 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.009157/0.6188, allocations: 5.935 MB / 1.241 GB, free: 9.578 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.6188, allocations: 0 / 1.241 GB, free: 9.578 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.014e-06/0.6188, allocations: 0 / 1.241 GB, free: 9.578 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001869/0.619, allocations: 0 / 1.241 GB, free: 9.578 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.008121/0.6272, allocations: 3.51 MB / 1.245 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.6272, allocations: 8.031 kB / 1.245 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002089/0.6293, allocations: 432.4 kB / 1.245 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7348/1.364, allocations: 12.3 MB / 1.257 GB, free: 27.5 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001751/1.364, allocations: 173.4 kB / 1.257 GB, free: 27.5 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004926/1.365, allocations: 236.3 kB / 1.258 GB, free: 27.5 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003644/1.369, allocations: 2.386 MB / 1.26 GB, free: 27.3 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.515e-05/1.369, allocations: 1.344 kB / 1.26 GB, free: 27.3 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001572/1.369, allocations: 72.36 kB / 1.26 GB, free: 27.3 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.786e-05/1.369, allocations: 39.31 kB / 1.26 GB, free: 27.3 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00467/1.373, allocations: 2.482 MB / 1.263 GB, free: 27.29 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.02447/1.398, allocations: 15.63 MB / 1.278 GB, free: 25.36 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00358/1.402, allocations: 2.001 MB / 1.28 GB, free: 25.31 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001721/1.403, allocations: 1.288 MB / 1.281 GB, free: 25.3 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001184/1.403, allocations: 42.38 kB / 1.281 GB, free: 25.3 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002038/1.406, allocations: 1.365 MB / 1.282 GB, free: 25.22 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=138): time 2.805e-06/1.406, allocations: 0 / 1.282 GB, free: 25.22 MB / 0.9981 GB Notification: Performance of matching and sorting (n=138): time 0.00688/1.412, allocations: 3.848 MB / 1.286 GB, free: 24.86 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001767/1.413, allocations: 361.2 kB / 1.287 GB, free: 24.61 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02732/1.44, allocations: 20.6 MB / 1.307 GB, free: 24.28 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007014/1.441, allocations: 84.27 kB / 1.307 GB, free: 24.25 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001434/1.442, allocations: 1.162 MB / 1.308 GB, free: 23.89 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005388/1.443, allocations: 472.2 kB / 1.308 GB, free: 23.61 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003413/1.446, allocations: 4.516 MB / 1.313 GB, free: 22.62 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.691e-05/1.446, allocations: 308.2 kB / 1.313 GB, free: 22.32 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05258/1.499, allocations: 40.56 MB / 1.353 GB, free: 0 / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0397/1.538, allocations: 40.1 MB / 1.392 GB, free: 7.703 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04383/1.582, allocations: 47.75 MB / 1.438 GB, free: 7.816 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.341e-05/1.582, allocations: 4 kB / 1.438 GB, free: 7.812 MB / 1.092 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.1033/1.686, allocations: 90.98 MB / 1.527 GB, free: 13.06 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002825/1.686, allocations: 201.6 kB / 1.527 GB, free: 12.86 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.312e-05/1.686, allocations: 20.55 kB / 1.527 GB, free: 12.84 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006705/1.687, allocations: 120.8 kB / 1.528 GB, free: 12.72 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002741/1.69, allocations: 0.618 MB / 1.528 GB, free: 12.14 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002377/1.692, allocations: 1.56 MB / 1.53 GB, free: 10.47 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00324/1.695, allocations: 412.2 kB / 1.53 GB, free: 10.07 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000333/1.696, allocations: 156 kB / 1.53 GB, free: 9.926 MB / 1.186 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.003481/1.699, allocations: 2.509 MB / 1.533 GB, free: 7.453 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004795/1.7, allocations: 260.5 kB / 1.533 GB, free: 7.195 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005817/1.705, allocations: 3.5 MB / 1.536 GB, free: 3.684 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/1.705, allocations: 16 kB / 1.536 GB, free: 3.668 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.705, allocations: 0 / 1.536 GB, free: 3.668 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.406e-05/1.705, allocations: 3.984 kB / 1.536 GB, free: 3.664 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003131/1.709, allocations: 2.088 MB / 1.538 GB, free: 1.555 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/1.709, allocations: 3.984 kB / 1.538 GB, free: 1.551 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009377/1.71, allocations: 206.8 kB / 1.539 GB, free: 1.359 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005701/1.71, allocations: 88.77 kB / 1.539 GB, free: 1.27 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001223/1.71, allocations: 39.97 kB / 1.539 GB, free: 1.23 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001964/1.712, allocations: 1.557 MB / 1.54 GB, free: 15.54 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/1.712, allocations: 0 / 1.54 GB, free: 15.54 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005319/1.718, allocations: 3.354 MB / 1.544 GB, free: 12.16 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001275/1.719, allocations: 0.6238 MB / 1.544 GB, free: 11.52 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003293/1.719, allocations: 31.98 kB / 1.544 GB, free: 11.49 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/1.72, allocations: 123.9 kB / 1.544 GB, free: 11.37 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002441/1.721, allocations: 101.2 kB / 1.544 GB, free: 11.27 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001405/1.721, allocations: 68.83 kB / 1.544 GB, free: 11.2 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.01355/1.734, allocations: 12.8 MB / 1.557 GB, free: 14.4 MB / 1.217 GB Notification: Performance of sort global known variables: time 3.91e-07/1.734, allocations: 0 / 1.557 GB, free: 14.4 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.005501/1.74, allocations: 1.786 MB / 1.559 GB, free: 12.7 MB / 1.217 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.002799/1.743, allocations: 1.005 MB / 1.56 GB, free: 12.04 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.04638/1.789, allocations: 50.94 MB / 1.609 GB, free: 9.188 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/1.789, allocations: 0 / 1.609 GB, free: 9.188 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.003454/1.793, allocations: 2.727 MB / 1.612 GB, free: 6.457 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00257/1.795, allocations: 471.7 kB / 1.613 GB, free: 6 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02666/1.822, allocations: 21.19 MB / 1.633 GB, free: 0.7695 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005779/1.828, allocations: 4.638 MB / 1.638 GB, free: 12.1 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002125/1.83, allocations: 0.6566 MB / 1.638 GB, free: 11.44 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006381/1.83, allocations: 215.4 kB / 1.639 GB, free: 11.23 MB / 1.295 GB Notification: Performance of SimCode: time 6.62e-07/1.831, allocations: 0 / 1.639 GB, free: 11.23 MB / 1.295 GB Notification: Performance of Templates: time 0.1015/1.932, allocations: 52.15 MB / 1.69 GB, free: 7.527 MB / 1.342 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