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.004278/0.004278, allocations: 102 kB / 15.73 MB, free: 6.051 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.001062/0.001062, allocations: 195 kB / 16.68 MB, free: 5.969 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.634/2.634, allocations: 461.9 MB / 0.7347 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 67.89 kB / 1.054 GB, free: 7.117 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3601, allocations: 157.4 MB / 1.208 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01037/0.3705, allocations: 8.53 MB / 1.216 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.896/1.267, allocations: 159.4 MB / 1.372 GB, free: 0.7812 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001624/1.268, allocations: 38.19 kB / 1.372 GB, free: 0.7695 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.005622/1.274, allocations: 1.983 MB / 1.374 GB, free: 15.92 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003621/1.278, allocations: 1.254 MB / 1.375 GB, free: 15.17 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003804/1.281, allocations: 1.458 MB / 1.376 GB, free: 14.23 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.006186/1.288, allocations: 5.436 MB / 1.382 GB, free: 10.89 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002544/1.29, allocations: 1.222 MB / 1.383 GB, free: 10.18 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003771/1.294, allocations: 1.738 MB / 1.385 GB, free: 9.164 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003744/1.298, allocations: 1.561 MB / 1.386 GB, free: 8.145 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001307/1.299, allocations: 289.8 kB / 1.386 GB, free: 8.145 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006827/1.306, allocations: 2.575 MB / 1.389 GB, free: 6.875 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.004579/1.31, allocations: 4.356 MB / 1.393 GB, free: 5.027 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.003776/1.314, allocations: 1.725 MB / 1.395 GB, free: 3.781 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.009734/1.324, allocations: 6.311 MB / 1.401 GB, free: 15.62 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/1.324, allocations: 0 / 1.401 GB, free: 15.62 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.763e-06/1.324, allocations: 3.938 kB / 1.401 GB, free: 15.62 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.000182/1.324, allocations: 4 kB / 1.401 GB, free: 15.62 MB / 1.092 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.00952/1.334, allocations: 4.186 MB / 1.405 GB, free: 12.68 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/1.334, allocations: 8.594 kB / 1.405 GB, free: 12.68 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0015/1.335, allocations: 425.2 kB / 1.406 GB, free: 12.3 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01308/1.348, allocations: 12.34 MB / 1.418 GB, free: 15.9 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002009/1.349, allocations: 171.1 kB / 1.418 GB, free: 15.73 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007294/1.349, allocations: 236 kB / 1.418 GB, free: 15.5 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004424/1.354, allocations: 2.377 MB / 1.42 GB, free: 13.06 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.967e-05/1.354, allocations: 0 / 1.42 GB, free: 13.06 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001641/1.354, allocations: 67.56 kB / 1.42 GB, free: 13 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.23e-05/1.354, allocations: 40 kB / 1.42 GB, free: 12.96 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003911/1.358, allocations: 2.467 MB / 1.423 GB, free: 10.49 MB / 1.107 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.02049/1.379, allocations: 15.47 MB / 1.438 GB, free: 10.78 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003101/1.382, allocations: 1.991 MB / 1.44 GB, free: 8.785 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001528/1.383, allocations: 1.277 MB / 1.441 GB, free: 7.508 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 9.269e-05/1.383, allocations: 37.03 kB / 1.441 GB, free: 7.469 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001863/1.385, allocations: 1.358 MB / 1.442 GB, free: 6.094 MB / 1.123 GB Notification: Performance of pre-optimization done (n=138): time 2.575e-06/1.385, allocations: 0 / 1.442 GB, free: 6.094 MB / 1.123 GB Notification: Performance of matching and sorting (n=138): time 0.007005/1.392, allocations: 3.815 MB / 1.446 GB, free: 2.238 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002432/1.392, allocations: 358.5 kB / 1.447 GB, free: 1.84 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03021/1.423, allocations: 20.6 MB / 1.467 GB, free: 13.21 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0006528/1.423, allocations: 93.64 kB / 1.467 GB, free: 13.12 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001614/1.425, allocations: 1.167 MB / 1.468 GB, free: 11.94 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006818/1.426, allocations: 465.5 kB / 1.468 GB, free: 11.48 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004076/1.43, allocations: 4.927 MB / 1.473 GB, free: 6.516 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 9.906e-05/1.43, allocations: 301.1 kB / 1.473 GB, free: 6.219 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03584/1.466, allocations: 38.67 MB / 1.511 GB, free: 15.53 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03631/1.502, allocations: 40.09 MB / 1.55 GB, free: 7.184 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04577/1.548, allocations: 47.72 MB / 1.597 GB, free: 6.992 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.281e-05/1.548, allocations: 15.94 kB / 1.597 GB, free: 6.977 MB / 1.279 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.0914/1.639, allocations: 90.96 MB / 1.686 GB, free: 11.61 MB / 1.373 GB Notification: Performance of prepare postOptimizeDAE: time 0.000287/1.64, allocations: 207 kB / 1.686 GB, free: 11.4 MB / 1.373 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.727e-05/1.64, allocations: 16 kB / 1.686 GB, free: 11.39 MB / 1.373 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007104/1.641, allocations: 120.8 kB / 1.686 GB, free: 11.27 MB / 1.373 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002924/1.643, allocations: 0.6045 MB / 1.687 GB, free: 10.66 MB / 1.373 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002265/1.646, allocations: 1.675 MB / 1.688 GB, free: 8.836 MB / 1.373 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003498/1.649, allocations: 364.2 kB / 1.689 GB, free: 8.477 MB / 1.373 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000492/1.65, allocations: 155.9 kB / 1.689 GB, free: 8.324 MB / 1.373 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.003217/1.653, allocations: 2.508 MB / 1.691 GB, free: 5.801 MB / 1.373 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006493/1.654, allocations: 264.4 kB / 1.692 GB, free: 5.539 MB / 1.373 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005581/1.659, allocations: 3.478 MB / 1.695 GB, free: 2.039 MB / 1.373 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/1.659, allocations: 16 kB / 1.695 GB, free: 2.023 MB / 1.373 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/1.659, allocations: 0 / 1.695 GB, free: 2.023 MB / 1.373 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.486e-05/1.659, allocations: 7.969 kB / 1.695 GB, free: 2.016 MB / 1.373 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003326/1.663, allocations: 2.092 MB / 1.697 GB, free: 15.86 MB / 1.389 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/1.663, allocations: 0 / 1.697 GB, free: 15.86 MB / 1.389 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009096/1.664, allocations: 211.6 kB / 1.697 GB, free: 15.66 MB / 1.389 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004796/1.664, allocations: 72.8 kB / 1.697 GB, free: 15.58 MB / 1.389 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/1.664, allocations: 39.97 kB / 1.697 GB, free: 15.54 MB / 1.389 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001943/1.666, allocations: 1.662 MB / 1.699 GB, free: 13.74 MB / 1.389 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.666, allocations: 0.625 kB / 1.699 GB, free: 13.74 MB / 1.389 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005062/1.671, allocations: 3.329 MB / 1.702 GB, free: 10.38 MB / 1.389 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001063/1.672, allocations: 0.548 MB / 1.703 GB, free: 9.805 MB / 1.389 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000341/1.673, allocations: 35.94 kB / 1.703 GB, free: 9.77 MB / 1.389 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/1.674, allocations: 87.91 kB / 1.703 GB, free: 9.684 MB / 1.389 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002557/1.674, allocations: 101.2 kB / 1.703 GB, free: 9.582 MB / 1.389 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001355/1.674, allocations: 71.95 kB / 1.703 GB, free: 9.512 MB / 1.389 GB Notification: Performance of sorting global known variables: time 0.01196/1.686, allocations: 12.8 MB / 1.715 GB, free: 12.71 MB / 1.404 GB Notification: Performance of sort global known variables: time 6.11e-07/1.686, allocations: 0 / 1.715 GB, free: 12.71 MB / 1.404 GB Notification: Performance of remove unused functions: time 0.006725/1.693, allocations: 1.779 MB / 1.717 GB, free: 10.93 MB / 1.404 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.003052/1.696, allocations: 1.016 MB / 1.718 GB, free: 10.09 MB / 1.404 GB Notification: Performance of simCode: created initialization part: time 0.04613/1.742, allocations: 50.92 MB / 1.768 GB, free: 7.137 MB / 1.451 GB Notification: Performance of simCode: created event and clocks part: time 8.335e-06/1.742, allocations: 384 / 1.768 GB, free: 7.137 MB / 1.451 GB Notification: Performance of simCode: created simulation system equations: time 0.003286/1.745, allocations: 2.723 MB / 1.771 GB, free: 4.387 MB / 1.451 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00242/1.748, allocations: 494.1 kB / 1.771 GB, free: 3.926 MB / 1.451 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02329/1.771, allocations: 19.09 MB / 1.79 GB, free: 0.8008 MB / 1.467 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005163/1.776, allocations: 4.639 MB / 1.794 GB, free: 12.14 MB / 1.482 GB Notification: Performance of simCode: alias equations: time 0.002134/1.779, allocations: 0.6449 MB / 1.795 GB, free: 11.49 MB / 1.482 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005785/1.779, allocations: 223.3 kB / 1.795 GB, free: 11.27 MB / 1.482 GB Notification: Performance of SimCode: time 1.062e-06/1.779, allocations: 0 / 1.795 GB, free: 11.27 MB / 1.482 GB Notification: Performance of Templates: time 0.8022/2.581, allocations: 61.97 MB / 1.856 GB, free: 0.4914 GB / 1.482 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