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.001214/0.001214, allocations: 112.6 kB / 16.37 MB, free: 6 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.001146/0.001146, allocations: 196 kB / 17.31 MB, free: 5.613 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.387/1.387, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.535/2.535, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 60.34 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3315, allocations: 153 MB / 1.027 GB, free: 2.074 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.008842/0.3404, allocations: 7.272 MB / 1.034 GB, free: 10.76 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.8795/1.22, allocations: 155.5 MB / 1.186 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001729/1.222, allocations: 25.38 kB / 1.186 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.005333/1.227, allocations: 1.816 MB / 1.187 GB, free: 332 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003135/1.23, allocations: 0.8457 MB / 1.188 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002973/1.233, allocations: 1.04 MB / 1.189 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004796/1.238, allocations: 3.574 MB / 1.193 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001491/1.239, allocations: 0.92 MB / 1.194 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002243/1.242, allocations: 1.163 MB / 1.195 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0015/1.243, allocations: 1.041 MB / 1.196 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002694/1.244, allocations: 200.2 kB / 1.196 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004277/1.248, allocations: 2.243 MB / 1.198 GB, free: 9.684 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.001557/1.249, allocations: 1.921 MB / 1.2 GB, free: 8.777 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.00132/1.251, allocations: 1.173 MB / 1.201 GB, free: 7.949 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.006716/1.257, allocations: 4.424 MB / 1.206 GB, free: 5.086 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/1.257, allocations: 2.469 kB / 1.206 GB, free: 5.086 MB / 0.9044 GB Notification: Performance of FrontEnd: time 4.899e-06/1.257, allocations: 3.984 kB / 1.206 GB, free: 5.082 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.71e-05/1.258, allocations: 0 / 1.206 GB, free: 5.082 MB / 0.9044 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.005982/1.264, allocations: 2.99 MB / 1.208 GB, free: 2.926 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.696e-05/1.264, allocations: 10.12 kB / 1.208 GB, free: 2.926 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009574/1.265, allocations: 302.3 kB / 1.209 GB, free: 2.773 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005833/1.27, allocations: 4.586 MB / 1.213 GB, free: 14.38 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001277/1.271, allocations: 134.4 kB / 1.213 GB, free: 14.25 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002816/1.271, allocations: 180 kB / 1.214 GB, free: 14.07 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002695/1.274, allocations: 1.673 MB / 1.215 GB, free: 12.34 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.666e-05/1.274, allocations: 0 / 1.215 GB, free: 12.34 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001231/1.274, allocations: 48 kB / 1.215 GB, free: 12.29 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.647e-05/1.274, allocations: 28 kB / 1.215 GB, free: 12.27 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002511/1.276, allocations: 1.722 MB / 1.217 GB, free: 10.54 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01144/1.288, allocations: 7.38 MB / 1.224 GB, free: 2.988 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002433/1.29, allocations: 1.592 MB / 1.226 GB, free: 1.387 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001191/1.291, allocations: 1.043 MB / 1.227 GB, free: 352 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.265e-05/1.292, allocations: 37.17 kB / 1.227 GB, free: 316 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001405/1.293, allocations: 0.9812 MB / 1.228 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=118): time 3.246e-06/1.293, allocations: 0 / 1.228 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of matching and sorting (n=118): time 0.004358/1.297, allocations: 2.84 MB / 1.231 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002576/1.298, allocations: 346.5 kB / 1.231 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01046/1.308, allocations: 7.388 MB / 1.238 GB, free: 4.633 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0005513/1.309, allocations: 69.7 kB / 1.238 GB, free: 4.559 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009794/1.31, allocations: 0.7844 MB / 1.239 GB, free: 3.766 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005164/1.31, allocations: 390.4 kB / 1.239 GB, free: 3.379 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001748/1.312, allocations: 1.888 MB / 1.241 GB, free: 1.473 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000114/1.312, allocations: 305.1 kB / 1.241 GB, free: 1.172 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0123/1.324, allocations: 12.99 MB / 1.254 GB, free: 4.18 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0137/1.338, allocations: 13.69 MB / 1.267 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01612/1.354, allocations: 17.1 MB / 1.284 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-05/1.354, allocations: 0 / 1.284 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.03553/1.39, allocations: 31.27 MB / 1.315 GB, free: 5.465 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004036/1.39, allocations: 181.6 kB / 1.315 GB, free: 5.281 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.373e-05/1.39, allocations: 12 kB / 1.315 GB, free: 5.27 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.326e-05/1.391, allocations: 24 kB / 1.315 GB, free: 5.246 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002593/1.393, allocations: 475.2 kB / 1.315 GB, free: 4.781 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.155e-05/1.393, allocations: 27.92 kB / 1.315 GB, free: 4.754 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003312/1.397, allocations: 281 kB / 1.316 GB, free: 4.477 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004645/1.397, allocations: 116 kB / 1.316 GB, free: 4.363 MB / 1.014 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.002846/1.4, allocations: 1.235 MB / 1.317 GB, free: 3.113 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007647/1.401, allocations: 177.6 kB / 1.317 GB, free: 2.938 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006244/1.407, allocations: 2.747 MB / 1.32 GB, free: 180 kB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.652e-05/1.407, allocations: 8 kB / 1.32 GB, free: 172 kB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/1.407, allocations: 0 / 1.32 GB, free: 172 kB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.644e-05/1.407, allocations: 3.984 kB / 1.32 GB, free: 168 kB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003353/1.41, allocations: 1.488 MB / 1.321 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/1.41, allocations: 3.938 kB / 1.321 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000989/1.411, allocations: 151.8 kB / 1.321 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.107e-05/1.411, allocations: 4 kB / 1.321 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001405/1.412, allocations: 39.97 kB / 1.321 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.166e-05/1.412, allocations: 4 kB / 1.321 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.412, allocations: 4 kB / 1.321 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005599/1.417, allocations: 2.636 MB / 1.324 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001242/1.418, allocations: 434.3 kB / 1.324 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003693/1.419, allocations: 31.84 kB / 1.324 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/1.42, allocations: 77.64 kB / 1.325 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002785/1.42, allocations: 84.88 kB / 1.325 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001718/1.421, allocations: 51.97 kB / 1.325 GB, free: 11.05 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.008057/1.429, allocations: 4.644 MB / 1.329 GB, free: 6.387 MB / 1.029 GB Notification: Performance of sort global known variables: time 6.51e-07/1.429, allocations: 0 / 1.329 GB, free: 6.387 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.005876/1.435, allocations: 1.206 MB / 1.33 GB, free: 5.18 MB / 1.029 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.004907/1.44, allocations: 0.9543 MB / 1.331 GB, free: 4.398 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0342/1.474, allocations: 18.97 MB / 1.35 GB, free: 1.418 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-05/1.474, allocations: 5 kB / 1.35 GB, free: 1.414 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.005007/1.479, allocations: 2.247 MB / 1.352 GB, free: 15.15 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003685/1.483, allocations: 382.3 kB / 1.352 GB, free: 14.79 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02286/1.505, allocations: 8.5 MB / 1.361 GB, free: 6.266 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005147/1.511, allocations: 2.349 MB / 1.363 GB, free: 3.887 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.003251/1.514, allocations: 452.7 kB / 1.363 GB, free: 3.438 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001062/1.515, allocations: 159.4 kB / 1.364 GB, free: 3.285 MB / 1.061 GB Notification: Performance of SimCode: time 1.523e-06/1.515, allocations: 4 kB / 1.364 GB, free: 3.281 MB / 1.061 GB Notification: Performance of Templates: time 0.1318/1.647, allocations: 36.43 MB / 1.399 GB, free: 15.05 MB / 1.107 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 -s cvode -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