Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001061/0.001062, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007211/0.007211, allocations: 170 kB / 16.26 MB, free: 6.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.464/1.464, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.735/2.735, allocations: 437.8 MB / 0.7121 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004962/0.0004963, allocations: 12.22 kB / 0.8728 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8113/0.8118, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.007594/0.8194, allocations: 6.797 MB / 1.03 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1804/0.9999, allocations: 151.1 MB / 1.177 GB, free: 1.379 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001787/1.002, allocations: 19.88 kB / 1.177 GB, free: 1.359 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.005149/1.007, allocations: 1.647 MB / 1.179 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.003247/1.01, allocations: 0.7533 MB / 1.18 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002728/1.013, allocations: 0.8991 MB / 1.18 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.004185/1.017, allocations: 3.488 MB / 1.184 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001377/1.018, allocations: 0.871 MB / 1.185 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001795/1.02, allocations: 0.9105 MB / 1.186 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00147/1.022, allocations: 0.8635 MB / 1.186 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001759/1.022, allocations: 51.94 kB / 1.186 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003874/1.026, allocations: 1.974 MB / 1.188 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001466/1.027, allocations: 1.743 MB / 1.19 GB, free: 4.082 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001193/1.029, allocations: 0.9996 MB / 1.191 GB, free: 3.07 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.006364/1.035, allocations: 4.171 MB / 1.195 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/1.035, allocations: 3.938 kB / 1.195 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.595e-06/1.035, allocations: 0 / 1.195 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.549e-05/1.035, allocations: 0 / 1.195 GB, free: 14.88 MB / 0.9512 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.005091/1.04, allocations: 2.526 MB / 1.198 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/1.04, allocations: 15.97 kB / 1.198 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009028/1.041, allocations: 313.8 kB / 1.198 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005128/1.046, allocations: 4.548 MB / 1.202 GB, free: 7.371 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001232/1.046, allocations: 130.4 kB / 1.202 GB, free: 7.242 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002532/1.047, allocations: 184 kB / 1.203 GB, free: 7.062 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002774/1.049, allocations: 1.672 MB / 1.204 GB, free: 5.328 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.604e-05/1.049, allocations: 4 kB / 1.204 GB, free: 5.324 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001197/1.05, allocations: 52 kB / 1.204 GB, free: 5.273 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.643e-05/1.05, allocations: 35.94 kB / 1.204 GB, free: 5.238 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002509/1.052, allocations: 1.73 MB / 1.206 GB, free: 3.5 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01115/1.063, allocations: 7.521 MB / 1.213 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00235/1.066, allocations: 1.598 MB / 1.215 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001174/1.067, allocations: 1.043 MB / 1.216 GB, free: 9.16 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.728e-05/1.067, allocations: 33.17 kB / 1.216 GB, free: 9.129 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00136/1.068, allocations: 0.985 MB / 1.217 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=118): time 3.897e-06/1.068, allocations: 0 / 1.217 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of matching and sorting (n=118): time 0.004183/1.073, allocations: 2.848 MB / 1.22 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002092/1.073, allocations: 352.2 kB / 1.22 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009994/1.083, allocations: 7.38 MB / 1.227 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0005246/1.083, allocations: 73.7 kB / 1.227 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001114/1.085, allocations: 0.7844 MB / 1.228 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006267/1.085, allocations: 398.4 kB / 1.229 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001781/1.087, allocations: 1.605 MB / 1.23 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001225/1.087, allocations: 313 kB / 1.23 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01262/1.1, allocations: 12.99 MB / 1.243 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.6931/1.793, allocations: 13.7 MB / 1.256 GB, free: 226.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02183/1.815, allocations: 17.11 MB / 1.273 GB, free: 220.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.887e-05/1.815, allocations: 6.375 kB / 1.273 GB, free: 220.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.02852/1.843, allocations: 31.27 MB / 1.304 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002353/1.844, allocations: 184.6 kB / 1.304 GB, free: 196.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-05/1.844, allocations: 15.94 kB / 1.304 GB, free: 196.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.977e-05/1.844, allocations: 20 kB / 1.304 GB, free: 196.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001847/1.846, allocations: 476.8 kB / 1.304 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.202e-05/1.846, allocations: 34.83 kB / 1.304 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001782/1.847, allocations: 299.2 kB / 1.305 GB, free: 195.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002265/1.848, allocations: 110.1 kB / 1.305 GB, free: 195.6 MB / 0.9981 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.001447/1.849, allocations: 1.231 MB / 1.306 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002687/1.849, allocations: 178.3 kB / 1.306 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003494/1.853, allocations: 2.752 MB / 1.309 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/1.853, allocations: 19.28 kB / 1.309 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/1.853, allocations: 0 / 1.309 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.387e-05/1.853, allocations: 5.016 kB / 1.309 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001796/1.855, allocations: 1.484 MB / 1.31 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/1.855, allocations: 0 / 1.31 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006058/1.855, allocations: 161.6 kB / 1.31 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/1.855, allocations: 4.516 kB / 1.31 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-05/1.855, allocations: 38.89 kB / 1.311 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/1.855, allocations: 5.781 kB / 1.311 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.855, allocations: 0 / 1.311 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00282/1.858, allocations: 2.649 MB / 1.313 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005941/1.859, allocations: 461.9 kB / 1.314 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001926/1.859, allocations: 27.8 kB / 1.314 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008092/1.86, allocations: 102.8 kB / 1.314 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001644/1.86, allocations: 86.89 kB / 1.314 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.197e-05/1.86, allocations: 47.5 kB / 1.314 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003094/1.863, allocations: 4.646 MB / 1.318 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/1.863, allocations: 3.938 kB / 1.318 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002627/1.866, allocations: 1.219 MB / 1.32 GB, free: 182.1 MB / 0.9981 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.002113/1.868, allocations: 0.9522 MB / 1.32 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01306/1.881, allocations: 18.98 MB / 1.339 GB, free: 162.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/1.881, allocations: 0 / 1.339 GB, free: 162.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001846/1.883, allocations: 2.251 MB / 1.341 GB, free: 160.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001804/1.885, allocations: 342.5 kB / 1.342 GB, free: 160.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009273/1.894, allocations: 9.643 MB / 1.351 GB, free: 150.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001581/1.896, allocations: 2.355 MB / 1.353 GB, free: 148.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001384/1.897, allocations: 456.8 kB / 1.354 GB, free: 147.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003543/1.898, allocations: 155.4 kB / 1.354 GB, free: 147.4 MB / 0.9981 GB Notification: Performance of SimCode: time 6.82e-07/1.898, allocations: 0 / 1.354 GB, free: 147.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.05024/1.948, allocations: 33.04 MB / 1.386 GB, free: 114.6 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches