Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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_latest_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_latest_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.001511/0.001511, allocations: 112.2 kB / 16.37 MB, free: 6.359 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.001762/0.001762, allocations: 191.3 kB / 17.31 MB, free: 5.891 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.454/2.454, allocations: 442.7 MB / 0.7166 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 67.91 kB / 1.027 GB, free: 1.477 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6865/0.6878, allocations: 153 MB / 1.177 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.008022/0.6959, allocations: 7.276 MB / 1.184 GB, free: 3.496 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.15/0.8459, allocations: 155.5 MB / 1.336 GB, free: 7.406 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001156/0.8471, allocations: 23.88 kB / 1.336 GB, free: 7.383 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.004212/0.8513, allocations: 1.799 MB / 1.338 GB, free: 5.578 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002337/0.8536, allocations: 0.8608 MB / 1.338 GB, free: 4.719 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002219/0.8559, allocations: 1.026 MB / 1.339 GB, free: 3.695 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.003181/0.8591, allocations: 3.578 MB / 1.343 GB, free: 112 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001133/0.8602, allocations: 0.9171 MB / 1.344 GB, free: 15.14 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001285/0.8615, allocations: 1.161 MB / 1.345 GB, free: 13.97 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00116/0.8627, allocations: 1.059 MB / 1.346 GB, free: 12.91 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002522/0.8629, allocations: 196 kB / 1.346 GB, free: 12.72 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003104/0.8661, allocations: 2.243 MB / 1.348 GB, free: 10.47 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001375/0.8674, allocations: 1.907 MB / 1.35 GB, free: 8.562 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001034/0.8685, allocations: 1.178 MB / 1.351 GB, free: 7.379 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.004573/0.8731, allocations: 4.413 MB / 1.356 GB, free: 2.953 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.8731, allocations: 0 / 1.356 GB, free: 2.953 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8731, allocations: 3.938 kB / 1.356 GB, free: 2.949 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.117e-05/0.8731, allocations: 0 / 1.356 GB, free: 2.949 MB / 1.076 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.004488/0.8776, allocations: 2.99 MB / 1.359 GB, free: 15.89 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.8777, allocations: 8.031 kB / 1.359 GB, free: 15.88 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008713/0.8786, allocations: 301.7 kB / 1.359 GB, free: 15.59 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004531/0.8831, allocations: 4.58 MB / 1.363 GB, free: 10.96 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/0.8832, allocations: 134.4 kB / 1.363 GB, free: 10.83 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00025/0.8835, allocations: 180 kB / 1.364 GB, free: 10.65 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002525/0.886, allocations: 1.668 MB / 1.365 GB, free: 8.922 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/0.8861, allocations: 3.984 kB / 1.365 GB, free: 8.918 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001243/0.8862, allocations: 52 kB / 1.365 GB, free: 8.867 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.413e-05/0.8862, allocations: 28 kB / 1.365 GB, free: 8.84 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002465/0.8887, allocations: 1.734 MB / 1.367 GB, free: 7.098 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009821/0.8985, allocations: 7.37 MB / 1.374 GB, free: 15.55 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002223/0.9008, allocations: 1.587 MB / 1.376 GB, free: 13.96 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001154/0.9019, allocations: 1.031 MB / 1.377 GB, free: 12.92 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 7.783e-05/0.902, allocations: 37.17 kB / 1.377 GB, free: 12.89 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001331/0.9034, allocations: 0.9888 MB / 1.378 GB, free: 11.89 MB / 1.107 GB Notification: Performance of pre-optimization done (n=118): time 3.156e-06/0.9034, allocations: 0 / 1.378 GB, free: 11.89 MB / 1.107 GB Notification: Performance of matching and sorting (n=118): time 0.004045/0.9074, allocations: 2.836 MB / 1.381 GB, free: 9.035 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00019/0.9076, allocations: 342.5 kB / 1.381 GB, free: 8.652 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009236/0.9169, allocations: 7.386 MB / 1.388 GB, free: 1.219 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002588/0.9172, allocations: 69.7 kB / 1.388 GB, free: 1.145 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006636/0.9178, allocations: 0.7998 MB / 1.389 GB, free: 344 kB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003405/0.9182, allocations: 390.6 kB / 1.389 GB, free: 15.95 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001498/0.9197, allocations: 1.884 MB / 1.391 GB, free: 14.04 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 8.207e-05/0.9198, allocations: 301.1 kB / 1.391 GB, free: 13.75 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01143/0.9312, allocations: 12.99 MB / 1.404 GB, free: 0.75 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01242/0.9437, allocations: 13.7 MB / 1.417 GB, free: 2.879 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01647/0.9602, allocations: 17.11 MB / 1.434 GB, free: 1.492 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.964e-05/0.9602, allocations: 7.938 kB / 1.434 GB, free: 1.484 MB / 1.154 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.03077/0.991, allocations: 31.26 MB / 1.465 GB, free: 2.031 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001989/0.9912, allocations: 189.5 kB / 1.465 GB, free: 1.84 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.083e-05/0.9913, allocations: 12 kB / 1.465 GB, free: 1.828 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.843e-05/0.9913, allocations: 27.94 kB / 1.465 GB, free: 1.801 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0018/0.9931, allocations: 467.8 kB / 1.465 GB, free: 1.344 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.654e-05/0.9932, allocations: 39.86 kB / 1.465 GB, free: 1.305 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001701/0.9949, allocations: 279.6 kB / 1.466 GB, free: 1.031 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000242/0.9952, allocations: 108 kB / 1.466 GB, free: 0.9258 MB / 1.186 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.001516/0.9967, allocations: 1.239 MB / 1.467 GB, free: 15.67 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003712/0.9971, allocations: 181.6 kB / 1.467 GB, free: 15.49 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003931/1.001, allocations: 2.737 MB / 1.47 GB, free: 12.74 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/1.001, allocations: 3.984 kB / 1.47 GB, free: 12.73 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/1.001, allocations: 0 / 1.47 GB, free: 12.73 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006285/1.002, allocations: 430.2 kB / 1.47 GB, free: 12.29 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002521/1.002, allocations: 28 kB / 1.47 GB, free: 12.27 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008746/1.003, allocations: 75.92 kB / 1.47 GB, free: 12.19 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001796/1.003, allocations: 88.77 kB / 1.47 GB, free: 12.11 MB / 1.201 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003762/1.007, allocations: 2.983 MB / 1.473 GB, free: 9.09 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003423/1.01, allocations: 2.775 MB / 1.476 GB, free: 6.289 MB / 1.201 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00164/1.012, allocations: 1.75 MB / 1.478 GB, free: 4.539 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.004047/1.016, allocations: 4.644 MB / 1.482 GB, free: 15.87 MB / 1.217 GB Notification: Performance of Backend: time 6.11e-07/1.016, allocations: 4 kB / 1.482 GB, free: 15.86 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.01992/1.036, allocations: 19.1 MB / 1.501 GB, free: 12.98 MB / 1.232 GB Notification: Performance of SimCode: time 0.0109/1.047, allocations: 8.64 MB / 1.509 GB, free: 4.285 MB / 1.232 GB Notification: Performance of Templates: time 0.08418/1.131, allocations: 38.2 MB / 1.547 GB, free: 14.28 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches