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.006084/0.006084, allocations: 104.8 kB / 15.74 MB, free: 6.062 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.001257/0.001257, allocations: 194.7 kB / 16.67 MB, free: 5.973 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.797/2.797, allocations: 472.6 MB / 0.7452 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 63.91 kB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3504, allocations: 159.9 MB / 1.226 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01026/0.3607, allocations: 8.541 MB / 1.234 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.9692/1.33, allocations: 159.4 MB / 1.39 GB, free: 12.09 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001901/1.332, allocations: 37.69 kB / 1.39 GB, free: 12.08 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.006531/1.338, allocations: 1.981 MB / 1.392 GB, free: 10.75 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.004129/1.343, allocations: 1.265 MB / 1.393 GB, free: 9.789 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004149/1.347, allocations: 1.437 MB / 1.394 GB, free: 8.695 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.006796/1.354, allocations: 5.438 MB / 1.4 GB, free: 5.352 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002244/1.356, allocations: 1.234 MB / 1.401 GB, free: 4.633 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003267/1.359, allocations: 1.725 MB / 1.402 GB, free: 3.625 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003731/1.363, allocations: 1.557 MB / 1.404 GB, free: 2.609 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001191/1.364, allocations: 290.8 kB / 1.404 GB, free: 2.609 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006556/1.371, allocations: 2.575 MB / 1.407 GB, free: 1.34 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.005037/1.376, allocations: 4.37 MB / 1.411 GB, free: 15.47 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.004116/1.38, allocations: 1.721 MB / 1.413 GB, free: 14.23 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01086/1.391, allocations: 6.33 MB / 1.419 GB, free: 8.465 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/1.391, allocations: 0 / 1.419 GB, free: 8.465 MB / 1.107 GB Notification: Performance of FrontEnd: time 3.307e-06/1.391, allocations: 4 kB / 1.419 GB, free: 8.461 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0001947/1.391, allocations: 3.938 kB / 1.419 GB, free: 8.457 MB / 1.107 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.008057/1.399, allocations: 4.299 MB / 1.423 GB, free: 4.074 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/1.399, allocations: 12.03 kB / 1.423 GB, free: 4.062 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001306/1.4, allocations: 442.4 kB / 1.424 GB, free: 3.629 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01139/1.412, allocations: 12.37 MB / 1.436 GB, free: 7.199 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001297/1.412, allocations: 175 kB / 1.436 GB, free: 7.027 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003109/1.412, allocations: 236 kB / 1.436 GB, free: 6.797 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003684/1.416, allocations: 2.369 MB / 1.438 GB, free: 4.367 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.152e-05/1.416, allocations: 4 kB / 1.438 GB, free: 4.363 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001544/1.416, allocations: 68 kB / 1.438 GB, free: 4.297 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.355e-05/1.416, allocations: 40 kB / 1.438 GB, free: 4.258 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003682/1.42, allocations: 2.459 MB / 1.441 GB, free: 1.793 MB / 1.123 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.01791/1.438, allocations: 15.5 MB / 1.456 GB, free: 2.051 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003054/1.441, allocations: 1.976 MB / 1.458 GB, free: 72 kB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001542/1.442, allocations: 1.289 MB / 1.459 GB, free: 14.78 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001027/1.443, allocations: 40.84 kB / 1.459 GB, free: 14.74 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001867/1.444, allocations: 1.361 MB / 1.461 GB, free: 13.36 MB / 1.154 GB Notification: Performance of pre-optimization done (n=138): time 2.736e-06/1.444, allocations: 0 / 1.461 GB, free: 13.36 MB / 1.154 GB Notification: Performance of matching and sorting (n=138): time 0.006931/1.451, allocations: 3.832 MB / 1.464 GB, free: 9.492 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002462/1.452, allocations: 366.5 kB / 1.465 GB, free: 9.086 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02961/1.481, allocations: 20.6 MB / 1.485 GB, free: 4.465 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0007144/1.482, allocations: 81.7 kB / 1.485 GB, free: 4.379 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001558/1.484, allocations: 1.184 MB / 1.486 GB, free: 3.188 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005877/1.484, allocations: 491.9 kB / 1.486 GB, free: 2.703 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00407/1.488, allocations: 5.019 MB / 1.491 GB, free: 13.66 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001159/1.488, allocations: 305.1 kB / 1.492 GB, free: 13.36 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03515/1.524, allocations: 38.68 MB / 1.529 GB, free: 6.668 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03857/1.562, allocations: 40.08 MB / 1.569 GB, free: 14.33 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04428/1.606, allocations: 47.73 MB / 1.615 GB, free: 14.12 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.883e-05/1.607, allocations: 4 kB / 1.615 GB, free: 14.11 MB / 1.311 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.09168/1.698, allocations: 91 MB / 1.704 GB, free: 2.707 MB / 1.389 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002952/1.699, allocations: 203.3 kB / 1.704 GB, free: 2.504 MB / 1.389 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-05/1.699, allocations: 20 kB / 1.704 GB, free: 2.484 MB / 1.389 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006405/1.699, allocations: 108.9 kB / 1.704 GB, free: 2.375 MB / 1.389 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002732/1.702, allocations: 0.6239 MB / 1.705 GB, free: 1.75 MB / 1.389 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002234/1.704, allocations: 1.671 MB / 1.707 GB, free: 15.93 MB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003096/1.707, allocations: 379 kB / 1.707 GB, free: 15.56 MB / 1.404 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003852/1.708, allocations: 152 kB / 1.707 GB, free: 15.41 MB / 1.404 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.002904/1.711, allocations: 2.512 MB / 1.71 GB, free: 12.89 MB / 1.404 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000605/1.711, allocations: 278.1 kB / 1.71 GB, free: 12.61 MB / 1.404 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005737/1.717, allocations: 3.479 MB / 1.713 GB, free: 9.109 MB / 1.404 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/1.717, allocations: 12 kB / 1.713 GB, free: 9.098 MB / 1.404 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/1.717, allocations: 7.922 kB / 1.713 GB, free: 9.09 MB / 1.404 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/1.717, allocations: 3.984 kB / 1.713 GB, free: 9.086 MB / 1.404 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002684/1.72, allocations: 2.081 MB / 1.715 GB, free: 6.945 MB / 1.404 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/1.72, allocations: 7.938 kB / 1.715 GB, free: 6.938 MB / 1.404 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009243/1.721, allocations: 211.7 kB / 1.715 GB, free: 6.73 MB / 1.404 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004624/1.721, allocations: 76.72 kB / 1.716 GB, free: 6.652 MB / 1.404 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001032/1.721, allocations: 43.97 kB / 1.716 GB, free: 6.609 MB / 1.404 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001935/1.723, allocations: 1.651 MB / 1.717 GB, free: 4.812 MB / 1.404 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.723, allocations: 0 / 1.717 GB, free: 4.812 MB / 1.404 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005025/1.728, allocations: 3.354 MB / 1.72 GB, free: 1.43 MB / 1.404 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008501/1.729, allocations: 0.5612 MB / 1.721 GB, free: 0.8477 MB / 1.404 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002889/1.73, allocations: 35.94 kB / 1.721 GB, free: 0.8125 MB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/1.731, allocations: 91.89 kB / 1.721 GB, free: 0.7227 MB / 1.404 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002286/1.731, allocations: 97.19 kB / 1.721 GB, free: 0.625 MB / 1.404 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001407/1.731, allocations: 71.95 kB / 1.721 GB, free: 0.5547 MB / 1.404 GB Notification: Performance of sorting global known variables: time 0.01089/1.742, allocations: 12.8 MB / 1.734 GB, free: 3.758 MB / 1.42 GB Notification: Performance of sort global known variables: time 3.51e-07/1.742, allocations: 0 / 1.734 GB, free: 3.758 MB / 1.42 GB Notification: Performance of remove unused functions: time 0.004576/1.746, allocations: 1.794 MB / 1.736 GB, free: 1.961 MB / 1.42 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.002497/1.749, allocations: 1.031 MB / 1.737 GB, free: 1.102 MB / 1.42 GB Notification: Performance of simCode: created initialization part: time 0.04479/1.794, allocations: 50.91 MB / 1.786 GB, free: 14.15 MB / 1.482 GB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/1.794, allocations: 1.812 kB / 1.786 GB, free: 14.15 MB / 1.482 GB Notification: Performance of simCode: created simulation system equations: time 0.003357/1.797, allocations: 2.719 MB / 1.789 GB, free: 11.41 MB / 1.482 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002474/1.8, allocations: 0.4889 MB / 1.789 GB, free: 10.94 MB / 1.482 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02415/1.824, allocations: 19.36 MB / 1.808 GB, free: 7.527 MB / 1.498 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005075/1.829, allocations: 4.641 MB / 1.813 GB, free: 2.859 MB / 1.498 GB Notification: Performance of simCode: alias equations: time 0.001931/1.831, allocations: 0.641 MB / 1.813 GB, free: 2.215 MB / 1.498 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005995/1.832, allocations: 223.4 kB / 1.814 GB, free: 1.996 MB / 1.498 GB Notification: Performance of SimCode: time 1.072e-06/1.832, allocations: 0 / 1.814 GB, free: 1.996 MB / 1.498 GB Notification: Performance of Templates: time 0.8514/2.683, allocations: 61.16 MB / 1.873 GB, free: 0.4924 GB / 1.498 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