Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.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.AbsorbedRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winAbs.QAbsGlaUns_flow.1|1.|winAbs.QAbsGlaUns_flow.1|2.|winAbs.QAbsGlaUns_flow.2|1.|winAbs.QAbsGlaUns_flow.2|2.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winAbs.QAbsGlaUns_flow.1|1.|winAbs.QAbsGlaUns_flow.1|2.|winAbs.QAbsGlaUns_flow.2|1.|winAbs.QAbsGlaUns_flow.2|2.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007637/0.007637, allocations: 102 kB / 15.73 MB, free: 6.488 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.001678/0.001678, allocations: 196 kB / 16.68 MB, free: 6.375 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.459/1.459, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.537/2.537, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 63.69 kB / 0.9509 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3363, allocations: 140.4 MB / 1.088 GB, free: 1.582 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.007998/0.3443, allocations: 6.04 MB / 1.094 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1904/0.5348, allocations: 155.4 MB / 1.246 GB, free: 15.55 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001564/0.5364, allocations: 27.88 kB / 1.246 GB, free: 15.52 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.005159/0.5416, allocations: 1.79 MB / 1.247 GB, free: 13.73 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002944/0.5445, allocations: 0.7556 MB / 1.248 GB, free: 12.97 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002599/0.5471, allocations: 1.032 MB / 1.249 GB, free: 11.95 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003592/0.5507, allocations: 3.365 MB / 1.252 GB, free: 8.574 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001234/0.552, allocations: 0.9515 MB / 1.253 GB, free: 7.582 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00173/0.5537, allocations: 1.145 MB / 1.254 GB, free: 6.434 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001381/0.5551, allocations: 1.023 MB / 1.255 GB, free: 5.406 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002855/0.5554, allocations: 192 kB / 1.256 GB, free: 5.219 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004046/0.5595, allocations: 2.251 MB / 1.258 GB, free: 2.965 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001508/0.561, allocations: 1.903 MB / 1.26 GB, free: 1.059 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.7881/1.349, allocations: 1.132 MB / 1.261 GB, free: 10.34 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01/1.359, allocations: 4.354 MB / 1.265 GB, free: 10.2 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/1.359, allocations: 4.297 kB / 1.265 GB, free: 10.2 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.455e-06/1.359, allocations: 4.438 kB / 1.265 GB, free: 10.2 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.851e-05/1.359, allocations: 0 / 1.265 GB, free: 10.2 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: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.007117/1.366, allocations: 2.959 MB / 1.268 GB, free: 8.816 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/1.366, allocations: 9.969 kB / 1.268 GB, free: 8.816 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001039/1.368, allocations: 300.5 kB / 1.268 GB, free: 8.688 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007338/1.375, allocations: 4.581 MB / 1.273 GB, free: 8.227 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001226/1.375, allocations: 138.3 kB / 1.273 GB, free: 8.219 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003194/1.375, allocations: 179.2 kB / 1.273 GB, free: 8.219 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002814/1.378, allocations: 1.664 MB / 1.275 GB, free: 8.043 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.796e-05/1.378, allocations: 0 / 1.275 GB, free: 8.043 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/1.378, allocations: 54.48 kB / 1.275 GB, free: 8.043 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.424e-05/1.378, allocations: 29.59 kB / 1.275 GB, free: 8.043 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002952/1.381, allocations: 1.725 MB / 1.276 GB, free: 8.027 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01108/1.392, allocations: 6.976 MB / 1.283 GB, free: 7.121 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002322/1.395, allocations: 1.58 MB / 1.285 GB, free: 7.094 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001188/1.396, allocations: 1.033 MB / 1.286 GB, free: 7.078 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.866e-05/1.396, allocations: 35.98 kB / 1.286 GB, free: 7.078 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001399/1.397, allocations: 0.9906 MB / 1.287 GB, free: 7.012 MB / 1.014 GB Notification: Performance of pre-optimization done (n=118): time 3.066e-06/1.398, allocations: 0.9375 kB / 1.287 GB, free: 7.012 MB / 1.014 GB Notification: Performance of matching and sorting (n=118): time 0.004791/1.402, allocations: 2.839 MB / 1.29 GB, free: 6.816 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000212/1.403, allocations: 342.8 kB / 1.29 GB, free: 6.566 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01169/1.414, allocations: 7.386 MB / 1.297 GB, free: 6.289 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.001178/1.415, allocations: 74.86 kB / 1.297 GB, free: 6.258 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001475/1.417, allocations: 0.7968 MB / 1.298 GB, free: 5.984 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008105/1.418, allocations: 386.9 kB / 1.298 GB, free: 5.746 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002414/1.42, allocations: 1.888 MB / 1.3 GB, free: 5.395 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 8.306e-05/1.42, allocations: 306.4 kB / 1.3 GB, free: 5.098 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01264/1.433, allocations: 12.98 MB / 1.313 GB, free: 5.086 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01206/1.445, allocations: 13.7 MB / 1.326 GB, free: 2.016 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.016/1.461, allocations: 17.19 MB / 1.343 GB, free: 6.816 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.675e-05/1.461, allocations: 0 / 1.343 GB, free: 6.816 MB / 1.029 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.03547/1.497, allocations: 31.53 MB / 1.374 GB, free: 9.684 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002929/1.497, allocations: 183.4 kB / 1.374 GB, free: 9.531 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.169e-05/1.497, allocations: 12 kB / 1.374 GB, free: 9.52 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.202e-05/1.497, allocations: 20.66 kB / 1.374 GB, free: 9.5 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002363/1.499, allocations: 479 kB / 1.375 GB, free: 9.137 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.134e-05/1.499, allocations: 27.94 kB / 1.375 GB, free: 9.117 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002187/1.502, allocations: 281.7 kB / 1.375 GB, free: 8.859 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002521/1.502, allocations: 109.7 kB / 1.375 GB, free: 8.762 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (290): * Single equations (assignments): 276 * Array equations: 13 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001832/1.504, allocations: 1.237 MB / 1.376 GB, free: 7.66 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004354/1.504, allocations: 187.6 kB / 1.377 GB, free: 7.48 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004288/1.509, allocations: 2.738 MB / 1.379 GB, free: 5.07 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-05/1.509, allocations: 12.88 kB / 1.379 GB, free: 5.059 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/1.509, allocations: 0 / 1.379 GB, free: 5.059 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.506e-05/1.509, allocations: 5.906 kB / 1.379 GB, free: 5.059 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003452/1.512, allocations: 1.48 MB / 1.381 GB, free: 3.91 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/1.512, allocations: 3.938 kB / 1.381 GB, free: 3.906 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009053/1.513, allocations: 160.2 kB / 1.381 GB, free: 3.781 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.304e-05/1.513, allocations: 4.75 kB / 1.381 GB, free: 3.777 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001281/1.513, allocations: 36.58 kB / 1.381 GB, free: 3.75 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.04e-05/1.513, allocations: 4.781 kB / 1.381 GB, free: 3.746 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.513, allocations: 0 / 1.381 GB, free: 3.746 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005369/1.519, allocations: 2.638 MB / 1.383 GB, free: 1.336 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001047/1.52, allocations: 432.4 kB / 1.384 GB, free: 0.9453 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003026/1.52, allocations: 28 kB / 1.384 GB, free: 0.918 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/1.521, allocations: 74.89 kB / 1.384 GB, free: 0.8672 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002771/1.521, allocations: 88.83 kB / 1.384 GB, free: 0.8125 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001505/1.521, allocations: 49.36 kB / 1.384 GB, free: 0.7734 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.02883/1.55, allocations: 6.026 MB / 1.39 GB, free: 15.67 MB / 1.076 GB Notification: Performance of sort global known variables: time 4.51e-07/1.55, allocations: 1 kB / 1.39 GB, free: 15.67 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.007821/1.558, allocations: 1.185 MB / 1.391 GB, free: 14.51 MB / 1.076 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 (HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005942/1.564, allocations: 0.9583 MB / 1.392 GB, free: 13.85 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.03059/1.595, allocations: 18.97 MB / 1.411 GB, free: 10.92 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/1.595, allocations: 7.188 kB / 1.411 GB, free: 10.91 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.003454/1.598, allocations: 2.241 MB / 1.413 GB, free: 8.68 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002527/1.601, allocations: 349.5 kB / 1.413 GB, free: 8.355 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01295/1.614, allocations: 8.466 MB / 1.421 GB, free: 15.9 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002579/1.616, allocations: 2.352 MB / 1.424 GB, free: 13.54 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001825/1.618, allocations: 442.5 kB / 1.424 GB, free: 13.14 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004875/1.619, allocations: 161.5 kB / 1.424 GB, free: 12.98 MB / 1.107 GB Notification: Performance of SimCode: time 1.804e-06/1.619, allocations: 0.9688 kB / 1.424 GB, free: 12.98 MB / 1.107 GB Notification: Performance of Templates: time 0.08418/1.703, allocations: 35.8 MB / 1.459 GB, free: 9.535 MB / 1.139 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches