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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001495/0.001495, allocations: 104.8 kB / 16.36 MB, free: 6.289 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.001571/0.001571, allocations: 192 kB / 17.29 MB, free: 5.863 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.299/1.299, 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 10.1.0-maint.10.0.x/package.mo): time 2.442/2.442, allocations: 437.1 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 64.08 kB / 0.8707 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2794, allocations: 151.6 MB / 1.019 GB, free: 9.848 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.009276/0.2887, allocations: 7.295 MB / 1.026 GB, free: 2.508 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.6258/0.9146, allocations: 155.5 MB / 1.178 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001224/0.9158, allocations: 25.12 kB / 1.178 GB, free: 11.33 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.004698/0.9205, allocations: 1.817 MB / 1.18 GB, free: 10.29 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002537/0.9231, allocations: 0.8436 MB / 1.18 GB, free: 9.648 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002454/0.9255, allocations: 1.047 MB / 1.181 GB, free: 8.852 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003762/0.9293, allocations: 3.569 MB / 1.185 GB, free: 6.703 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001313/0.9306, allocations: 0.9081 MB / 1.186 GB, free: 6.148 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00169/0.9323, allocations: 1.168 MB / 1.187 GB, free: 5.48 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001636/0.934, allocations: 1.052 MB / 1.188 GB, free: 4.777 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002561/0.9342, allocations: 194.9 kB / 1.188 GB, free: 4.777 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003749/0.938, allocations: 2.248 MB / 1.19 GB, free: 3.637 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001538/0.9396, allocations: 1.913 MB / 1.192 GB, free: 2.742 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001269/0.9408, allocations: 1.177 MB / 1.193 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.005849/0.9467, allocations: 4.418 MB / 1.198 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.9467, allocations: 3.938 kB / 1.198 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9467, allocations: 2.531 kB / 1.198 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.646e-05/0.9468, allocations: 0 / 1.198 GB, free: 15.05 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.004921/0.9517, allocations: 2.985 MB / 1.201 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.9518, allocations: 11.27 kB / 1.201 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000808/0.9526, allocations: 305.8 kB / 1.201 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004676/0.9573, allocations: 4.59 MB / 1.205 GB, free: 9.824 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/0.9574, allocations: 138.4 kB / 1.205 GB, free: 9.688 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002311/0.9576, allocations: 176 kB / 1.206 GB, free: 9.516 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002425/0.96, allocations: 1.668 MB / 1.207 GB, free: 7.785 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/0.9601, allocations: 0 / 1.207 GB, free: 7.785 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001256/0.9602, allocations: 48 kB / 1.207 GB, free: 7.738 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.49e-05/0.9602, allocations: 28 kB / 1.207 GB, free: 7.711 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002528/0.9628, allocations: 1.726 MB / 1.209 GB, free: 5.977 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01032/0.9731, allocations: 7.379 MB / 1.216 GB, free: 14.42 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002464/0.9756, allocations: 1.584 MB / 1.218 GB, free: 12.83 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001258/0.9769, allocations: 1.039 MB / 1.219 GB, free: 11.79 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.744e-05/0.977, allocations: 37.17 kB / 1.219 GB, free: 11.75 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001414/0.9784, allocations: 0.9734 MB / 1.22 GB, free: 10.77 MB / 0.92 GB Notification: Performance of pre-optimization done (n=118): time 4.638e-06/0.9784, allocations: 4 kB / 1.22 GB, free: 10.76 MB / 0.92 GB Notification: Performance of matching and sorting (n=118): time 0.00462/0.9831, allocations: 2.847 MB / 1.223 GB, free: 7.902 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002756/0.9834, allocations: 346.5 kB / 1.223 GB, free: 7.516 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009496/0.9929, allocations: 7.392 MB / 1.23 GB, free: 76 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.000243/0.9931, allocations: 69.7 kB / 1.23 GB, free: 0 / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006761/0.9938, allocations: 0.7844 MB / 1.231 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003183/0.9941, allocations: 394.4 kB / 1.231 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001571/0.9957, allocations: 1.888 MB / 1.233 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.892e-05/0.9958, allocations: 305.1 kB / 1.233 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01124/1.007, allocations: 12.99 MB / 1.246 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0128/1.02, allocations: 13.7 MB / 1.26 GB, free: 1.738 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01623/1.036, allocations: 17.09 MB / 1.276 GB, free: 376 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-05/1.036, allocations: 0 / 1.276 GB, free: 376 kB / 0.9669 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.0305/1.067, allocations: 31.27 MB / 1.307 GB, free: 0.8984 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002519/1.067, allocations: 181.6 kB / 1.307 GB, free: 0.7148 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.224e-05/1.067, allocations: 12 kB / 1.307 GB, free: 0.7031 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.849e-05/1.067, allocations: 20 kB / 1.307 GB, free: 0.6836 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001978/1.069, allocations: 483.2 kB / 1.307 GB, free: 216 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.141e-05/1.069, allocations: 23.94 kB / 1.307 GB, free: 192 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001735/1.071, allocations: 286.9 kB / 1.308 GB, free: 15.91 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001973/1.071, allocations: 108 kB / 1.308 GB, free: 15.8 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.001436/1.073, allocations: 1.228 MB / 1.309 GB, free: 14.56 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003135/1.073, allocations: 189.5 kB / 1.309 GB, free: 14.37 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003928/1.077, allocations: 2.742 MB / 1.312 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/1.077, allocations: 8 kB / 1.312 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/1.077, allocations: 0 / 1.312 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/1.077, allocations: 11.97 kB / 1.312 GB, free: 11.59 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001762/1.079, allocations: 1.484 MB / 1.313 GB, free: 10.05 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/1.079, allocations: 0 / 1.313 GB, free: 10.05 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006697/1.079, allocations: 159.8 kB / 1.313 GB, free: 9.895 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-06/1.079, allocations: 4 kB / 1.314 GB, free: 9.891 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.096e-05/1.079, allocations: 35.97 kB / 1.314 GB, free: 9.855 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.125e-06/1.079, allocations: 11.94 kB / 1.314 GB, free: 9.844 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/1.079, allocations: 0 / 1.314 GB, free: 9.844 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003377/1.083, allocations: 2.636 MB / 1.316 GB, free: 7.18 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007225/1.084, allocations: 426.3 kB / 1.317 GB, free: 6.742 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002127/1.084, allocations: 35.84 kB / 1.317 GB, free: 6.707 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008026/1.085, allocations: 75.92 kB / 1.317 GB, free: 6.633 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001808/1.085, allocations: 80.89 kB / 1.317 GB, free: 6.555 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001074/1.085, allocations: 51.97 kB / 1.317 GB, free: 6.504 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.004284/1.089, allocations: 4.644 MB / 1.321 GB, free: 1.836 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.61e-07/1.089, allocations: 0 / 1.321 GB, free: 1.836 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002937/1.092, allocations: 1.214 MB / 1.322 GB, free: 0.6211 MB / 1.014 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.002279/1.094, allocations: 0.9576 MB / 1.323 GB, free: 15.84 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.01706/1.111, allocations: 18.98 MB / 1.342 GB, free: 12.85 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/1.112, allocations: 4.312 kB / 1.342 GB, free: 12.84 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.002364/1.114, allocations: 2.247 MB / 1.344 GB, free: 10.59 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001648/1.116, allocations: 380.3 kB / 1.345 GB, free: 10.23 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/1.126, allocations: 8.492 MB / 1.353 GB, free: 1.711 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002057/1.128, allocations: 2.351 MB / 1.355 GB, free: 15.33 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.00129/1.129, allocations: 448.9 kB / 1.356 GB, free: 14.89 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003967/1.13, allocations: 163.4 kB / 1.356 GB, free: 14.73 MB / 1.061 GB Notification: Performance of SimCode: time 9.22e-07/1.13, allocations: 4 kB / 1.356 GB, free: 14.72 MB / 1.061 GB Notification: Performance of Templates: time 0.08085/1.211, allocations: 36.43 MB / 1.391 GB, free: 10.5 MB / 1.092 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 -s gbode -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/jenkins1/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