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.0009215/0.0009215, allocations: 100 kB / 15.05 MB, free: 1.105 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.0009674/0.0009674, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.58/2.58, allocations: 436.5 MB / 0.7104 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003386/0.0003389, allocations: 8 kB / 0.8708 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6993/0.6997, allocations: 153.7 MB / 1.021 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.006763/0.7065, allocations: 5.093 MB / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1516/0.8582, allocations: 131.4 MB / 1.154 GB, free: 8.246 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001113/0.8593, allocations: 19.88 kB / 1.154 GB, free: 8.227 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003687/0.863, allocations: 1.32 MB / 1.155 GB, free: 6.902 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002106/0.8651, allocations: 0.6961 MB / 1.156 GB, free: 6.207 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00226/0.8674, allocations: 0.8074 MB / 1.157 GB, free: 5.406 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002761/0.8702, allocations: 1.876 MB / 1.159 GB, free: 3.527 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001044/0.8712, allocations: 0.7262 MB / 1.159 GB, free: 2.773 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00147/0.8727, allocations: 0.8951 MB / 1.16 GB, free: 1.875 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001044/0.8738, allocations: 0.7296 MB / 1.161 GB, free: 1.145 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001652/0.8739, allocations: 52 kB / 1.161 GB, free: 1.094 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003251/0.8772, allocations: 1.728 MB / 1.163 GB, free: 15.36 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.00176/0.879, allocations: 1.898 MB / 1.165 GB, free: 13.46 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0008914/0.8799, allocations: 0.5894 MB / 1.165 GB, free: 12.86 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.009746/0.8896, allocations: 6.315 MB / 1.171 GB, free: 6.535 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.8897, allocations: 0 / 1.171 GB, free: 6.535 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.134e-06/0.8897, allocations: 0 / 1.171 GB, free: 6.535 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0002236/0.8899, allocations: 11.94 kB / 1.171 GB, free: 6.523 MB / 0.92 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.01308/0.903, allocations: 5.13 MB / 1.176 GB, free: 1.316 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.9031, allocations: 11.98 kB / 1.176 GB, free: 1.305 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002536/0.9056, allocations: 482.5 kB / 1.177 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7547/1.66, allocations: 307.5 MB / 1.477 GB, free: 18.98 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/1.66, allocations: 138.4 kB / 1.477 GB, free: 18.85 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003605/1.661, allocations: 184 kB / 1.477 GB, free: 18.67 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002061/1.663, allocations: 1.414 MB / 1.479 GB, free: 17.19 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/1.663, allocations: 0 / 1.479 GB, free: 17.19 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/1.663, allocations: 56 kB / 1.479 GB, free: 17.14 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.807e-05/1.663, allocations: 28 kB / 1.479 GB, free: 17.11 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001934/1.665, allocations: 1.508 MB / 1.48 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05726/1.722, allocations: 76.7 MB / 1.555 GB, free: 2.887 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002333/1.725, allocations: 1.259 MB / 1.556 GB, free: 1.625 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.549e-05/1.725, allocations: 37.09 kB / 1.557 GB, free: 1.598 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001157/1.726, allocations: 0.7597 MB / 1.557 GB, free: 0.8281 MB / 1.061 GB Notification: Performance of pre-optimization done (n=118): time 3.015e-06/1.726, allocations: 0 / 1.557 GB, free: 0.8281 MB / 1.061 GB Notification: Performance of matching and sorting (n=118): time 0.00465/1.731, allocations: 2.43 MB / 1.56 GB, free: 14.36 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002101/1.731, allocations: 350.5 kB / 1.56 GB, free: 13.97 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.9437/2.675, allocations: 379.7 MB / 1.931 GB, free: 245.3 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0004613/2.675, allocations: 69.7 kB / 1.931 GB, free: 245.2 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.002219/2.677, allocations: 1.608 MB / 1.932 GB, free: 243.7 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004688/2.678, allocations: 386.5 kB / 1.933 GB, free: 243.4 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/2.678, allocations: 44 kB / 1.933 GB, free: 243.3 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001269/2.678, allocations: 410.6 kB / 1.933 GB, free: 242.9 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001525/2.68, allocations: 1.206 MB / 1.934 GB, free: 241.7 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001782/2.681, allocations: 1.924 MB / 1.936 GB, free: 239.5 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001857/2.683, allocations: 1.617 MB / 1.938 GB, free: 237.9 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.635e-05/2.683, allocations: 8 kB / 1.938 GB, free: 237.9 MB / 1.217 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.005946/2.689, allocations: 3.788 MB / 1.942 GB, free: 234.1 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001501/2.689, allocations: 185.6 kB / 1.942 GB, free: 233.9 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.753e-05/2.689, allocations: 20 kB / 1.942 GB, free: 233.9 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.205e-05/2.689, allocations: 36 kB / 1.942 GB, free: 233.9 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001508/2.691, allocations: 479.8 kB / 1.942 GB, free: 233.4 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.322e-05/2.691, allocations: 47.8 kB / 1.942 GB, free: 233.4 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003426/2.694, allocations: 0.5659 MB / 1.943 GB, free: 232.8 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002973/2.695, allocations: 108 kB / 1.943 GB, free: 232.7 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.HDirTil.incAng.decAng.tNext,HDirTil.incAng.decAng.tNext,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (265): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002766/2.698, allocations: 1.659 MB / 1.945 GB, free: 231 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001414/2.699, allocations: 355.8 kB / 1.945 GB, free: 230.7 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003886/2.703, allocations: 2.589 MB / 1.947 GB, free: 228.1 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/2.703, allocations: 13.53 kB / 1.947 GB, free: 228.1 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/2.703, allocations: 7.609 kB / 1.947 GB, free: 228.1 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/2.703, allocations: 7.969 kB / 1.947 GB, free: 228 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004226/2.707, allocations: 2.809 MB / 1.95 GB, free: 225.2 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/2.707, allocations: 0 / 1.95 GB, free: 225.2 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006787/2.708, allocations: 159.8 kB / 1.95 GB, free: 225 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.079e-05/2.708, allocations: 7.984 kB / 1.95 GB, free: 225 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.901e-05/2.708, allocations: 31.98 kB / 1.95 GB, free: 225 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.935e-06/2.708, allocations: 11.89 kB / 1.95 GB, free: 225 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/2.708, allocations: 0 / 1.95 GB, free: 225 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003667/2.712, allocations: 2.349 MB / 1.953 GB, free: 222.6 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002556/2.714, allocations: 1.261 MB / 1.954 GB, free: 221.3 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009084/2.715, allocations: 29.97 kB / 1.954 GB, free: 221.3 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001743/2.717, allocations: 319.9 kB / 1.954 GB, free: 221 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001868/2.717, allocations: 88.83 kB / 1.954 GB, free: 220.9 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.678e-05/2.717, allocations: 47.97 kB / 1.954 GB, free: 220.9 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.7203/3.438, allocations: 305.4 MB / 2.253 GB, free: 379.3 MB / 1.217 GB Notification: Performance of sort global known variables: time 7.12e-07/3.438, allocations: 0 / 2.253 GB, free: 379.3 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.003935/3.442, allocations: 1.218 MB / 2.254 GB, free: 378.2 MB / 1.217 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002394/3.444, allocations: 0.9496 MB / 2.255 GB, free: 377.7 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.004036/3.448, allocations: 4.147 MB / 2.259 GB, free: 373.7 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/3.448, allocations: 0 / 2.259 GB, free: 373.7 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001492/3.45, allocations: 2.022 MB / 2.261 GB, free: 371.7 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00222/3.452, allocations: 414.4 kB / 2.261 GB, free: 371.3 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009844/3.462, allocations: 8.441 MB / 2.269 GB, free: 362.8 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001745/3.463, allocations: 2.422 MB / 2.272 GB, free: 360.4 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.003472/3.467, allocations: 1.295 MB / 2.273 GB, free: 359.1 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00202/3.469, allocations: 495.1 kB / 2.274 GB, free: 358.6 MB / 1.217 GB Notification: Performance of SimCode: time 1.102e-06/3.469, allocations: 0 / 2.274 GB, free: 358.6 MB / 1.217 GB Notification: Performance of Templates: time 0.1609/3.63, allocations: 153.6 MB / 2.424 GB, free: 205.5 MB / 1.217 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","../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches