Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.006853/0.006853, allocations: 100.1 kB / 15.73 MB, free: 6.031 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.001822/0.001822, allocations: 187.7 kB / 16.67 MB, free: 5.965 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.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.454/2.454, allocations: 390.2 MB / 0.6648 GB, free: 144 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 59.72 kB / 0.9509 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3163, allocations: 140.4 MB / 1.088 GB, free: 1.422 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.009264/0.3256, allocations: 7.301 MB / 1.095 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1876/0.5133, allocations: 159.3 MB / 1.251 GB, free: 10.17 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001918/0.5153, allocations: 39.81 kB / 1.251 GB, free: 10.13 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.005467/0.5207, allocations: 1.941 MB / 1.253 GB, free: 8.18 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003425/0.5242, allocations: 1.151 MB / 1.254 GB, free: 7.027 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00383/0.528, allocations: 1.441 MB / 1.255 GB, free: 5.594 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.005732/0.5338, allocations: 5.225 MB / 1.26 GB, free: 364 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.7812/1.315, allocations: 1.274 MB / 1.261 GB, free: 5.645 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002835/1.318, allocations: 1.705 MB / 1.263 GB, free: 5.645 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002369/1.32, allocations: 1.531 MB / 1.265 GB, free: 5.645 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0006461/1.321, allocations: 290.3 kB / 1.265 GB, free: 5.645 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004797/1.326, allocations: 2.572 MB / 1.267 GB, free: 5.645 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.005056/1.331, allocations: 4.361 MB / 1.272 GB, free: 5.645 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002156/1.333, allocations: 1.679 MB / 1.273 GB, free: 5.379 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.009514/1.342, allocations: 6.248 MB / 1.279 GB, free: 4.68 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/1.343, allocations: 0 / 1.279 GB, free: 4.68 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.673e-06/1.343, allocations: 0 / 1.279 GB, free: 4.68 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001179/1.343, allocations: 2.062 kB / 1.279 GB, free: 4.68 MB / 1.014 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.01141/1.354, allocations: 4.154 MB / 1.283 GB, free: 2.816 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 7.236e-05/1.354, allocations: 10.31 kB / 1.283 GB, free: 2.816 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002412/1.357, allocations: 427.1 kB / 1.284 GB, free: 2.633 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02058/1.377, allocations: 12.33 MB / 1.296 GB, free: 1.984 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002115/1.377, allocations: 179.7 kB / 1.296 GB, free: 1.977 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006338/1.378, allocations: 234.3 kB / 1.296 GB, free: 1.977 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004207/1.382, allocations: 2.374 MB / 1.299 GB, free: 1.781 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.473e-05/1.382, allocations: 1.438 kB / 1.299 GB, free: 1.781 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001693/1.383, allocations: 68.09 kB / 1.299 GB, free: 1.781 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.923e-05/1.383, allocations: 37.66 kB / 1.299 GB, free: 1.781 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003444/1.386, allocations: 2.466 MB / 1.301 GB, free: 1.766 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01814/1.404, allocations: 14.99 MB / 1.316 GB, free: 428 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003129/1.407, allocations: 1.995 MB / 1.318 GB, free: 380 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001285/1.409, allocations: 1.285 MB / 1.319 GB, free: 368 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.863e-05/1.409, allocations: 37.53 kB / 1.319 GB, free: 368 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001668/1.41, allocations: 1.357 MB / 1.32 GB, free: 284 kB / 1.014 GB Notification: Performance of pre-optimization done (n=138): time 3.026e-06/1.41, allocations: 0 / 1.32 GB, free: 284 kB / 1.014 GB Notification: Performance of matching and sorting (n=138): time 0.006611/1.417, allocations: 3.816 MB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002214/1.417, allocations: 366.7 kB / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0306/1.448, allocations: 20.6 MB / 1.345 GB, free: 6.031 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0009341/1.449, allocations: 81.7 kB / 1.345 GB, free: 5.945 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001678/1.451, allocations: 1.17 MB / 1.346 GB, free: 4.902 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005979/1.451, allocations: 464.8 kB / 1.346 GB, free: 4.504 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003998/1.455, allocations: 4.929 MB / 1.351 GB, free: 52 kB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001079/1.455, allocations: 301.9 kB / 1.351 GB, free: 15.75 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04618/1.502, allocations: 39.71 MB / 1.39 GB, free: 12.54 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03793/1.54, allocations: 40.08 MB / 1.429 GB, free: 4.223 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04724/1.587, allocations: 47.72 MB / 1.476 GB, free: 4.141 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.464e-05/1.587, allocations: 7.344 kB / 1.476 GB, free: 4.137 MB / 1.154 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.0976/1.684, allocations: 90.97 MB / 1.565 GB, free: 8.914 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003552/1.685, allocations: 198.5 kB / 1.565 GB, free: 8.715 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-05/1.685, allocations: 16 kB / 1.565 GB, free: 8.699 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006334/1.686, allocations: 116.8 kB / 1.565 GB, free: 8.586 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003082/1.689, allocations: 0.6111 MB / 1.566 GB, free: 8.016 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002343/1.691, allocations: 1.671 MB / 1.567 GB, free: 6.223 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003756/1.695, allocations: 365 kB / 1.568 GB, free: 5.871 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00057/1.695, allocations: 155.5 kB / 1.568 GB, free: 5.723 MB / 1.248 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.003429/1.699, allocations: 2.51 MB / 1.57 GB, free: 3.246 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007512/1.7, allocations: 260.4 kB / 1.57 GB, free: 2.988 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005807/1.705, allocations: 3.488 MB / 1.574 GB, free: 15.5 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/1.705, allocations: 12 kB / 1.574 GB, free: 15.48 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/1.705, allocations: 0 / 1.574 GB, free: 15.48 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-05/1.706, allocations: 9.125 kB / 1.574 GB, free: 15.48 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003716/1.709, allocations: 2.081 MB / 1.576 GB, free: 13.37 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.251e-06/1.709, allocations: 0 / 1.576 GB, free: 13.37 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009036/1.71, allocations: 203.8 kB / 1.576 GB, free: 13.18 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004514/1.711, allocations: 80.02 kB / 1.576 GB, free: 13.11 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001318/1.711, allocations: 43.97 kB / 1.576 GB, free: 13.06 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001921/1.713, allocations: 1.653 MB / 1.578 GB, free: 11.28 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/1.713, allocations: 0 / 1.578 GB, free: 11.28 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00541/1.718, allocations: 3.33 MB / 1.581 GB, free: 7.93 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001199/1.719, allocations: 0.5519 MB / 1.582 GB, free: 7.355 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004012/1.72, allocations: 36.84 kB / 1.582 GB, free: 7.32 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/1.721, allocations: 95.53 kB / 1.582 GB, free: 7.23 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002827/1.721, allocations: 103.8 kB / 1.582 GB, free: 7.129 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001548/1.721, allocations: 65.05 kB / 1.582 GB, free: 7.066 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0128/1.734, allocations: 12.8 MB / 1.594 GB, free: 10.27 MB / 1.279 GB Notification: Performance of sort global known variables: time 5.31e-07/1.734, allocations: 8.062 kB / 1.594 GB, free: 10.27 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.007281/1.741, allocations: 1.757 MB / 1.596 GB, free: 8.512 MB / 1.279 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.003269/1.745, allocations: 1.01 MB / 1.597 GB, free: 7.77 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.04646/1.791, allocations: 50.93 MB / 1.647 GB, free: 4.93 MB / 1.326 GB Notification: Performance of simCode: created event and clocks part: time 1.581e-05/1.791, allocations: 4.516 kB / 1.647 GB, free: 4.926 MB / 1.326 GB Notification: Performance of simCode: created simulation system equations: time 0.004691/1.796, allocations: 2.718 MB / 1.649 GB, free: 2.207 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003565/1.8, allocations: 474.7 kB / 1.65 GB, free: 1.766 MB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02545/1.825, allocations: 19.19 MB / 1.669 GB, free: 14.62 MB / 1.357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006069/1.831, allocations: 4.642 MB / 1.673 GB, free: 9.973 MB / 1.357 GB Notification: Performance of simCode: alias equations: time 0.002376/1.834, allocations: 0.6453 MB / 1.674 GB, free: 9.332 MB / 1.357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007146/1.834, allocations: 223.4 kB / 1.674 GB, free: 9.113 MB / 1.357 GB Notification: Performance of SimCode: time 7.52e-07/1.834, allocations: 0 / 1.674 GB, free: 9.113 MB / 1.357 GB Notification: Performance of Templates: time 0.1818/2.016, allocations: 61.14 MB / 1.734 GB, free: 12.28 MB / 1.42 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches